Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
stabilization_attitude_rc_setpoint.h File Reference

Read an attitude setpoint from the RC. More...

#include "std.h"
#include "generated/airframe.h"
#include "math/pprz_algebra_int.h"
#include "math/pprz_algebra_float.h"
#include "subsystems/radio_control.h"
#include "subsystems/ahrs.h"
+ Include dependency graph for stabilization_attitude_rc_setpoint.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RC_UPDATE_FREQ   40
 
#define ROLL_DEADBAND_EXCEEDED()   (TRUE)
 
#define PITCH_DEADBAND_EXCEEDED()   (TRUE)
 
#define YAW_DEADBAND_EXCEEDED()
 

Functions

static void stabilization_attitude_read_rc_setpoint_eulers (struct Int32Eulers *sp, bool_t in_flight)
 

Detailed Description

Read an attitude setpoint from the RC.

Definition in file stabilization_attitude_rc_setpoint.h.

Macro Definition Documentation

#define PITCH_DEADBAND_EXCEEDED ( )    (TRUE)

Definition at line 64 of file stabilization_attitude_rc_setpoint.h.

#define ROLL_DEADBAND_EXCEEDED ( )    (TRUE)

Definition at line 56 of file stabilization_attitude_rc_setpoint.h.

#define YAW_DEADBAND_EXCEEDED ( )
Value:
(radio_control.values[RADIO_YAW] > STABILIZATION_ATTITUDE_DEADBAND_R || \
radio_control.values[RADIO_YAW] < -STABILIZATION_ATTITUDE_DEADBAND_R)
struct RadioControl radio_control
Definition: radio_control.c:27
#define RADIO_YAW
Definition: spektrum_arch.h:43

Definition at line 67 of file stabilization_attitude_rc_setpoint.h.

Referenced by stabilization_attitude_read_rc_setpoint_eulers().

Function Documentation

static void stabilization_attitude_read_rc_setpoint_eulers ( struct Int32Eulers sp,
bool_t  in_flight 
)
inlinestatic