Skip to content

Commit

Permalink
AirspeedValidator: remove unused variable _tas_gate
Browse files Browse the repository at this point in the history
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
  • Loading branch information
sfuhrer authored and dagar committed Jan 14, 2022
1 parent 3b6c944 commit 1a4b2b3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/modules/airspeed_selector/AirspeedValidator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ class AirspeedValidator
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);
}

Expand Down Expand Up @@ -147,7 +146,6 @@ class AirspeedValidator
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
Expand Down

0 comments on commit 1a4b2b3

Please sign in to comment.