FixedWingLandDetector: remove useless 0 delay away from landed

This commit is contained in:
Matthias Grob 2025-12-15 18:41:29 +01:00
parent 6195629373
commit e132568430
2 changed files with 0 additions and 4 deletions

View File

@ -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()

View File

@ -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)};