29static float Ap = STABILIZATION_INDI_HINF_Ap;
30static float Bp = STABILIZATION_INDI_HINF_Bp;
31static float Cp = STABILIZATION_INDI_HINF_Cp;
32static float Dp = STABILIZATION_INDI_HINF_Dp;
34static float Ad = STABILIZATION_INDI_HINF_Ad;
35static float Bd = STABILIZATION_INDI_HINF_Bd;
36static float Cd = STABILIZATION_INDI_HINF_Cd;
37static float Dd = STABILIZATION_INDI_HINF_Dd;
85 att_fb.
x = att_err.
qx;
86 att_fb.
y = att_err.
qy;
87 att_fb.
z = att_err.
qz;
bool autopilot_in_flight(void)
get in_flight flag
Core autopilot interface common to all firmwares.
void float_quat_tilt_twist(struct FloatQuat *tilt, struct FloatQuat *twist, const struct FloatQuat *quat)
Tilt twist decomposition of quaternion.
#define FLOAT_RATES_ZERO(_r)
void float_quat_inv_comp_norm_shortest(struct FloatQuat *b2c, const struct FloatQuat *a2b, const struct FloatQuat *a2c)
Composition (multiplication) of two quaternions with normalization.
#define RATES_ADD(_a, _b)
#define RATES_DIFF(_c, _a, _b)
Paparazzi floating point algebra.
struct FloatRates WEAK stabilization_indi_attitude_controller(struct FloatQuat att, struct FloatQuat att_sp, struct FloatRates rates_ff)
Default PD angular rate controller.
struct Indi_gains indi_gains
struct FloatRates WEAK stabilization_indi_rate_controller(struct FloatRates rates, struct FloatRates sp)
Default PD angular acceleration controller.
static struct FloatRates att_state
static struct FloatRates rate_state