setTolerance

open fun setTolerance(positionTolerance: Double, velocityTolerance: Double)

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

Parameters

positionTolerance

Position error which is tolerable.

velocityTolerance

Velocity error which is tolerable.


open fun setTolerance(positionTolerance: Double)

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

Parameters

positionTolerance

Position error which is tolerable.