Class ArmClient

A gRPC-web client for the Arm component.

Hierarchy

  • ArmClient

Implements

Constructors

Properties

client: ArmServiceClient
name: string
options: Options

Accessors

  • get ArmService(): ArmServiceClient
  • Returns ArmServiceClient

Methods

  • Send/Receive arbitrary commands to the resource.

    Parameters

    Returns Promise<StructType>

  • Get the position of the end of the arm expressed as a pose

    Parameters

    • extra: {} = {}

      Returns Promise<commonApi.Pose.AsObject>

    • Gets the current position of each joint.

      Parameters

      • extra: {} = {}

        Returns Promise<JointPositions>

      • Get if the arm is currently moving.

        Returns Promise<boolean>

      • Move each joint of the arm based on the angles on the joint poisitons. parameter

        Parameters

        • jointPositionsList: number[]

          List of angles (0-360) to move each joint to.

        • extra: {} = {}

          Returns Promise<void>

        • Move the end of the arm to the pose.

          Parameters

          Returns Promise<void>

        • Stops the motion of the arm.

          Parameters

          • extra: {} = {}

            Returns Promise<void>

          Generated using TypeDoc