mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-31 18:47:21 +08:00
landdetector: exit landing state if manual.z is larger than threshold
This commit is contained in:
committed by
Matthias Grob
parent
239370d72c
commit
340773096d
@@ -212,6 +212,7 @@ bool MulticopterLandDetector::_get_landed_state()
|
||||
} else {
|
||||
// Pilot wants to take off, assume no groundcontact anymore and therefore allow thrust
|
||||
_ground_contact_hysteresis.set_state_and_update(false);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user