dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_can.h File Reference

PiOS CAN interface header. More...

#include "pios_queue.h"

Go to the source code of this file.

Data Structures

struct  pios_can_gimbal_message
 Message to tell gimbal the desired setpoint and FC state. More...
 

Enumerations

enum  pios_can_messages { PIOS_CAN_GIMBAL = 0, PIOS_CAN_LAST = 1 }
 The set of CAN messages. More...
 

Functions

struct pios_can_gimbal_message __attribute__ ((packed))
 
int32_t PIOS_CAN_TxData (uintptr_t id, enum pios_can_messages, uint8_t *data)
 Transmit a data message with a particular message ID. More...
 
struct pios_queuePIOS_CAN_RegisterMessageQueue (uintptr_t id, enum pios_can_messages msg_id)
 Get a queue to receive messages of a particular message ID. More...
 

Variables

enum pios_can_messages __attribute__
 
int8_t fc_roll
 
int8_t fc_pitch
 
uint8_t fc_yaw
 
int8_t setpoint_roll
 
int8_t setpoint_pitch
 
uint8_t setpoint_yaw
 

Detailed Description

PiOS CAN interface header.

Author
Tau Labs, http://taulabs.org, Copyright (C) 2013-2014
See Also
The GNU Public License (GPL) Version 3

Definition in file pios_can.h.

Variable Documentation

int8_t fc_pitch

Definition at line 61 of file pios_can.h.

int8_t fc_roll

Definition at line 60 of file pios_can.h.

uint8_t fc_yaw

Definition at line 62 of file pios_can.h.

int8_t setpoint_pitch

Definition at line 64 of file pios_can.h.

int8_t setpoint_roll

Definition at line 63 of file pios_can.h.

uint8_t setpoint_yaw

Definition at line 65 of file pios_can.h.