30 #ifndef AHRS_FLOAT_CMPL_H
31 #define AHRS_FLOAT_CMPL_H
void ahrs_fc_update_heading(float heading)
Update yaw based on a heading measurement.
uint16_t mag_cnt
number of propagations since last mag update
float accel_omega
filter cut-off frequency for correcting the attitude from accels (pseudo-gravity measurement) ...
struct AhrsFloatCmpl ahrs_fc
struct FloatRates gyro_bias
bool ahrs_fc_align(struct FloatRates *lp_gyro, struct FloatVect3 *lp_accel, struct FloatVect3 *lp_mag)
bool correct_gravity
enable gravity correction during coordinated turns
struct FloatRMat ltp_to_imu_rmat
void ahrs_fc_propagate(struct FloatRates *gyro, float dt)
void ahrs_fc_realign_heading(float heading)
Hard reset yaw to a heading.
void ahrs_fc_update_mag(struct FloatVect3 *mag, float dt)
void ahrs_fc_update_accel(struct FloatVect3 *accel, float dt)
struct FloatQuat ltp_to_imu_quat
uint8_t gravity_heuristic_factor
sets how strongly the gravity heuristic reduces accel correction.
Paparazzi floating point algebra.
data structure for GPS information
Device independent GPS code (interface)
float mag_omega
filter cut-off frequency for correcting the attitude (heading) from magnetometer
float accel_zeta
filter damping for correcting the gyro-bias from accels (pseudo-gravity measurement) ...
void ahrs_fc_update_gps(struct GpsState *gps_s)
struct FloatRates imu_rate
void ahrs_fc_recompute_ltp_to_body(void)
struct OrientationReps body_to_imu
void ahrs_fc_set_body_to_imu(struct OrientationReps *body_to_imu)
uint16_t accel_cnt
number of propagations since last accel update
float ltp_vel_norm
velocity norm for gravity correction during coordinated turns
static struct OrientationReps body_to_imu
void ahrs_fc_set_body_to_imu_quat(struct FloatQuat *q_b2i)
struct FloatRates rate_correction
Generic orientation representation and conversions.
float mag_zeta
filter damping for correcting the gyro bias from magnetometer
struct OrientationReps ltp_to_body