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