mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
tuned down Alt hold D gain
This commit is contained in:
parent
b52ad60864
commit
7c475f178c
@ -187,7 +187,7 @@ get_nav_throttle(int32_t z_error)
|
||||
output = constrain((int)g.pi_throttle.get_p(rate_error), -160, 180);
|
||||
|
||||
// a positive climb rate means we're going up
|
||||
rate_d = ((rate_d + climb_rate)>>1) * 1; // replace with gain
|
||||
rate_d = ((rate_d + climb_rate)>>1) * .1; // replace with gain
|
||||
|
||||
// slight adjustment to alt hold output
|
||||
output -= constrain(rate_d, -25, 25);
|
||||
|
Loading…
Reference in New Issue
Block a user