Deprecated PIDController::SetTolerance() (#764)

PIDController::SetPercentTolerance() behaves identically to it, so removing
SetTolerance() leaves one obvious way to do absolute or percent tolerance.
This commit is contained in:
Tyler Veness
2017-11-23 01:21:36 -08:00
committed by Peter Johnson
parent d36d72bd4f
commit 5c659fdcdf
2 changed files with 4 additions and 1 deletions

View File

@@ -75,6 +75,7 @@ class PIDController : public LiveWindowSendable, public PIDInterface {
virtual void SetPIDSourceType(PIDSourceType pidSource);
virtual PIDSourceType GetPIDSourceType() const;
WPI_DEPRECATED("Use SetPercentTolerance() instead.")
virtual void SetTolerance(double percent);
virtual void SetAbsoluteTolerance(double absValue);
virtual void SetPercentTolerance(double percentValue);