mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +00:00
Deprecate old PID classes (#1964)
PIDBase was only used by the old PIDController, which is deprecated. PIDInterface is only used by PIDBase, and that's deprecated by this commit.
This commit is contained in:
committed by
Peter Johnson
parent
02264db69c
commit
d04eb35465
@@ -50,6 +50,7 @@ class PIDBase : public PIDInterface,
|
||||
* @param source The PIDSource object that is used to get values
|
||||
* @param output The PIDOutput object that is set to the output value
|
||||
*/
|
||||
WPI_DEPRECATED("All APIs which use this have been deprecated.")
|
||||
PIDBase(double p, double i, double d, PIDSource& source, PIDOutput& output);
|
||||
|
||||
/**
|
||||
@@ -61,6 +62,7 @@ class PIDBase : public PIDInterface,
|
||||
* @param source The PIDSource object that is used to get values
|
||||
* @param output The PIDOutput object that is set to the output value
|
||||
*/
|
||||
WPI_DEPRECATED("All APIs which use this have been deprecated.")
|
||||
PIDBase(double p, double i, double d, double f, PIDSource& source,
|
||||
PIDOutput& output);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user