ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

setSpeed

Movement.setSpeed(speed/speedLeft, [speedRight])

Parameters

speed/speedLeft Global Movement Speed value for left and right wheel. If speedRight is provided this value will be used for the global Movement Speed value of the left wheel only.
speedRight (optional) Global movement speed value for the right wheel.

Returns

Nothing

Description

Sets the global movement speed value for the left and right wheels. If speedLeft and speedRight are provided the values for the left and right wheels will be set respectively.