|
Paparazzi UAS
v5.18.0_stable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the documentation of this file.
31 #ifndef AHRS_INT_CMPL_QUAT_H
32 #define AHRS_INT_CMPL_QUAT_H
struct OrientationReps body_to_imu
static void ahrs_int_cmpl_quat_SetAccelZeta(float zeta)
float accel_omega
filter cut-off frequency for correcting the attitude from accels.
float mag_omega
filter cut-off frequency for correcting the attitude (heading) from magnetometer.
uint16_t mag_cnt
number of propagations since last mag update
data structure for GPS information
void ahrs_icq_set_accel_gains(void)
update pre-computed inv_kp and inv_ki gains from acc_omega and acc_zeta
void ahrs_icq_propagate(struct Int32Rates *gyro, float dt)
float mag_zeta
filter damping for correcting the gyro bias from magnetometer.
static void ahrs_int_cmpl_quat_SetAccelOmega(float omega)
enum AhrsICQStatus status
status of the AHRS, AHRS_ICQ_UNINIT or AHRS_ICQ_RUNNING
bool ahrs_icq_align(struct Int32Rates *lp_gyro, struct Int32Vect3 *lp_accel, struct Int32Vect3 *lp_mag)
Paparazzi fixed point algebra.
Ahrs implementation specifc values.
void ahrs_icq_set_mag_gains(void)
update pre-computed kp and ki gains from mag_omega and mag_zeta
struct Int32Rates gyro_bias
uint8_t gravity_heuristic_factor
sets how strongly the gravity heuristic reduces accel correction.
Device independent GPS code (interface)
void ahrs_icq_update_gps(struct GpsState *gps_s)
bool correct_gravity
enable gravity vector correction by removing centrifugal acceleration
void ahrs_icq_update_mag(struct Int32Vect3 *mag, float dt)
struct Int32Quat ltp_to_imu_quat
void ahrs_icq_update_heading(int32_t heading)
Update yaw based on a heading measurement.
void ahrs_icq_update_accel(struct Int32Vect3 *accel, float dt)
struct Int64Quat high_rez_quat
struct AhrsIntCmplQuat ahrs_icq
Default Rate filter Low pass.
struct Int32Rates imu_rate
static void ahrs_int_cmpl_quat_SetMagZeta(float zeta)
struct Int64Rates high_rez_bias
uint16_t accel_cnt
number of propagations since last accel update
static struct OrientationReps body_to_imu
static void ahrs_int_cmpl_quat_SetMagOmega(float omega)
void ahrs_icq_realign_heading(int32_t heading)
Hard reset yaw to a heading.
float accel_zeta
filter damping for correcting the gyro-bias from accels.
void ahrs_icq_set_body_to_imu_quat(struct FloatQuat *q_b2i)
struct Int32Rates rate_correction
void ahrs_icq_set_body_to_imu(struct OrientationReps *body_to_imu)