mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 00:53:33 +08:00
land detector move hysteresis constants into FW and MC
This commit is contained in:
@@ -65,10 +65,6 @@ LandDetector::LandDetector() :
|
||||
_takeoff_time{0},
|
||||
_work{}
|
||||
{
|
||||
// Use Trigger time when transitioning from in-air (false) to landed (true) / ground contact (true).
|
||||
_landed_hysteresis.set_hysteresis_time_from(false, LAND_DETECTOR_TRIGGER_TIME_US);
|
||||
_maybe_landed_hysteresis.set_hysteresis_time_from(false, MAYBE_LAND_DETECTOR_TRIGGER_TIME_US);
|
||||
_ground_contact_hysteresis.set_hysteresis_time_from(false, GROUND_CONTACT_TRIGGER_TIME_US);
|
||||
}
|
||||
|
||||
LandDetector::~LandDetector()
|
||||
|
||||
Reference in New Issue
Block a user