|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
27 #ifndef AHRS_FLOAT_INVARIANT_H
28 #define AHRS_FLOAT_INVARIANT_H
36 #define INV_STATE_DIM 9
49 #define INV_MEASURE_DIM 6
60 #define INV_COMMAND_DIM 3
struct FloatVect3 ME
Correction gains on gyro biases.
struct inv_gains gains
tuning gains
void ahrs_float_invariant_update_accel(struct FloatVect3 *accel)
struct FloatRates rates
Input gyro rates.
struct FloatVect3 accel
Measured accelerometers.
Invariant filter correction gains.
Paparazzi floating point algebra.
struct FloatRates bias
Estimated gyro biases.
void ahrs_float_invariant_update_mag(struct FloatVect3 *mag)
void ahrs_float_inv_set_body_to_imu_quat(struct FloatQuat *q_b2i)
Invariant filter tuning gains.
struct AhrsFloatInv ahrs_float_inv
float ly
Tuning parameter of accel and mag on attitude (lateral subsystem)
float lx
Tuning parameter of accel and mag on attitude (longitudinal subsystem)
struct inv_state state
state vector
float n
Tuning parameter of accel and mag on accel bias (scaling subsystem)
bool reset
flag to request reset/reinit the filter
float my
Tuning parameter of accel and mag on gyro bias (lateral subsystem)
void ahrs_float_invariant_propagate(struct FloatRates *gyro, float dt)
float NE
Correction gains on accel bias.
struct OrientationReps body_to_imu
body_to_imu rotation
Invariant filter command vector.
float OE
Correction gains on magnetometer sensitivity.
struct FloatVect3 LE
Correction gains on attitude.
void ahrs_float_invariant_align(struct FloatRates *lp_gyro, struct FloatVect3 *lp_accel, struct FloatVect3 *lp_mag)
void ahrs_float_invariant_init(void)
Invariant filter measurement vector.
float o
Tuning parameter of accel and mag on mag bias (scaling subsystem)
float mx
Tuning parameter of accel and mag on gyro bias (longitudinal subsystem)
float cs
Estimates magnetometer sensitivity.
float as
Estimated accelerometer sensitivity.
struct inv_command cmd
command vector
struct FloatVect3 mag
Measured magnetic field.
struct inv_measures meas
measurement vector
Invariant filter structure.
float lz
Tuning parameter of accel and mag on attitude (heading subsystem)
float mz
Tuning parameter of accel and mag on gyro bias (heading subsystem)
struct inv_correction_gains corr
correction gains
struct FloatQuat quat
Estimated attitude (quaternion)