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
stabilization_attitude.h File Reference

General attitude stabilization interface for rotorcrafts. More...

#include <STABILIZATION_ATTITUDE_TYPE_H>
+ Include dependency graph for stabilization_attitude.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void stabilization_attitude_init (void)
 
void stabilization_attitude_read_rc (bool_t in_flight)
 
void stabilization_attitude_enter (void)
 
void stabilization_attitude_set_failsafe_setpoint (void)
 
void stabilization_attitude_set_from_eulers_i (struct Int32Eulers *sp_euler)
 
void stabilization_attitude_run (bool_t in_flight)
 

Detailed Description

General attitude stabilization interface for rotorcrafts.

The actual implementation is automatically included.

Definition in file stabilization_attitude.h.

Function Documentation

void stabilization_attitude_read_rc ( bool_t  in_flight)
void stabilization_attitude_run ( bool_t  in_flight)

Definition at line 96 of file stabilization_attitude_euler_float.c.

References attitude_run_fb(), attitude_run_ff(), CMD_SHIFT, Int32AttitudeGains::d, FloatAttitudeGains::d, Int32AttitudeGains::dd, FloatAttitudeGains::dd, EULERS_ADD, EULERS_BOUND_CUBE, EULERS_DIFF, FLOAT_ANGLE_NORMALIZE, FLOAT_EULERS_OF_QUAT, FLOAT_EULERS_ZERO, FLOAT_QUAT_COMP, FLOAT_QUAT_COPY, FLOAT_QUAT_INV_COMP, FLOAT_QUAT_NORMALIZE, FLOAT_QUAT_WRAP_SHORTEST, FLOAT_QUAT_ZERO, gain_idx, Int32AttitudeGains::i, FloatAttitudeGains::i, IERROR_SCALE, INT32_ANGLE_FRAC, INT32_ANGLE_NORMALIZE, INT32_EULERS_OF_QUAT, INT32_QUAT_COMP, INT32_QUAT_INV_COMP, INT32_QUAT_NORMALIZE, INT32_QUAT_WRAP_SHORTEST, INT32_QUAT_ZERO, INT32_RATE_FRAC, INT_EULERS_ZERO, last_body_rate, MAX_PPRZ, MAX_SUM_ERR, OFFSET_AND_ROUND, OFFSET_AND_ROUND2, Int32AttitudeGains::p, FloatAttitudeGains::p, FloatRates::p, Int32Rates::p, FloatEulers::phi, Int32Eulers::phi, FloatEulers::psi, Int32Eulers::psi, FloatRates::q, Int32Rates::q, FloatQuat::qi, Int32Quat::qi, QUAT_COPY, FloatQuat::qx, Int32Quat::qx, FloatQuat::qy, Int32Quat::qy, FloatQuat::qz, Int32Quat::qz, FloatRates::r, Int32Rates::r, RATES_COPY, RATES_DIFF, REF_ANGLE_FRAC, REF_RATE_FRAC, stab_att_ref_accel, stab_att_ref_euler, stab_att_ref_quat, stab_att_ref_rate, stab_att_sp_euler, stabilization_att_fb_cmd, stabilization_att_ff_cmd, stabilization_att_sum_err, stabilization_att_sum_err_eulers, stabilization_att_sum_err_quat, stabilization_attitude_ref_update(), stabilization_cmd, stabilization_gains, stateGetBodyRates_f(), stateGetBodyRates_i(), stateGetNedToBodyEulers_f(), stateGetNedToBodyEulers_i(), stateGetNedToBodyQuat_f(), stateGetNedToBodyQuat_i(), FloatEulers::theta, Int32Eulers::theta, TRAJ_MAX_BANK, FloatVect3::x, Int32Vect3::x, FloatVect3::y, Int32Vect3::y, FloatVect3::z, and Int32Vect3::z.

Referenced by guidance_h_run().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stabilization_attitude_set_from_eulers_i ( struct Int32Eulers sp_euler)