setVelocity

fun CANSparkBase.setVelocity(vel: Double)

Sets the velocity reference of a REV motor controller.

Parameters

vel

the velocity to set the motor to.