Irobot Roomba Movement Panel icon Irobot Roomba Movement Panel Control Roomba/Create via ARC: drive, stream sensors, read encoders, configure COM/HW UART, and send pose to NMS for mapping/navigation. Try it →
 

Forward

Movement.forward([speed], [timeOut])

Parameters

speed (optional) Speed to move at.
timeOut (optional) Duration to move forward for in milliseconds.

Returns

Nothing

Description

Moves the robot forward using the project's Movement Panel skill. The speed can be specified by providing speed as a value between 0 and 255. If timeOut is provided the robot will move forward for timeOut milliseconds. Otherwise it will continue to move forward until a different Movement function is called.