Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
intermcu_fbw.h File Reference

Rotorcraft Inter-MCU on FlyByWire. More...

+ Include dependency graph for intermcu_fbw.h:
+ This graph shows which files directly or indirectly include this file:

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_on_rc_frame (uint8_t fbw_mode)
 
void intermcu_send_status (uint8_t mode)
 
void InterMcuEvent (void(*frame_handler)(void))
 

Variables

bool autopilot_motors_on
 
pprz_t intermcu_commands [COMMANDS_NB]
 

Detailed Description

Rotorcraft Inter-MCU on FlyByWire.

Definition in file intermcu_fbw.h.

Macro Definition Documentation

#define INTERMCU_RADIO_AUX1   5

Definition at line 46 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_AUX2   6

Definition at line 47 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_AUX3   7

Definition at line 48 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_CONTROL_NB_CHANNEL   8

Definition at line 49 of file intermcu_fbw.h.

#define INTERMCU_RADIO_KILL_SWITCH   5

Definition at line 45 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_MODE   4

Definition at line 44 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_PITCH   2

Definition at line 42 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_ROLL   1

Definition at line 41 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_THROTTLE   0

Definition at line 40 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

#define INTERMCU_RADIO_YAW   3

Definition at line 43 of file intermcu_fbw.h.

Referenced by intermcu_on_rc_frame().

Function Documentation

void intermcu_send_status ( uint8_t  mode)
void InterMcuEvent ( void(*)(void)  frame_handler)

Definition at line 175 of file intermcu_fbw.c.

References intermcu_t::device, imcu_msg_buf, intermcu_parse_msg(), intermcu_t::msg_available, and intermcu_t::transport.

Referenced by main_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

pprz_t intermcu_commands[COMMANDS_NB]

Definition at line 61 of file intermcu_fbw.c.

Referenced by fbw_on_ap_command().