setTolerance

Sets the error which is considered tolerable for use with atSetpoint.

Return

this

Parameters

tolerances

The positional and derivative tolerances.


open fun setTolerance(positionTolerance: Double): PIDFController

Sets the error which is considered tolerable for use with atSetpoint.

Return

this

Parameters

positionTolerance

Position error which is tolerable.


open fun setTolerance(positionTolerance: Double, derivativeTolerance: Double): PIDFController

Sets the error which is considered tolerable for use with atSetpoint.

Return

this

Parameters

positionTolerance

Position error which is tolerable.

derivativeTolerance

Derivative error which is tolerable.