reset

fun reset()

Resets the PD controller state. Called automatically when the robot is within the angle tolerance of the target, but should also be called manually to reset the controller state.