27 #ifndef INTERMCU_FBW_ROTORCRAFT_H
28 #define INTERMCU_FBW_ROTORCRAFT_H
40 #define INTERMCU_RADIO_THROTTLE 0
41 #define INTERMCU_RADIO_ROLL 1
42 #define INTERMCU_RADIO_PITCH 2
43 #define INTERMCU_RADIO_YAW 3
44 #define INTERMCU_RADIO_MODE 4
45 #define INTERMCU_RADIO_KILL_SWITCH 5
46 #define INTERMCU_RADIO_AUX1 5
47 #define INTERMCU_RADIO_AUX2 6
48 #define INTERMCU_RADIO_AUX3 7
49 #define INTERMCU_RADIO_CONTROL_NB_CHANNEL 8
void InterMcuEvent(void(*frame_handler)(void))
void intermcu_on_rc_frame(uint8_t fbw_mode)
Rotorcraft Inter-MCU interface.
static uint8_t mode
mode holds the current sonar mode mode = 0 used at high altitude, uses 16 wave patterns mode = 1 used...
void intermcu_send_status(uint8_t mode)
pprz_t intermcu_commands[COMMANDS_NB]