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

Macros

#define stabilization_attitude_SetKiPhi(_val)
 

Functions

void stabilization_attitude_init (void)
 
void stabilization_attitude_read_rc (bool_t in_flight)
 
void stabilization_attitude_enter (void)
 
void stabilization_attitude_run (bool_t in_flight)
 
void stabilization_attitude_ref_init (void)
 
void stabilization_attitude_ref_update (void)
 

Macro Definition Documentation

#define stabilization_attitude_SetKiPhi (   _val)
Value:
{ \
}
float phi
in radians
struct FloatAttitudeGains stabilization_gains
struct FloatEulers stabilization_att_sum_err

Definition at line 39 of file stabilization_attitude.h.

Function Documentation

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

Definition at line 100 of file stabilization_attitude_euler_float.c.

References ahrs, ahrs_float, attitude_run_fb(), attitude_run_ff(), AhrsFloat::body_rate, Ahrs::body_rate, AhrsFloat::body_rate_d, CMD_SHIFT, Int32AttitudeGains::d, FloatAttitudeGains::d, Int32AttitudeGains::dd, FloatAttitudeGains::dd, EULERS_ADD, EULERS_BOUND_CUBE, EULERS_DIFF, EULERS_FLOAT_OF_BFP, 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, Ahrs::ltp_to_body_euler, AhrsFloat::ltp_to_body_quat, Ahrs::ltp_to_body_quat, 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_DIFF, RATES_FLOAT_OF_BFP, REF_ANGLE_FRAC, REF_RATE_FRAC, stab_att_ref_accel, stab_att_ref_euler, stab_att_ref_quat, stab_att_ref_rate, 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, FloatEulers::theta, Int32Eulers::theta, 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: