mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
Copter: landing_complete stays true until thr is raised
The idea of the fix is we can't leave land while throttle is 0 and then we ignore the baro and it's disturbances.
This commit is contained in:
parent
7fcd847f77
commit
311bba1419
@ -1126,7 +1126,7 @@ static bool update_land_detector()
|
||||
land_detector = 0;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
}else if (g.rc_3.control_in != 0 || failsafe.radio){ // zero throttle locks land_complete as true
|
||||
// we've sensed movement up or down so reset land_detector
|
||||
land_detector = 0;
|
||||
if(ap.land_complete) {
|
||||
|
Loading…
Reference in New Issue
Block a user