Moves a robot to a global location. Implements Reversible through a position supplier to return to the previous position.

Hierarchy

Implements

Constructors

Properties

_requirements: Set<object> = ...
positionSupplier: (() => Position)

Type declaration

previousPosition: undefined | Position
robotId: string

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