Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rc_datalink.c File Reference
+ Include dependency graph for rc_datalink.c:

Go to the source code of this file.

Functions

void radio_control_impl_init (void)
 
void parse_rc_3ch_datalink (uint8_t throttle_mode, int8_t roll, int8_t pitch)
 Decode datalink message to get rc values with RC_3CH message Mode and throttle are merge in the same byte. More...
 
void parse_rc_4ch_datalink (uint8_t mode, uint8_t throttle, int8_t roll, int8_t pitch, int8_t yaw)
 Decode datalink message to get rc values with RC_4CH message. More...
 

Variables

int8_t rc_dl_values [RC_DL_NB_CHANNEL]
 
volatile bool_t rc_dl_frame_available
 

Function Documentation

void parse_rc_3ch_datalink ( uint8_t  throttle_mode,
int8_t  roll,
int8_t  pitch 
)

Decode datalink message to get rc values with RC_3CH message Mode and throttle are merge in the same byte.

Definition at line 34 of file rc_datalink.c.

References RADIO_MODE, RADIO_PITCH, RADIO_ROLL, RADIO_THROTTLE, RADIO_YAW, rc_dl_frame_available, rc_dl_values, and TRUE.

Referenced by dl_parse_msg().

+ Here is the caller graph for this function:

void parse_rc_4ch_datalink ( uint8_t  mode,
uint8_t  throttle,
int8_t  roll,
int8_t  pitch,
int8_t  yaw 
)

Decode datalink message to get rc values with RC_4CH message.

Definition at line 50 of file rc_datalink.c.

References RADIO_MODE, RADIO_PITCH, RADIO_ROLL, RADIO_THROTTLE, RADIO_YAW, rc_dl_frame_available, rc_dl_values, and TRUE.

Referenced by dl_parse_msg().

+ Here is the caller graph for this function:

void radio_control_impl_init ( void  )

Definition at line 29 of file rc_datalink.c.

References FALSE, and rc_dl_frame_available.

Variable Documentation

volatile bool_t rc_dl_frame_available
int8_t rc_dl_values[RC_DL_NB_CHANNEL]

Definition at line 25 of file rc_datalink.c.

Referenced by parse_rc_3ch_datalink(), and parse_rc_4ch_datalink().