mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
FixedWingLandDetector: remove useless 0 delay away from landed
This commit is contained in:
parent
6195629373
commit
e132568430
@ -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()
|
||||
|
||||
@ -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)};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user