mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 11:53:34 +08:00
land detector move hysteresis constants into FW and MC
This commit is contained in:
@@ -82,6 +82,18 @@ protected:
|
||||
virtual float _get_max_altitude() override;
|
||||
private:
|
||||
|
||||
/** Time in us that landing conditions have to hold before triggering a land. */
|
||||
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 300000;
|
||||
|
||||
/** Time in us that almost landing conditions have to hold before triggering almost landed . */
|
||||
static constexpr uint64_t MAYBE_LAND_DETECTOR_TRIGGER_TIME_US = 250000;
|
||||
|
||||
/** Time in us that ground contact condition have to hold before triggering contact ground */
|
||||
static constexpr uint64_t GROUND_CONTACT_TRIGGER_TIME_US = 350000;
|
||||
|
||||
/** Time interval in us in which wider acceptance thresholds are used after landed. */
|
||||
static constexpr uint64_t LAND_DETECTOR_LAND_PHASE_TIME_US = 2000000;
|
||||
|
||||
/**
|
||||
* @brief Handles for interesting parameters
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user