Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Inter-MCU on FlyByWire side. More...
Go to the source code of this file.
Macros | |
#define | INTERMCU_RADIO_THROTTLE 0 |
#define | INTERMCU_RADIO_ROLL 1 |
#define | INTERMCU_RADIO_PITCH 2 |
#define | INTERMCU_RADIO_YAW 3 |
#define | INTERMCU_RADIO_MODE 4 |
#define | INTERMCU_RADIO_KILL_SWITCH 5 |
#define | INTERMCU_RADIO_AUX1 5 |
#define | INTERMCU_RADIO_AUX2 6 |
#define | INTERMCU_RADIO_AUX3 7 |
#define | INTERMCU_RADIO_CONTROL_NB_CHANNEL 8 |
Functions | |
void | intermcu_send_status (void) |
send fbw status message More... | |
void | intermcu_parse_IMCU_COMMANDS (uint8_t *buf) |
Datalink event functions. More... | |
void | intermcu_parse_IMCU_SPEKTRUM_SOFT_BIND (uint8_t *buf) |
void | intermcu_forward_uplink (uint8_t *buf) |
Variables | |
bool | intermcu_ap_motors_on |
pprz_t | intermcu_commands [COMMANDS_NB] |
Inter-MCU on FlyByWire side.
Definition in file intermcu_fbw.h.
#define INTERMCU_RADIO_AUX1 5 |
Definition at line 55 of file intermcu_fbw.h.
#define INTERMCU_RADIO_AUX2 6 |
Definition at line 56 of file intermcu_fbw.h.
#define INTERMCU_RADIO_AUX3 7 |
Definition at line 57 of file intermcu_fbw.h.
#define INTERMCU_RADIO_CONTROL_NB_CHANNEL 8 |
Definition at line 59 of file intermcu_fbw.h.
#define INTERMCU_RADIO_KILL_SWITCH 5 |
Definition at line 54 of file intermcu_fbw.h.
#define INTERMCU_RADIO_MODE 4 |
Definition at line 53 of file intermcu_fbw.h.
#define INTERMCU_RADIO_PITCH 2 |
Definition at line 51 of file intermcu_fbw.h.
#define INTERMCU_RADIO_ROLL 1 |
Definition at line 50 of file intermcu_fbw.h.
#define INTERMCU_RADIO_THROTTLE 0 |
Definition at line 49 of file intermcu_fbw.h.
#define INTERMCU_RADIO_YAW 3 |
Definition at line 52 of file intermcu_fbw.h.
void intermcu_forward_uplink | ( | uint8_t * | buf | ) |
Definition at line 197 of file intermcu_fbw.c.
References intermcu_t::device, intermcu, intermcu_dl_repack(), and intermcu_t::transport.
void intermcu_parse_IMCU_COMMANDS | ( | uint8_t * | buf | ) |
Datalink event functions.
Definition at line 172 of file intermcu_fbw.c.
References intermcu_t::cmd_status, intermcu, intermcu_ap_motors_on, INTERMCU_CLR_CMD_STATUS, INTERMCU_CMD_MOTORS_ON, intermcu_commands, INTERMCU_GET_CMD_STATUS, INTERMCU_OK, intermcu_t::status, and intermcu_t::time_since_last_frame.
void intermcu_parse_IMCU_SPEKTRUM_SOFT_BIND | ( | uint8_t * | buf | ) |
Definition at line 190 of file intermcu_fbw.c.
References received_spektrum_soft_bind().
void intermcu_send_status | ( | void | ) |
send fbw status message
Definition at line 157 of file intermcu_fbw.c.
References Electrical::current, intermcu_t::device, electrical, fbw_mode, RadioControl::frame_rate, intermcu, radio_control, RadioControl::status, intermcu_t::transport, and Electrical::vsupply.
|
extern |
Definition at line 67 of file intermcu_fbw.c.
Referenced by intermcu_parse_IMCU_COMMANDS(), and main_task_periodic().
|
extern |
Definition at line 66 of file intermcu_fbw.c.
Referenced by intermcu_parse_IMCU_COMMANDS(), and main_task_periodic().