|
|
|
@ -28,6 +28,10 @@ void Copter::stabilize_run()
@@ -28,6 +28,10 @@ void Copter::stabilize_run()
|
|
|
|
|
// if not armed or throttle at zero, set throttle to zero and exit immediately
|
|
|
|
|
if(!motors.armed() || ap.throttle_zero) { |
|
|
|
|
attitude_control.set_throttle_out_unstabilized(0,true,g.throttle_filt); |
|
|
|
|
// slow start if landed
|
|
|
|
|
if (ap.land_complete) { |
|
|
|
|
motors.slow_start(true); |
|
|
|
|
} |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|