AC_PID: remove dead get_ff(float target) method as per TODO comment

This commit is contained in:
Peter Barker 2020-09-07 11:53:52 +10:00 committed by Randy Mackay
parent 1c1caa9374
commit c78dcb15a1
2 changed files with 0 additions and 11 deletions

View File

@ -236,14 +236,6 @@ float AC_PID::get_ff()
return _target * _kff;
}
// todo: remove function when it is no longer used.
float AC_PID::get_ff(float target)
{
float FF_out = (target * _kff);
_pid_info.FF = FF_out;
return FF_out;
}
void AC_PID::reset_I()
{
_integrator = 0;

View File

@ -50,9 +50,6 @@ public:
float get_d() const;
float get_ff();
// todo: remove function when it is no longer used.
float get_ff(float target);
// reset_I - reset the integrator
void reset_I();