From e132568430f76029ef1ad5ade4f9b47eb8c47f80 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Mon, 15 Dec 2025 18:41:29 +0100 Subject: [PATCH] FixedWingLandDetector: remove useless 0 delay away from landed --- src/modules/land_detector/FixedwingLandDetector.cpp | 1 - src/modules/land_detector/FixedwingLandDetector.h | 3 --- 2 files changed, 4 deletions(-) diff --git a/src/modules/land_detector/FixedwingLandDetector.cpp b/src/modules/land_detector/FixedwingLandDetector.cpp index c53a99f670..5de7f5cb0a 100644 --- a/src/modules/land_detector/FixedwingLandDetector.cpp +++ b/src/modules/land_detector/FixedwingLandDetector.cpp @@ -48,7 +48,6 @@ FixedwingLandDetector::FixedwingLandDetector() { // Use Trigger time when transitioning from in-air (false) to landed (true) / ground contact (true). _landed_hysteresis.set_hysteresis_time_from(false, _param_lndfw_trig_time.get() * 1_s); - _landed_hysteresis.set_hysteresis_time_from(true, FLYING_TRIGGER_TIME_US); } bool FixedwingLandDetector::_get_landed_state() diff --git a/src/modules/land_detector/FixedwingLandDetector.h b/src/modules/land_detector/FixedwingLandDetector.h index 3f3fa9ad35..435ecc1fae 100644 --- a/src/modules/land_detector/FixedwingLandDetector.h +++ b/src/modules/land_detector/FixedwingLandDetector.h @@ -65,9 +65,6 @@ protected: void _set_hysteresis_factor(const int factor) override {}; private: - - static constexpr hrt_abstime FLYING_TRIGGER_TIME_US = 0_us; - uORB::Subscription _airspeed_validated_sub{ORB_ID(airspeed_validated)}; uORB::Subscription _launch_detection_status_sub{ORB_ID(launch_detection_status)};