mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 09:43:34 +08:00
landdetector: adjust time to 3 stage detection
This commit is contained in:
committed by
Lorenz Meier
parent
9baf41bef1
commit
50ef2d0e52
@@ -150,10 +150,10 @@ protected:
|
|||||||
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 500000;
|
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 500000;
|
||||||
|
|
||||||
/** Time in us that almost landing conditions have to hold before triggering almost landed . */
|
/** Time in us that almost landing conditions have to hold before triggering almost landed . */
|
||||||
static constexpr uint64_t MAYBE_LAND_DETECTOR_TRIGGER_TIME_US = 1000000;
|
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 */
|
/** Time in us that ground contact condition have to hold before triggering contact ground */
|
||||||
static constexpr uint64_t GROUND_CONTACT_TRIGGER_TIME_US = 1000000;
|
static constexpr uint64_t GROUND_CONTACT_TRIGGER_TIME_US = 350000;
|
||||||
|
|
||||||
/** Time interval in us in which wider acceptance thresholds are used after arming. */
|
/** Time interval in us in which wider acceptance thresholds are used after arming. */
|
||||||
static constexpr uint64_t LAND_DETECTOR_ARM_PHASE_TIME_US = 2000000;
|
static constexpr uint64_t LAND_DETECTOR_ARM_PHASE_TIME_US = 2000000;
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ PARAM_DEFINE_FLOAT(LNDMC_Z_VEL_MAX, 0.50f);
|
|||||||
*
|
*
|
||||||
* @group Land Detector
|
* @group Land Detector
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(LNDMC_XY_VEL_MAX, 1.50f);
|
PARAM_DEFINE_FLOAT(LNDMC_XY_VEL_MAX, 0.5f);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Multicopter max rotation
|
* Multicopter max rotation
|
||||||
|
|||||||
Reference in New Issue
Block a user