From 1a4b2b37bb25ba0e53dbff9552e03c2791f9879b Mon Sep 17 00:00:00 2001 From: Silvan Fuhrer Date: Thu, 13 Jan 2022 10:40:02 +0100 Subject: [PATCH] AirspeedValidator: remove unused variable _tas_gate Signed-off-by: Silvan Fuhrer --- src/modules/airspeed_selector/AirspeedValidator.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/modules/airspeed_selector/AirspeedValidator.hpp b/src/modules/airspeed_selector/AirspeedValidator.hpp index 0389262100..33429eca2b 100644 --- a/src/modules/airspeed_selector/AirspeedValidator.hpp +++ b/src/modules/airspeed_selector/AirspeedValidator.hpp @@ -98,7 +98,6 @@ public: void set_wind_estimator_beta_noise(float beta_var) { _wind_estimator.set_beta_noise(beta_var); } void set_wind_estimator_tas_gate(uint8_t gate_size) { - _tas_gate = gate_size; _wind_estimator.set_tas_gate(gate_size); } @@ -147,7 +146,6 @@ private: static constexpr uint64_t DATA_STUCK_TIMEOUT{2_s}; ///< timeout after which data stuck check triggers when data is flat // states of innovation check - float _tas_gate{1.0f}; ///< gate size of airspeed innovation (to calculate tas_test_ratio) bool _innovations_check_failed{false}; ///< true when airspeed innovations have failed consistency checks float _tas_innov_threshold{1.0}; ///< innovation error threshold for triggering innovation check failure float _tas_innov_integ_threshold{-1.0}; ///< integrator innovation error threshold for triggering innovation check failure