Rotates a robot to a given heading. Implements Reversible through a heading supplier to return to the previous heading.

Hierarchy

Implements

Constructors

Properties

_requirements: Set<object> = ...
headingSupplier: (() => number)

Type declaration

    • (): number
    • Returns number

previousHeadingRadians: undefined | number
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