runtimedrobot()

Function Definition: runtimedrobot(direction = "forward", speed = 100, time = 1000)

Parameters

NameTypeDescriptionExpected ValuesDefault Value
directionstringThe direction in which the robot should move."forward", "backward", "circular left", "circular right", "lateral left", "lateral right", "forward left", "forward right", "backward left", "backward right","lateral arc""forward"
speedintThe speed at which the robot should move.0 to 100100
timeintThe time for which the robot should perform the motion in milliseconds.0 to 1000001000

Description

The function causes the robot to move in a specified direction with a specified speed for a given amount of time before stopping automatically.

Example

There are no examples documented for this article.
Table of Contents