SlewRateLimiter
constructor(positiveRateLimit: Double, negativeRateLimit: Double, initialValue: Double = 0.0)(source)
Parameters
positiveRateLimit
The rate-of-change limit in the positive direction, in units per second. This is expected to be positive.
negativeRateLimit
The rate-of-change limit in the negative direction, in units per second. This is expected to be negative.
initialValue
The initial value of the input.
Creates a new SlewRateLimiter with the given positive rate limit and negative rate limit of -rateLimit.
Parameters
rateLimit
The rate-of-change limit, in units per second.