setRPM

public final Unit setRPM(Double rpm)

Sets the velocity of the motor in revolutions per second.

Parameters

rpm

the revolutions per second to set