@viamrobotics/sdk 0.22.0-b.0 → 0.23.0
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/api-version.d.ts +1 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +346 -0
- package/dist/gen/app/build/v1/build_pb_service.d.ts +133 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +72 -0
- package/dist/gen/app/data/v1/data_pb_service.d.ts +19 -0
- package/dist/gen/app/v1/app_pb.d.ts +42 -0
- package/dist/gen/google/api/client_pb.d.ts +26 -0
- package/dist/main.es.js +407 -14
- package/dist/main.umd.js +2 -2
- package/dist/robot/client.d.ts +1 -0
- package/dist/robot/robot.d.ts +7 -0
- package/dist/services/vision/client.d.ts +5 -1
- package/package.json +1 -1
package/dist/robot/client.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export declare class RobotClient extends EventDispatcher implements Robot {
|
|
|
116
116
|
disconnect(): Promise<void>;
|
|
117
117
|
isConnected(): boolean;
|
|
118
118
|
connect({ authEntity, creds, priority, dialTimeout, }?: ConnectOptions): Promise<void>;
|
|
119
|
+
getSessions(): Promise<proto.Session.AsObject[]>;
|
|
119
120
|
getOperations(): Promise<proto.Operation[]>;
|
|
120
121
|
cancelOperation(id: string): Promise<void>;
|
|
121
122
|
blockForOperation(id: string): Promise<void>;
|
package/dist/robot/robot.d.ts
CHANGED
|
@@ -7,6 +7,13 @@ export type RobotStatusStream = ResponseStream<proto.Status[]>;
|
|
|
7
7
|
export type CloudMetadata = proto.GetCloudMetadataResponse.AsObject;
|
|
8
8
|
type Callback = (args: unknown) => void;
|
|
9
9
|
export interface Robot {
|
|
10
|
+
/**
|
|
11
|
+
* Get the list of sessions currently connected to the robot.
|
|
12
|
+
*
|
|
13
|
+
* @group Sessions
|
|
14
|
+
* @alpha
|
|
15
|
+
*/
|
|
16
|
+
getSessions(): Promise<proto.Session.AsObject[]>;
|
|
10
17
|
/**
|
|
11
18
|
* Get the list of operations currently running on the robot.
|
|
12
19
|
*
|
|
@@ -27,7 +27,11 @@ export declare class VisionClient implements Vision {
|
|
|
27
27
|
objectPointCloudsSupported: boolean;
|
|
28
28
|
}>;
|
|
29
29
|
captureAllFromCamera(cameraName: string, { returnImage, returnClassifications, returnDetections, returnObjectPointClouds, }: CaptureAllOptions, extra?: {}): Promise<{
|
|
30
|
-
image:
|
|
30
|
+
image: {
|
|
31
|
+
format: 0 | 2 | 1 | 3 | 4;
|
|
32
|
+
sourceName: string;
|
|
33
|
+
image: Uint8Array;
|
|
34
|
+
} | undefined;
|
|
31
35
|
classifications: pb.Classification.AsObject[];
|
|
32
36
|
detections: pb.Detection.AsObject[];
|
|
33
37
|
objectPointClouds: commonPB.PointCloudObject.AsObject[];
|