[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

@@ -36,20 +36,6 @@ public class SlewRateLimiter {
m_prevTime = MathSharedStore.getTimestamp();
}
/**
* 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, in units per second.
* @param initalValue The initial value of the input.
* @deprecated Use SlewRateLimiter(double positiveRateLimit, double negativeRateLimit, double
* initalValue) instead.
*/
@Deprecated(since = "2023", forRemoval = true)
public SlewRateLimiter(double rateLimit, double initalValue) {
this(rateLimit, -rateLimit, initalValue);
}
/**
* Creates a new SlewRateLimiter with the given positive rate limit and negative rate limit of
* -rateLimit.