mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 15:53:56 -04:00
AR_AttitudeControl: minor comment fix
non-functional change
This commit is contained in:
parent
9272c10043
commit
b9a1621d38
@ -263,7 +263,7 @@ float AR_AttitudeControl::get_throttle_out_speed(float desired_speed, bool motor
|
||||
|
||||
// acceleration limit desired speed
|
||||
if (is_positive(_throttle_accel_max)) {
|
||||
// on first iteration stay at current current speed (although enforced 20ms delay may upset drag racers)
|
||||
// reset desired speed to current speed on first iteration
|
||||
if (!is_positive(dt)) {
|
||||
desired_speed = speed;
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user