23 #ifndef RADIO_CONTROL_H
24 #define RADIO_CONTROL_H
27 #include "generated/airframe.h"
31 #include RADIO_CONTROL_TYPE_H
37 #if defined RADIO_CONTROL
43 #define RC_AVG_PERIOD 8
46 #define RC_LOST_TIME 30
48 #ifndef RC_REALLY_LOST_TIME
49 #define RC_REALLY_LOST_TIME 60
58 #define RC_REALLY_LOST 2
61 #define RCValue(_x) radio_control.values[_x]
74 #define RadioControlValues(_chan) radio_control.values[_chan]
75 extern void radio_control_init(void);
pprz_t values[RADIO_CONTROL_NB_CHANNEL]
#define RADIO_CONTROL_NB_CHANNEL
void radio_control_impl_init(void)
Main Radio initialization.
arch independent LED (Light Emitting Diodes) API
uint8_t time_since_last_frame
void radio_control_periodic_task(void)
struct RadioControl radio_control