reset

open fun reset()

Reset the previous error, the integral term, and disable the controller.


Reset the previous error and the integral term.

Return

this

Parameters

measurement

The current measured State of the system.


open fun reset(measuredPosition: Double, measuredVelocity: Double): ProfiledPIDController

Reset the previous error and the integral term.

Return

this

Parameters

measuredPosition

The current measured position of the system.

measuredVelocity

The current measured velocity of the system.


open fun reset(measuredPosition: Double): ProfiledPIDController

Reset the previous error and the integral term.

Return

this

Parameters

measuredPosition

The current measured position of the system. The velocity is assumed to be zero.