Browse Source

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

zr-v5.1
Andrew Tridgell 4 years ago
parent
commit
9d52333afc
  1. 3
      ArduPlane/quadplane.cpp

3
ArduPlane/quadplane.cpp

@ -3077,7 +3077,8 @@ bool QuadPlane::verify_vtol_land(void) @@ -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();

Loading…
Cancel
Save