land_detector: manual land detection stick throshold less strict

Even for well calibrated RC sticks 5% stick movement is a too small margin for the end user that might not land because of this.
15% is still clearly restricting the stick far down.
This commit is contained in:
Matthias Grob 2017-02-22 14:19:42 +01:00 committed by Lorenz Meier
parent cbc54c9917
commit 3183cbda90
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ bool MulticopterLandDetector::_get_ground_contact_state()
// Check if user commands throttle and if so, report no ground contact based on
// the user intent to take off (even if the system might physically still have
// ground contact at this point).
const bool manual_control_idle = (_has_manual_control_present() && _manual.z < 0.05f);
const bool manual_control_idle = (_has_manual_control_present() && _manual.z < 0.15f);
const bool manual_control_idle_or_auto = manual_control_idle || !_control_mode.flag_control_manual_enabled;
// Widen acceptance thresholds for landed state right after arming