Drives a robot for a distance equal to a number of tiles. Distance may be negative, indicating the robot drives backwards.

Does not modify robot's stored position, must be done on the caller's side.

Hierarchy

Implements

Constructors

Properties

_requirements: Set<object> = ...
robotId: string
tileDistance: number

Accessors

  • get requirements(): Set<object>
  • The set of objects that this command requires to execute. Used to place mutexes on common resources to ensure they don't receive multiple inputs at once.

    Returns Set<object>

Methods

Generated using TypeDoc