Class GantryClient

A gRPC-web client for the Gantry component.

Hierarchy

  • GantryClient

Implements

Constructors

Properties

client: GantryServiceClient
name: string
options: Options

Accessors

  • get GantryService(): GantryServiceClient
  • Returns GantryServiceClient

Methods

  • Send/Receive arbitrary commands to the resource.

    Parameters

    Returns Promise<StructType>

  • Returns

    The lengths of the axes of the gantry in millimeters.

    Parameters

    • extra: {} = {}

      Returns Promise<number[]>

    • Returns

      The current position of each axis.

      Parameters

      • extra: {} = {}

        Returns Promise<number[]>

      • Runs the homing sequence to find the start and end positions of the gantry axis.

        Returns

        A bool representing whether the gantry has run the homing sequence successfully.

        Parameters

        • extra: {} = {}

          Returns Promise<boolean>

        • Get if the gantry is currently moving.

          Returns Promise<boolean>

        • Move each axis of the gantry to the positionsMm at the speeds in speedsMmPerSec

          Parameters

          • positionsMm: number[]

            The goal positions for each axis of the gantry.

          • speedsMmPerSec: number[]

            The desired speed for each axis to move to the respective position in positionsMm.

          • extra: {} = {}

            Returns Promise<void>

          • Stops the motion of the gantry.

            Parameters

            • extra: {} = {}

              Returns Promise<void>

            Generated using TypeDoc