mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Remove SlewRateLimiter 2 argument constructor (#5648)
Deprecated in #4377
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user