RGB Animator icon RGB Animator Create custom animations for JD Humanoid's 18 RGB Eyes LEDs via I2C - per-LED color frames, transitions, pauses, scripting and real-time preview. Try it →
 

Forward

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

Parameters

speed 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.