From 6fc9720e25edbc7f754ff1747e21a917267c0b97 Mon Sep 17 00:00:00 2001 From: Jacob Dahl Date: Mon, 15 Sep 2025 12:49:13 -0800 Subject: [PATCH] in_air default to true for tests --- .../ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp b/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp index f57510029d..194ca1a027 100644 --- a/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp +++ b/src/modules/ekf2/EKF/aid_sources/range_finder/sensor_range_finder.hpp @@ -66,7 +66,7 @@ public: SensorRangeFinder() = default; ~SensorRangeFinder() override = default; - void runChecks(uint64_t current_time_us, const matrix::Dcmf &R_to_earth, bool in_air); + void runChecks(uint64_t current_time_us, const matrix::Dcmf &R_to_earth, bool in_air = true); bool isHealthy() const override { return _is_sample_valid; } bool isDataHealthy() const override { return _is_sample_ready && _is_sample_valid; } bool isDataReady() const { return _is_sample_ready; }