|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
30 #ifndef STABILIZATION_ATTITUDE_REF_QUAT_FLOAT_H
31 #define STABILIZATION_ATTITUDE_REF_QUAT_FLOAT_H
33 #include "generated/airframe.h"
37 #ifndef STABILIZATION_ATTITUDE_GAIN_NB
38 #define STABILIZATION_ATTITUDE_GAIN_NB 1
void attitude_ref_quat_float_idx_set_omega_q(struct AttRefQuatFloat *ref, uint8_t idx, float omega)
void attitude_ref_quat_float_enter(struct AttRefQuatFloat *ref, struct FloatQuat *state_quat)
Paparazzi floating point algebra.
void attitude_ref_quat_float_idx_set_omega_p(struct AttRefQuatFloat *ref, uint8_t idx, float omega)
struct FloatRefModel model[STABILIZATION_ATTITUDE_GAIN_NB]
Attitude reference model parameters (float)
struct FloatRates two_omega2
cached value of 2*omega*omega
void attitude_ref_quat_float_set_omega_q(struct AttRefQuatFloat *ref, float omega)
void attitude_ref_quat_float_set_omega_r(struct AttRefQuatFloat *ref, float omega)
void attitude_ref_quat_float_set_omega_p(struct AttRefQuatFloat *ref, float omega)
Attitude reference models and state/output (float)
#define STABILIZATION_ATTITUDE_GAIN_NB
void attitude_ref_quat_float_init(struct AttRefQuatFloat *ref)
void attitude_ref_quat_float_schedule(struct AttRefQuatFloat *ref, uint8_t idx)
struct FloatRefSat saturation
void attitude_ref_quat_float_idx_set_omega_r(struct AttRefQuatFloat *ref, uint8_t idx, float omega)
void attitude_ref_quat_float_update(struct AttRefQuatFloat *ref, struct FloatQuat *sp_quat, float dt)