Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
#include "generated/airframe.h"
#include "firmwares/rotorcraft/stabilization/stabilization_attitude_ref_euler_float.h"
#include "firmwares/rotorcraft/stabilization/stabilization_attitude_ref_defaults.h"
Go to the source code of this file.
Functions | |
static void | reset_psi_ref (struct AttRefEulerFloat *ref, float psi) |
void | attitude_ref_euler_float_init (struct AttRefEulerFloat *ref) |
void | attitude_ref_euler_float_enter (struct AttRefEulerFloat *ref, float psi) |
void | attitude_ref_euler_float_update (struct AttRefEulerFloat *ref, struct FloatEulers *sp_eulers, float dt) |
Rotorcraft attitude reference generation in euler float version.
Definition in file stabilization_attitude_ref_euler_float.c.
void attitude_ref_euler_float_enter | ( | struct AttRefEulerFloat * | ref, |
float | psi | ||
) |
Definition at line 62 of file stabilization_attitude_ref_euler_float.c.
References ref, and reset_psi_ref().
Referenced by stabilization_attitude_enter().
void attitude_ref_euler_float_init | ( | struct AttRefEulerFloat * | ref | ) |
Definition at line 41 of file stabilization_attitude_ref_euler_float.c.
References FLOAT_EULERS_ZERO, FLOAT_RATES_ZERO, ref, STABILIZATION_ATTITUDE_REF_MAX_P, STABILIZATION_ATTITUDE_REF_MAX_PDOT, STABILIZATION_ATTITUDE_REF_MAX_Q, STABILIZATION_ATTITUDE_REF_MAX_QDOT, STABILIZATION_ATTITUDE_REF_MAX_R, and STABILIZATION_ATTITUDE_REF_MAX_RDOT.
Referenced by stabilization_attitude_init().
void attitude_ref_euler_float_update | ( | struct AttRefEulerFloat * | ref, |
struct FloatEulers * | sp_eulers, | ||
float | dt | ||
) |
Definition at line 67 of file stabilization_attitude_ref_euler_float.c.
References attitude_ref_float_saturate_naive(), EULERS_ADD, EULERS_ASSIGN, EULERS_DIFF, FLOAT_ANGLE_NORMALIZE, FloatRates::p, FloatEulers::phi, FloatEulers::psi, FloatRates::q, FloatRates::r, RATES_ADD, RATES_SMUL, ref, and FloatEulers::theta.
Referenced by stabilization_attitude_run().
|
inlinestatic |
Definition at line 106 of file stabilization_attitude_ref_euler_float.c.
References FloatEulers::psi, and ref.
Referenced by attitude_ref_euler_float_enter().