24 #ifndef AHRS_FLOAT_DCM_H
25 #define AHRS_FLOAT_DCM_H
60 #define Kp_ROLLPITCH 0.015
61 #define Ki_ROLLPITCH 0.000010
62 #define Kp_YAW 0.9 //High yaw drift correction gain - use with caution!
63 #define Ki_YAW 0.00005
76 #define PERFORMANCE_REPORTING 1
77 #if PERFORMANCE_REPORTING == 1
93 #endif // AHRS_FLOAT_DCM_H
void ahrs_dcm_update_accel(struct FloatVect3 *accel)
struct FloatRates rate_correction
struct FloatEulers ltp_to_imu_euler
struct AhrsFloatDCM ahrs_dcm
Paparazzi floating point algebra.
data structure for GPS information
Device independent GPS code (interface)
struct FloatRates gyro_bias
enum AhrsDCMStatus status
void ahrs_dcm_set_body_to_imu(struct OrientationReps *body_to_imu)
void ahrs_dcm_propagate(struct FloatRates *gyro, float dt)
struct OrientationReps body_to_imu
static struct OrientationReps body_to_imu
Generic orientation representation and conversions.
void ahrs_dcm_set_body_to_imu_quat(struct FloatQuat *q_b2i)
struct FloatRates imu_rate
bool ahrs_dcm_align(struct FloatRates *lp_gyro, struct FloatVect3 *lp_accel, struct FloatVect3 *lp_mag)
void ahrs_dcm_update_mag(struct FloatVect3 *mag)
void ahrs_dcm_update_gps(struct GpsState *gps_s)