landdetector: exit landing state if manual.z is larger than threshold

This commit is contained in:
Dennis Mannhart
2017-04-12 16:51:44 +02:00
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;
}
}