mirror of https://github.com/ArduPilot/ardupilot
AC_PID: Fix D term initialisation
This commit is contained in:
parent
a3a8783e28
commit
dfa20484fa
|
@ -119,6 +119,7 @@ void AC_PID::set_input_filter_d(float input)
|
|||
// reset input filter to value received
|
||||
if (_flags._reset_filter) {
|
||||
_flags._reset_filter = false;
|
||||
_input = input;
|
||||
_derivative = 0.0f;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue