@viamrobotics/sdk 0.0.41 → 0.0.42
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.
- package/dist/components/arm/Client.d.ts +1 -9
- package/dist/main.d.ts +4 -20
- package/dist/main.es.js +518 -424
- package/dist/main.umd.js +9 -9
- package/dist/services/datamanager/client.d.ts +11 -0
- package/dist/services/datamanager/datamanager.d.ts +4 -0
- package/dist/services/motion/Client.d.ts +20 -0
- package/dist/services/motion/Motion.d.ts +50 -0
- package/dist/services/motion/types.d.ts +4 -0
- package/dist/services/motion.d.ts +3 -0
- package/dist/types.d.ts +21 -0
- package/dist/utils.d.ts +22 -0
- package/package.json +22 -20
|
@@ -13,15 +13,7 @@ export declare class ArmClient implements Arm {
|
|
|
13
13
|
private readonly options;
|
|
14
14
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
15
15
|
private get ArmService();
|
|
16
|
-
getEndPosition(extra?: {}): Promise<
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
z: number;
|
|
20
|
-
ox: number;
|
|
21
|
-
oy: number;
|
|
22
|
-
oz: number;
|
|
23
|
-
theta: number;
|
|
24
|
-
}>;
|
|
16
|
+
getEndPosition(extra?: {}): Promise<import("../../gen/common/v1/common_pb").Pose.AsObject>;
|
|
25
17
|
moveToPosition(pose: Pose, extra?: {}): Promise<void>;
|
|
26
18
|
moveToJointPositions(jointPositionsList: number[], extra?: {}): Promise<void>;
|
|
27
19
|
getJointPositions(extra?: {}): Promise<pb.JointPositions>;
|
package/dist/main.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const version: string;
|
|
2
2
|
/**
|
|
3
3
|
* Raw Protobuf interfaces for a Robot component.
|
|
4
4
|
*
|
|
@@ -248,29 +248,12 @@ export { default as inputControllerApi } from './gen/component/inputcontroller/v
|
|
|
248
248
|
*
|
|
249
249
|
* Generated with https://github.com/improbable-eng/grpc-web
|
|
250
250
|
*
|
|
251
|
-
* @
|
|
252
|
-
*
|
|
253
|
-
* ```ts
|
|
254
|
-
* import { grpc } from '@improbable-eng/grpc-web';
|
|
255
|
-
*
|
|
256
|
-
* const client = {}; // replace with a connected robot client
|
|
257
|
-
*
|
|
258
|
-
* const request = new motionApi.GetPoseRequest();
|
|
259
|
-
* request.setName('mymotion');
|
|
260
|
-
*
|
|
261
|
-
* client.motionService.getPose(
|
|
262
|
-
* request,
|
|
263
|
-
* new grpc.Metadata(),
|
|
264
|
-
* (error, response) => {
|
|
265
|
-
* // do something with error or response
|
|
266
|
-
* }
|
|
267
|
-
* );
|
|
268
|
-
* ```
|
|
269
|
-
*
|
|
251
|
+
* @deprecated Use {@link MotionClient} instead.
|
|
270
252
|
* @alpha
|
|
271
253
|
* @group Raw Protobufs
|
|
272
254
|
*/
|
|
273
255
|
export { default as motionApi } from './gen/service/motion/v1/motion_pb';
|
|
256
|
+
export { type Motion, type MotionConstraints, MotionClient, } from './services/motion';
|
|
274
257
|
/**
|
|
275
258
|
* Raw Protobuf interfaces for a Navigation service.
|
|
276
259
|
*
|
|
@@ -404,3 +387,4 @@ export { default as commonApi } from './gen/common/v1/common_pb';
|
|
|
404
387
|
* @group Raw Protobufs
|
|
405
388
|
*/
|
|
406
389
|
export type { ResponseStream, ServiceError, } from './gen/robot/v1/robot_pb_service';
|
|
390
|
+
export * from './types';
|