mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_AutoTune: replace set_throttle_out_unstabilized
This commit is contained in:
parent
a6bfafefb0
commit
c4e3c4142e
@ -349,7 +349,7 @@ void AC_AutoTune::run()
|
||||
// this should not actually be possible because of the init() checks
|
||||
if (!motors->armed() || !motors->get_interlock()) {
|
||||
motors->set_desired_spool_state(AP_Motors::DESIRED_GROUND_IDLE);
|
||||
attitude_control->set_throttle_out_unstabilized(0.0f, true, 0);
|
||||
attitude_control->set_throttle_out(0.0f, true, 0.0f);
|
||||
pos_control->relax_alt_hold_controllers(0.0f);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user