@viamrobotics/sdk 0.0.37 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,3 @@
1
- import type { WorldState } from '../../gen/common/v1/common_pb';
2
1
  import type { JointPositions } from '../../gen/component/arm/v1/arm_pb';
3
2
  import type { Extra, Pose } from '../../types';
4
3
  /** Represents a physical robot arm that exists in three-dimensional space. */
@@ -6,12 +5,11 @@ export interface Arm {
6
5
  /** Get the position of the end of the arm expressed as a pose */
7
6
  getEndPosition: (extra?: Extra) => Promise<Pose>;
8
7
  /**
9
- * Move the end of the arm to the pose, avoiding obstacles in the worldstate.
8
+ * Move the end of the arm to the pose.
10
9
  *
11
- * @param pose - The destination pose for the arm
12
- * @param world - The obstacles for the arm to avoid
10
+ * @param pose - The destination pose for the arm.
13
11
  */
14
- moveToPosition: (pose: Pose, world?: WorldState, extra?: Extra) => Promise<void>;
12
+ moveToPosition: (pose: Pose, extra?: Extra) => Promise<void>;
15
13
  /**
16
14
  * Move each joint of the arm based on the angles on the joint poisitons.
17
15
  * parameter
@@ -2,7 +2,6 @@ import type { RobotClient } from '../../robot';
2
2
  import pb from '../../gen/component/arm/v1/arm_pb';
3
3
  import type { Options, Pose } from '../../types';
4
4
  import type { Arm } from './Arm';
5
- import commonPB from '../../gen/common/v1/common_pb';
6
5
  /** A gRPC-web client for the Arm component. */
7
6
  export declare class ArmClient implements Arm {
8
7
  private client;
@@ -19,7 +18,7 @@ export declare class ArmClient implements Arm {
19
18
  oz: number;
20
19
  theta: number;
21
20
  }>;
22
- moveToPosition(pose: Pose, world?: commonPB.WorldState, extra?: {}): Promise<void>;
21
+ moveToPosition(pose: Pose, extra?: {}): Promise<void>;
23
22
  moveToJointPositions(jointPositionsList: number[], extra?: {}): Promise<void>;
24
23
  getJointPositions(extra?: {}): Promise<pb.JointPositions>;
25
24
  stop(extra?: {}): Promise<void>;