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
bool_t ltp_vel_norm_valid
struct FloatRates gyro_bias
struct FloatRMat ltp_to_imu_rmat
bool_t ahrs_fc_align(struct Int32Rates *lp_gyro, struct Int32Vect3 *lp_accel, struct Int32Vect3 *lp_mag)
void ahrs_fc_realign_heading(float heading)
Hard reset yaw to a heading.
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
bool_t correct_gravity
enable gravity correction during coordinated turns
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)
void ahrs_fc_update_mag(struct Int32Vect3 *mag, float dt)
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_propagate(struct Int32Rates *gyro, float dt)
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
void ahrs_fc_update_accel(struct Int32Vect3 *accel, float dt)
struct OrientationReps ltp_to_body