From 5b54d781281fa2d57b87e8bae45d720f0f7c4709 Mon Sep 17 00:00:00 2001 From: Matthias Grob Date: Thu, 29 Dec 2016 17:58:35 +0100 Subject: [PATCH] land detector: changed minimum throttle threshold to have useful landing detection in real world scenarios --- src/modules/land_detector/MulticopterLandDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/land_detector/MulticopterLandDetector.cpp b/src/modules/land_detector/MulticopterLandDetector.cpp index d1cfa38422..2f9fb4d9d2 100644 --- a/src/modules/land_detector/MulticopterLandDetector.cpp +++ b/src/modules/land_detector/MulticopterLandDetector.cpp @@ -141,7 +141,7 @@ bool MulticopterLandDetector::_get_landed_state() // Time base for this function const uint64_t now = hrt_absolute_time(); - float sys_min_throttle = (_params.minThrottle + 0.01f); + float sys_min_throttle = (_params.minThrottle + 0.2f); // Determine the system min throttle based on flight mode if (!_control_mode.flag_control_altitude_enabled) {