setSpeedXYR

Set a speed at which the Mecanum drive assembly should move. This method will also account for the robot's current heading and adjust the vectors accordingly.

Parameters

x

The speed at which the robot should move in the x direction relative to the field. Positive is right, negative is left. Range: -1.0 to 1.0

y

The speed at which the robot should move in the y direction relative to the field. Positive is forward, negative is backward. Range: -1.0 to 1.0

r

The speed at which the robot will rotate. Positive is clockwise, negative is anti-clockwise. Range: -1.0 to 1.0