28 #include "generated/airframe.h"
47 ref->
model.
omega.
p = STABILIZATION_ATTITUDE_REF_OMEGA_P;
48 ref->
model.
omega.
q = STABILIZATION_ATTITUDE_REF_OMEGA_Q;
49 ref->
model.
omega.
r = STABILIZATION_ATTITUDE_REF_OMEGA_R;
50 ref->
model.
zeta.
p = STABILIZATION_ATTITUDE_REF_ZETA_P;
51 ref->
model.
zeta.
q = STABILIZATION_ATTITUDE_REF_ZETA_Q;
52 ref->
model.
zeta.
r = STABILIZATION_ATTITUDE_REF_ZETA_R;
#define FLOAT_ANGLE_NORMALIZE(_a)
void attitude_ref_euler_float_enter(struct AttRefEulerFloat *ref, float psi)
#define RATES_ADD(_a, _b)
#define FLOAT_EULERS_ZERO(_e)
#define FLOAT_RATES_ZERO(_r)
#define STABILIZATION_ATTITUDE_REF_MAX_QDOT
#define EULERS_ASSIGN(_e, _phi, _theta, _psi)
#define STABILIZATION_ATTITUDE_REF_MAX_RDOT
struct FloatRefModel model
static void attitude_ref_float_saturate_naive(struct FloatRates *rate, struct FloatRates *accel, struct FloatRefSat *sat)
struct FloatRates max_rate
Attitude reference state/output (euler float)
void attitude_ref_euler_float_update(struct AttRefEulerFloat *ref, struct FloatEulers *sp_eulers, float dt)
#define RATES_SMUL(_ro, _ri, _s)
void attitude_ref_euler_float_init(struct AttRefEulerFloat *ref)
static void reset_psi_ref(struct AttRefEulerFloat *ref, float psi)
Default values for attitude reference saturation.
#define EULERS_DIFF(_c, _a, _b)
struct FloatRefSat saturation
struct FloatRates max_accel
#define STABILIZATION_ATTITUDE_REF_MAX_R
#define EULERS_ADD(_a, _b)
#define STABILIZATION_ATTITUDE_REF_MAX_Q
#define STABILIZATION_ATTITUDE_REF_MAX_PDOT
#define STABILIZATION_ATTITUDE_REF_MAX_P