Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
rc_intermcu.h File Reference

Radio control input via intermcu. More...

#include "std.h"
+ Include dependency graph for rc_intermcu.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_MODE   4
 
#define RADIO_KILL_SWITCH   5
 
#define RADIO_AUX1   5
 
#define RADIO_AUX2   6
 
#define RADIO_AUX3   7
 
#define RC_IMCU_NB_CHANNEL   8
 

Functions

void rc_intermcu_init (void)
 RC init function. More...
 
void rc_intermcu_parse_msg (uint8_t *buf)
 Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a single message. More...
 
void rc_intermcu_parse_fbw_status (uint8_t *buf)
 

Detailed Description

Radio control input via intermcu.

Definition in file rc_intermcu.h.

Macro Definition Documentation

◆ RADIO_AUX1

#define RADIO_AUX1   5

Definition at line 41 of file rc_intermcu.h.

◆ RADIO_AUX2

#define RADIO_AUX2   6

Definition at line 42 of file rc_intermcu.h.

◆ RADIO_AUX3

#define RADIO_AUX3   7

Definition at line 43 of file rc_intermcu.h.

◆ RADIO_KILL_SWITCH

#define RADIO_KILL_SWITCH   5

Definition at line 40 of file rc_intermcu.h.

◆ RADIO_MODE

#define RADIO_MODE   4

Definition at line 39 of file rc_intermcu.h.

◆ RADIO_PITCH

#define RADIO_PITCH   2

Definition at line 37 of file rc_intermcu.h.

◆ RADIO_ROLL

#define RADIO_ROLL   1

Definition at line 36 of file rc_intermcu.h.

◆ RADIO_THROTTLE

#define RADIO_THROTTLE   0

Definition at line 35 of file rc_intermcu.h.

◆ RADIO_YAW

#define RADIO_YAW   3

Definition at line 38 of file rc_intermcu.h.

◆ RC_IMCU_NB_CHANNEL

#define RC_IMCU_NB_CHANNEL   8

Definition at line 45 of file rc_intermcu.h.

Function Documentation

◆ rc_intermcu_init()

void rc_intermcu_init ( void  )

◆ rc_intermcu_parse_fbw_status()

void rc_intermcu_parse_fbw_status ( uint8_t buf)

◆ rc_intermcu_parse_msg()

void rc_intermcu_parse_msg ( uint8_t buf)

Decode intermcu message to get rc values and FBW status for RC status and frame rate TODO make a single message.

Definition at line 51 of file rc_intermcu.c.

References RadioControl::frame_cpt, radio_control, RADIO_CONTROL_INTERMCU_ID, RadioControl::radio_ok_cpt, rc_intermcu, RC_OK, RadioControl::status, RadioControl::time_since_last_frame, RadioControl::values, and _rc_intermcu::values.