setDistanceVelocity

public final Unit setDistanceVelocity(Double velocity, Double acceleration)
public final Unit setDistanceVelocity(Double velocity)

Sets the velocity/acceleration of all motors in distance units per second.

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

Parameters

velocity

The velocity to set.

acceleration

The acceleration to set.