diff --git a/ArduPlane/quadplane.cpp b/ArduPlane/quadplane.cpp index 25c255d6d8..987cbdc3e5 100644 --- a/ArduPlane/quadplane.cpp +++ b/ArduPlane/quadplane.cpp @@ -963,7 +963,7 @@ void QuadPlane::run_z_controller(void) // never run Z controller in tailsitter transtion return; } - if ((now - last_pidz_active_ms) > 20) { + if ((now - last_pidz_active_ms) > 20 || !pos_control->is_active_z()) { // set vertical speed and acceleration limits pos_control->set_max_speed_accel_z(-get_pilot_velocity_z_max_dn(), pilot_velocity_z_max_up, pilot_accel_z);