28 #ifndef STABILIZATION_ATTITUDE_QUAT_FLOAT_H
29 #define STABILIZATION_ATTITUDE_QUAT_FLOAT_H
31 #include "generated/airframe.h"
37 #ifndef STABILIZATION_ATTITUDE_GAIN_NB
38 #define STABILIZATION_ATTITUDE_GAIN_NB 1
41 #ifndef STABILIZATION_ATTITUDE_GAIN_IDX_DEFAULT
42 #define STABILIZATION_ATTITUDE_GAIN_IDX_DEFAULT 0
54 #define stabilization_attitude_quat_float_SetOmegaP(_val) { \
55 attitude_ref_quat_float_set_omega_p(&att_ref_quat_f, _val); \
57 #define stabilization_attitude_quat_float_SetOmegaQ(_val) { \
58 attitude_ref_quat_float_set_omega_q(&att_ref_quat_f, _val); \
60 #define stabilization_attitude_quat_float_SetOmegaR(_val) { \
61 attitude_ref_quat_float_set_omega_r(&att_ref_quat_f, _val); \
General attitude stabilization interface for rotorcrafts.
Common data structures shared by euler and quaternion float implementations.
struct AttRefQuatFloat att_ref_quat_f
void stabilization_attitude_quat_float_init(void)
struct FloatAttitudeGains stabilization_gains[]
void stabilization_attitude_gain_schedule(uint8_t idx)
Rotorcraft attitude reference generation.
Attitude reference models and state/output (float)
unsigned char uint8_t
Typedef defining 8 bit unsigned char type.