26 #include "generated/airframe.h"
35 #define IMU_QUALITY_ASSESSMENT_FILTER_ORDER 2
38 #define PEAK_TRACKER(_Value, _Peak) { \
39 if ( (_Value) > (_Peak) ) \
41 else if ( -(_Value) > (_Peak) ) \
71 fx[0] = B[0] * lx[0] + B[1] * lx[1] + B[2] * lx[2] - A[1] * fx[1] - A[2] * fx[2];
void imu_quality_assessment_init(void)
#define IMU_QUALITY_ASSESSMENT_FILTER_ORDER
struct Imu imu
global IMU state
struct Int32Vect3 accel
accelerometer measurements in m/s^2 in BFP with INT32_ACCEL_FRAC
Inertial Measurement Unit interface.
#define PEAK_TRACKER(_Value, _Peak)
struct imu_quality_assessment_data_struct imu_quality_assessment_data
#define IMU_ACCEL_X_SENS_DEN
struct Int32Vect3 accel_unscaled
unscaled accelerometer measurements
void imu_quality_assessment_periodic(void)
#define IMU_ACCEL_X_SENS_NUM