setDistanceVelocity

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

Sets the velocity of the motor in distance units per second.

Parameters

velocity

The velocity to set.

acceleration

The acceleration to set.