mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
2.0.39
Changed how the throttle_slew was added to the output. git-svn-id: https://arducopter.googlecode.com/svn/trunk@2990 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
a0f61fd29e
commit
cdfa3b07cb
@ -132,7 +132,7 @@ static int
|
||||
get_throttle(int throttle_input)
|
||||
{
|
||||
throttle_input = (float)throttle_input * angle_boost();
|
||||
throttle_input += throttle_slew;
|
||||
throttle_input = max(throttle_slew, throttle_input);
|
||||
return max(throttle_input, 0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user