setTargetPositionTolerance

open fun setTargetPositionTolerance(tolerance: Int)

Deprecated

Note that this method will try to access the RUN_TO_POSITION controller to access information there. This is otherwise unsupported and you should try to access the actual controller to see this information, unless you are downcasting in which this will assume you are using a PID controller.

Deprecated

the RUN_TO_POSITION controller should be accessed directly coming from this Motor instance via getRunToPositionController, as this method context is not from a DcMotor downcast.