Added PIDController::GetAvgError() back in (#749)

It got removed during the LinearDigitalFilter change (#38) instead of deprecated
by mistake.
This commit is contained in:
Tyler Veness
2017-11-19 18:23:48 -08:00
committed by Peter Johnson
parent d214b36786
commit 259461aee9
3 changed files with 26 additions and 0 deletions

View File

@@ -65,6 +65,9 @@ class PIDController : public LiveWindowSendable, public PIDInterface {
virtual double GetError() const;
WPI_DEPRECATED("Use GetError() instead, which is now already filtered.")
virtual double GetAvgError() const;
virtual void SetPIDSourceType(PIDSourceType pidSource);
virtual PIDSourceType GetPIDSourceType() const;