Skip to content
Snippets Groups Projects
Commit 50ef2d0e authored by Dennis Mannhart's avatar Dennis Mannhart Committed by Lorenz Meier
Browse files

landdetector: adjust time to 3 stage detection

parent 9baf41be
No related branches found
No related tags found
No related merge requests found
......@@ -150,10 +150,10 @@ protected:
static constexpr uint64_t LAND_DETECTOR_TRIGGER_TIME_US = 500000;
/** 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 */
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. */
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
*/
PARAM_DEFINE_FLOAT(LNDMC_XY_VEL_MAX, 1.50f);
PARAM_DEFINE_FLOAT(LNDMC_XY_VEL_MAX, 0.5f);
/**
* Multicopter max rotation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment