|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
29 #ifndef AHRS_MADGWICK_H
30 #define AHRS_MADGWICK_H
void ahrs_madgwick_align(struct FloatRates *lp_gyro, struct FloatVect3 *lp_accel)
struct AhrsMadgwick ahrs_madgwick
struct FloatRates bias
Gyro bias (from alignment)
void ahrs_madgwick_propagate(struct FloatRates *gyro, float dt)
Paparazzi floating point algebra.
struct FloatQuat quat
Estimated attitude (quaternion)
bool is_aligned
aligned flag
struct OrientationReps body_to_imu
body_to_imu rotation
bool reset
flag to request reset/reinit the filter
struct FloatRates rates
Measured gyro rates.
struct FloatVect3 accel
Measured accelerometers.
void ahrs_madgwick_init(void)
void ahrs_madgwick_set_body_to_imu_quat(struct FloatQuat *q_b2i)
Madgwick filter structure.
void ahrs_madgwick_update_accel(struct FloatVect3 *accel)