[wpimath] Remove SlewRateLimiter 2 argument constructor (#5648)

Deprecated in #4377
This commit is contained in:
Ryan Blue
2023-09-17 01:04:29 -04:00
committed by GitHub
parent 2e3ddf5502
commit 4da5aee88a
2 changed files with 0 additions and 27 deletions

View File

@@ -58,19 +58,6 @@ class SlewRateLimiter {
explicit SlewRateLimiter(Rate_t rateLimit)
: SlewRateLimiter(rateLimit, -rateLimit) {}
/**
* Creates a new SlewRateLimiter with the given positive rate limit and
* negative rate limit of -rateLimit and initial value.
*
* @param rateLimit The rate-of-change limit.
* @param initialValue The initial value of the input.
*/
WPI_DEPRECATED(
"Use SlewRateLimiter(Rate_t positiveRateLimit, Rate_t negativeRateLimit, "
"Unit_t initalValue) instead")
SlewRateLimiter(Rate_t rateLimit, Unit_t initialValue)
: SlewRateLimiter(rateLimit, -rateLimit, initialValue) {}
/**
* Filters the input to limit its slew rate.
*