setDistanceVelocities

fun setDistanceVelocities(velocities: List<Double>, accelerations: List<Double> = emptyList())

Sets the velocities/accelerations of each motor in encoder ticks per second.

Note: Because of physical constraints, motors may move at different speeds.

Parameters

velocities

The velocities for each motor.

accelerations

The accelerations for each motor.