mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
slightly less filtering for less latency
This commit is contained in:
parent
9003b95499
commit
5cc19bbe7c
@ -165,7 +165,8 @@ get_nav_throttle(int32_t z_error)
|
||||
//output -= constrain(rate_d, -25, 25);
|
||||
|
||||
// light filter of output
|
||||
output = (old_output * 3 + output) / 4;
|
||||
//output = (old_output * 3 + output) / 4;
|
||||
output = (old_output + output) / 2;
|
||||
|
||||
// save our output
|
||||
old_output = output;
|
||||
|
Loading…
Reference in New Issue
Block a user