|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
23 #ifndef STABILIZATION_INDI
24 #define STABILIZATION_INDI
30 #define INDI_G_SCALING 1000.0
34 extern float g1g2[INDI_OUTPUTS][INDI_NUM_ACT];
39 extern float *
Bwls[INDI_OUTPUTS];
void stabilization_indi_set_earth_cmd_i(struct Int32Vect2 *cmd, int32_t heading)
Set attitude setpoint from command in earth axes.
void stabilization_indi_read_rc(bool in_flight, bool in_carefree, bool coordinated_turn)
This function reads rc commands.
float g1g2[INDI_OUTPUTS][INDI_NUM_ACT]
void stabilization_indi_init(void)
Function that initializes important values upon engaging INDI.
float actuator_state_filt_vect[INDI_NUM_ACT]
struct Int32Eulers stab_att_sp_euler
with INT32_ANGLE_FRAC
struct Int32Quat stab_att_sp_quat
with INT32_QUAT_FRAC
void stabilization_indi_set_rpy_setpoint_i(struct Int32Eulers *rpy)
Set attitude quaternion setpoint from rpy.
struct Indi_gains indi_gains
void stabilization_indi_rate_run(struct FloatRates rate_ref, bool in_flight)
Does the INDI calculations.
void stabilization_indi_set_failsafe_setpoint(void)
Function that calculates the failsafe setpoint.
float * Bwls[INDI_OUTPUTS]
void stabilization_indi_attitude_run(struct Int32Quat quat_sp, bool in_flight)
runs stabilization indi
void stabilization_indi_enter(void)
Function that resets important values upon engaging INDI.