mirror of https://github.com/ArduPilot/ardupilot
AP_Motors: handle boost in spool up and down the same way
This commit is contained in:
parent
d29a47d605
commit
2f87d8808f
|
@ -532,7 +532,7 @@ void AP_MotorsMulticopter::output_logic()
|
|||
|
||||
// initialise motor failure variables
|
||||
_thrust_boost = false;
|
||||
_thrust_boost_ratio = 0.0f;
|
||||
_thrust_boost_ratio = MAX(0.0, _thrust_boost_ratio - 1.0 / (_spool_up_time * _loop_rate));
|
||||
break;
|
||||
|
||||
case THROTTLE_UNLIMITED:
|
||||
|
|
Loading…
Reference in New Issue