|
Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Radio control input via intermcu. More...
#include "modules/radio_control/rc_intermcu.h"#include "modules/radio_control/radio_control.h"#include "pprzlink/intermcu_msg.h"#include "modules/core/abi.h"Go to the source code of this file.
Data Structures | |
| struct | _rc_intermcu |
Functions | |
| void | rc_intermcu_init (void) |
| RC init function. | |
| void | rc_intermcu_parse_msg (uint8_t *buf) |
| Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a single message. | |
| void | rc_intermcu_parse_fbw_status (uint8_t *buf) |
Variables | |
| static struct _rc_intermcu | rc_intermcu |
Radio control input via intermcu.
Definition in file rc_intermcu.c.
| struct _rc_intermcu |
Definition at line 32 of file rc_intermcu.c.
| Data Fields | ||
|---|---|---|
| uint8_t | frame_rate | |
| uint8_t | status | |
| uint16_t | values[RC_IMCU_NB_CHANNEL] | |
| void rc_intermcu_init | ( | void | ) |
RC init function.
Definition at line 40 of file rc_intermcu.c.
References radio_control, RC_IMCU_NB_CHANNEL, rc_intermcu, and RC_REALLY_LOST.
| void rc_intermcu_parse_fbw_status | ( | uint8_t * | buf | ) |
Definition at line 67 of file rc_intermcu.c.
References radio_control, RADIO_CONTROL_INTERMCU_ID, and rc_intermcu.
| void rc_intermcu_parse_msg | ( | uint8_t * | buf | ) |
Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a single message.
Definition at line 51 of file rc_intermcu.c.
References radio_control, RADIO_CONTROL_INTERMCU_ID, rc_intermcu, and RC_OK.
|
static |
Definition at line 38 of file rc_intermcu.c.
Referenced by rc_intermcu_init(), rc_intermcu_parse_fbw_status(), and rc_intermcu_parse_msg().