setPosition

fun CANSparkBase.setPosition(pos: Double)

Sets the position reference of a REV motor controller.

Parameters

pos

the position to set the motor to.