Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
intermcu_ap.h File Reference

Rotorcraft Inter-MCU on the autopilot. More...

#include "subsystems/intermcu.h"
#include "generated/airframe.h"
+ Include dependency graph for intermcu_ap.h:
+ This graph shows which files directly or indirectly include this file:

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))
 

Detailed Description

Rotorcraft Inter-MCU on the autopilot.

Definition in file intermcu_ap.h.

Macro Definition Documentation

#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.

Function Documentation

void intermcu_set_actuators ( pprz_t command_values,
uint8_t  ap_mode 
)

Definition at line 59 of file intermcu_ap.c.

References INTERMCU_AP, intermcu_transport, and pprz_transport::trans_tx.

Referenced by main_periodic().

+ Here is the caller graph for this function:

void RadioControlEvent ( void(*)(void)  frame_handler)