diff --git a/EKF/estimator_interface.h b/EKF/estimator_interface.h index 2e5a3aca1a..17b453fb75 100644 --- a/EKF/estimator_interface.h +++ b/EKF/estimator_interface.h @@ -63,6 +63,9 @@ public: // gets the innovations of the earth magnetic field measurements virtual void get_mag_innov(float mag_innov[3]) = 0; + // gets the innovation of airspeed measurement + virtual void get_airspeed_innov(float *airspeed_innov) = 0; + // gets the innovations of the heading measurement virtual void get_heading_innov(float *heading_innov) = 0; @@ -73,6 +76,9 @@ public: // gets the innovation variances of the earth magnetic field measurements virtual void get_mag_innov_var(float mag_innov_var[3]) = 0; + // gets the innovation variance of the airspeed measurement + virtual void get_airspeed_innov_var(float *get_airspeed_innov_var) = 0; + // gets the innovation variance of the heading measurement virtual void get_heading_innov_var(float *heading_innov_var) = 0; @@ -229,8 +235,8 @@ protected: bool _mag_healthy; // computed by mag innovation test float _yaw_test_ratio; // yaw innovation consistency check ratio float _mag_test_ratio[3]; // magnetometer XYZ innovation consistency check ratios - float _vel_pos_test_ratio[6]; // velocity and position innovation consistency check ratios + float _tas_test_ratio; // tas innovation consistency check ratio // data buffer instances RingBuffer _imu_buffer;