forked from Archive/PX4-Autopilot
land detector: changed minimum throttle threshold to have useful landing detection in real world scenarios
This commit is contained in:
parent
39f9647291
commit
5b54d78128
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue