34 #ifndef STABILIZATION_INDI_SIMPLE_H
35 #define STABILIZATION_INDI_SIMPLE_H
bool adaptive
Enable adataptive estimation.
struct ReferenceSystem reference_acceleration
void stabilization_indi_set_rpy_setpoint_i(struct Int32Eulers *rpy)
Set attitude quaternion setpoint from rpy.
Simple first order low pass filter with bilinear transform.
float max_rate
Maximum rate in rate control in rad/s.
void stabilization_indi_init(void)
Function that initializes important values upon engaging INDI.
void stabilization_indi_set_earth_cmd_i(struct Int32Vect2 *cmd, int32_t heading)
Set attitude setpoint from command in earth axes.
void stabilization_indi_set_failsafe_setpoint(void)
Function that calculates the failsafe setpoint.
Butterworth2LowPass rate[3]
Butterworth2LowPass rate[3]
struct Int32Quat stab_att_sp_quat
with INT32_QUAT_FRAC
struct IndiEstimation est
Estimation parameters for adaptive INDI.
struct IndiVariables indi
void stabilization_indi_run(bool enable_integrator, bool rate_control)
runs stabilization indi
struct FloatRates angular_accel_ref
void stabilization_indi_read_rc(bool in_flight, bool in_carefree, bool coordinated_turn)
This function reads rc commands.
void stabilization_indi_enter(void)
Function that resets important values upon engaging INDI.
Second order low pass filter structure.
struct Int32Eulers stab_att_sp_euler
with INT32_ANGLE_FRAC
float attitude_max_yaw_rate
Maximum yaw rate in atttiude control in rad/s.
Rotorcraft attitude reference generation.
struct FloatRates u_act_dyn