From 97b5cc77b8763f7198437ac15d86aa982fa7a3c5 Mon Sep 17 00:00:00 2001 From: Dennis Mannhart Date: Wed, 24 May 2017 18:54:37 +0200 Subject: [PATCH] landdetector: reduce maybe_landed trigger time to 1s --- src/modules/land_detector/LandDetector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/land_detector/LandDetector.h b/src/modules/land_detector/LandDetector.h index fc59327c3f..bc26700a04 100644 --- a/src/modules/land_detector/LandDetector.h +++ b/src/modules/land_detector/LandDetector.h @@ -150,7 +150,7 @@ 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 = 1500000; + static constexpr uint64_t MAYBE_LAND_DETECTOR_TRIGGER_TIME_US = 1000000; /** Time in us that ground contact condition have to hold before triggering contact ground */ static constexpr uint64_t GROUND_CONTACT_TRIGGER_TIME_US = 1000000;