reset

fun reset(value: Double, timestamp: ComparableTimeMark = TimeSource.Monotonic.markNow())(source)

Resets the slew rate limiter to the specified value; ignores the rate limit when doing so.

Parameters

value

The value to reset to.

timestamp

the current time (default: TimeSource.Monotonic.markNow())