Plane: don't start descent till under 3m/s

This commit is contained in:
Andrew Tridgell 2021-05-14 18:06:30 +10:00
parent caeaf7c047
commit 9d52333afc

View File

@ -3077,7 +3077,8 @@ bool QuadPlane::verify_vtol_land(void)
return true;
}
if (poscontrol.state == QPOS_POSITION2 &&
plane.auto_state.wp_distance < 2) {
plane.auto_state.wp_distance < 2 &&
plane.ahrs.groundspeed() < 3) {
poscontrol.state = QPOS_LAND_DESCEND;
#if AC_FENCE == ENABLED
plane.fence.auto_disable_fence_for_landing();