Paparazzi UAS
v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
|
Rotorcraft Inter-MCU on the autopilot. More...
Go to the source code of this file.
Macros | |
#define | RADIO_THROTTLE 0 |
#define | RADIO_ROLL 1 |
#define | RADIO_PITCH 2 |
#define | RADIO_YAW 3 |
#define | RADIO_GEAR 4 |
#define | RADIO_FLAP 5 |
#define | RADIO_AUX1 5 |
#define | RADIO_AUX2 6 |
#define | RADIO_AUX3 7 |
#define | RADIO_CONTROL_NB_CHANNEL 8 |
#define | RADIO_MODE RADIO_GEAR |
Functions | |
void | intermcu_set_actuators (pprz_t *command_values, uint8_t ap_mode) |
void | RadioControlEvent (void(*frame_handler)(void)) |
Rotorcraft Inter-MCU on the autopilot.
Definition in file intermcu_ap.h.
#define RADIO_AUX1 5 |
Definition at line 43 of file intermcu_ap.h.
#define RADIO_AUX2 6 |
Definition at line 44 of file intermcu_ap.h.
#define RADIO_AUX3 7 |
Definition at line 45 of file intermcu_ap.h.
#define RADIO_CONTROL_NB_CHANNEL 8 |
Definition at line 46 of file intermcu_ap.h.
#define RADIO_FLAP 5 |
Definition at line 42 of file intermcu_ap.h.
#define RADIO_GEAR 4 |
Definition at line 41 of file intermcu_ap.h.
#define RADIO_MODE RADIO_GEAR |
Definition at line 49 of file intermcu_ap.h.
#define RADIO_PITCH 2 |
Definition at line 39 of file intermcu_ap.h.
#define RADIO_ROLL 1 |
Definition at line 38 of file intermcu_ap.h.
#define RADIO_THROTTLE 0 |
Definition at line 37 of file intermcu_ap.h.
#define RADIO_YAW 3 |
Definition at line 40 of file intermcu_ap.h.
Definition at line 59 of file intermcu_ap.c.
References INTERMCU_AP, intermcu_transport, and pprz_transport::trans_tx.
Referenced by main_periodic().
void RadioControlEvent | ( | void(*)(void) | frame_handler | ) |
Definition at line 93 of file intermcu_ap.c.
References link_device::char_available, link_device::get_byte, intermcu_parse_msg(), intermcu_transport, transport_rx::msg_received, parse_pprz(), link_device::periph, and pprz_transport::trans_rx.