Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
radio_control.h File Reference
#include "led.h"
#include "generated/airframe.h"
#include "paparazzi.h"
#include <RADIO_CONTROL_TYPE_H>
+ Include dependency graph for radio_control.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RadioControl
 

Macros

#define RC_AVG_PERIOD   8 /* TODO remove if IIR filter is used */
 
#define RC_LOST_TIME   30 /* 500ms with a 60Hz timer */
 
#define RC_REALLY_LOST_TIME   60 /* ~1s */
 
#define RC_OK_CPT   15
 
#define RC_OK   0
 
#define RC_LOST   1
 
#define RC_REALLY_LOST   2
 

Functions

void radio_control_impl_init (void)
 
static void radio_control_init (void)
 
static void radio_control_periodic_task (void)
 

Variables

struct RadioControl radio_control
 

Macro Definition Documentation

#define RC_AVG_PERIOD   8 /* TODO remove if IIR filter is used */

Definition at line 39 of file radio_control.h.

#define RC_LOST   1

Definition at line 46 of file radio_control.h.

Referenced by radio_control_periodic_task().

#define RC_LOST_TIME   30 /* 500ms with a 60Hz timer */

Definition at line 40 of file radio_control.h.

Referenced by radio_control_periodic_task().

#define RC_OK_CPT   15

Definition at line 43 of file radio_control.h.

Referenced by radio_control_periodic_task().

#define RC_REALLY_LOST   2
#define RC_REALLY_LOST_TIME   60 /* ~1s */

Definition at line 41 of file radio_control.h.

Referenced by radio_control_init(), and radio_control_periodic_task().

Function Documentation

static void radio_control_init ( void  )
inlinestatic
static void radio_control_periodic_task ( void  )
inlinestatic

Variable Documentation