Paparazzi UAS  v5.15_devel-112-g521f3cf
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stabilization_attitude_passthrough.c File Reference

passthrough attitude stabilization More...

+ Include dependency graph for stabilization_attitude_passthrough.c:

Go to the source code of this file.

Macros

#define TRAJ_MAX_BANK   (int32_t)ANGLE_BFP_OF_REAL(GUIDANCE_H_MAX_BANK)
 

Functions

void stabilization_attitude_init (void)
 stabilization_attitude_init More...
 
void stabilization_attitude_read_rc (bool in_flight, bool in_carefree, bool coordinated_turn)
 
void stabilization_attitude_enter (void)
 
void stabilization_attitude_run (bool in_flight)
 
void stabilization_attitude_set_failsafe_setpoint (void)
 
void stabilization_attitude_set_rpy_setpoint_i (struct Int32Eulers *rpy)
 
void stabilization_attitude_set_earth_cmd_i (struct Int32Vect2 *cmd, int32_t heading)
 

Variables

struct Int32Eulers stab_att_sp_euler
 with INT32_ANGLE_FRAC More...
 

Detailed Description

passthrough attitude stabilization

This is useful for instance when having an AC that has needs no stabilization because it is already been done by other stabilization software onboard or just does not need it at all.

Definition in file stabilization_attitude_passthrough.c.

Macro Definition Documentation

#define TRAJ_MAX_BANK   (int32_t)ANGLE_BFP_OF_REAL(GUIDANCE_H_MAX_BANK)

Definition at line 39 of file stabilization_attitude_passthrough.c.

Referenced by stabilization_attitude_run().

Function Documentation

void stabilization_attitude_enter ( void  )

Definition at line 55 of file stabilization_attitude_passthrough.c.

void stabilization_attitude_init ( void  )

stabilization_attitude_init

Initialize the heli indi attitude controller.

Definition at line 44 of file stabilization_attitude_passthrough.c.

References INT_EULERS_ZERO, and stab_att_sp_euler.

void stabilization_attitude_read_rc ( bool  in_flight,
bool  in_carefree,
bool  coordinated_turn 
)

Definition at line 49 of file stabilization_attitude_passthrough.c.

References stab_att_sp_euler, and stabilization_attitude_read_rc_setpoint_eulers().

+ Here is the call graph for this function:

void stabilization_attitude_run ( bool  in_flight)
void stabilization_attitude_set_earth_cmd_i ( struct Int32Vect2 cmd,
int32_t  heading 
)
void stabilization_attitude_set_failsafe_setpoint ( void  )

Definition at line 79 of file stabilization_attitude_passthrough.c.

References Int32Eulers::phi, Int32Eulers::psi, stab_att_sp_euler, stateGetNedToBodyEulers_i(), and Int32Eulers::theta.

+ Here is the call graph for this function:

void stabilization_attitude_set_rpy_setpoint_i ( struct Int32Eulers rpy)

Definition at line 86 of file stabilization_attitude_passthrough.c.

References stab_att_sp_euler.

Variable Documentation