Paparazzi UAS  v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
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

◆ TRAJ_MAX_BANK

#define TRAJ_MAX_BANK   (int32_t)ANGLE_BFP_OF_REAL(GUIDANCE_H_MAX_BANK)

Definition at line 39 of file stabilization_attitude_passthrough.c.

Function Documentation

◆ stabilization_attitude_enter()

void stabilization_attitude_enter ( void  )

Definition at line 55 of file stabilization_attitude_passthrough.c.

◆ stabilization_attitude_init()

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.

◆ stabilization_attitude_read_rc()

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:

◆ stabilization_attitude_run()

void stabilization_attitude_run ( bool  in_flight)

◆ stabilization_attitude_set_earth_cmd_i()

void stabilization_attitude_set_earth_cmd_i ( struct Int32Vect2 cmd,
int32_t  heading 
)

◆ stabilization_attitude_set_failsafe_setpoint()

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:

◆ stabilization_attitude_set_rpy_setpoint_i()

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

◆ stab_att_sp_euler