mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
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:
committed by
Peter Johnson
parent
d36d72bd4f
commit
5c659fdcdf
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user