@viamrobotics/sdk 0.49.0 → 0.50.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/app/data-client.d.ts +2 -2
- package/dist/assert.d.ts +9 -0
- package/dist/components/camera/camera.d.ts +30 -1
- package/dist/components/camera/client.d.ts +9 -1
- package/dist/constants.d.ts +1 -1
- package/dist/gen/app/data/v1/data_connect.d.ts +4 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +8 -0
- package/dist/gen/common/v1/common_pb.d.ts +44 -0
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +71 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +41 -2
- package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +62 -0
- package/dist/gen/service/worldstatestore/v1/world_state_store_pb.d.ts +224 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +5775 -5389
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +121 -37
- package/dist/robot/dial.d.ts +1 -46
- package/dist/robot/robot.d.ts +1 -2
- package/dist/robot/session-manager.d.ts +2 -1
- package/dist/robot.d.ts +2 -2
- package/dist/rpc/signaling-exchange.d.ts +2 -2
- package/dist/services/data-manager/client.d.ts +27 -0
- package/dist/services/data-manager/data-manager.d.ts +2 -0
- package/dist/services/motion/types.d.ts +2 -1
- package/dist/services/world-state-store/client.d.ts +22 -0
- package/dist/services/world-state-store/client.spec.d.ts +1 -0
- package/dist/services/world-state-store/index.d.ts +5 -0
- package/dist/services/world-state-store/types.d.ts +9 -0
- package/dist/services/world-state-store/world-state-store.d.ts +76 -0
- package/dist/types.d.ts +2 -1
- package/package.json +2 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.475";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type JsonValue } from '@bufbuild/protobuf';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Client, type Transport } from '@connectrpc/connect';
|
|
3
3
|
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource, TabularDataSourceType } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
5
5
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
@@ -888,7 +888,7 @@ export declare class ListDataPipelineRunsPage {
|
|
|
888
888
|
readonly runs: DataPipelineRun[];
|
|
889
889
|
private readonly pageSize?;
|
|
890
890
|
private readonly nextPageToken?;
|
|
891
|
-
constructor(dataPipelinesClient:
|
|
891
|
+
constructor(dataPipelinesClient: Client<typeof DataPipelinesService>, pipelineId: string, runs?: DataPipelineRun[], pageSize?: number | undefined, nextPageToken?: string | undefined);
|
|
892
892
|
/**
|
|
893
893
|
* Retrieves the next page of data pipeline runs.
|
|
894
894
|
*
|
package/dist/assert.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Assertion functions for runtime and type safety. */
|
|
2
|
+
/**
|
|
3
|
+
* Assert that a value is defined.
|
|
4
|
+
*
|
|
5
|
+
* @example Const stringify = (value: number | undefined): number => {
|
|
6
|
+
* assertExists(value) return `${value}` // TS now knows that value is of type
|
|
7
|
+
* `number` }
|
|
8
|
+
*/
|
|
9
|
+
export declare const assertExists: <T>(value: T, message: string) => asserts value is NonNullable<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
|
+
import type { Timestamp } from '@bufbuild/protobuf';
|
|
2
3
|
import type { DistortionParameters, IntrinsicParameters } from '../../gen/component/camera/v1/camera_pb';
|
|
3
4
|
import type { Resource } from '../../types';
|
|
4
5
|
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
@@ -12,7 +13,15 @@ export interface Properties {
|
|
|
12
13
|
/** Camera frame rate parameters, if available. */
|
|
13
14
|
frameRate?: number;
|
|
14
15
|
}
|
|
15
|
-
export
|
|
16
|
+
export interface NamedImage {
|
|
17
|
+
sourceName: string;
|
|
18
|
+
image: Uint8Array;
|
|
19
|
+
mimeType: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ResponseMetadata {
|
|
22
|
+
capturedAt: Timestamp;
|
|
23
|
+
}
|
|
24
|
+
export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/vnd.viam.depth' | 'image/jpeg' | 'image/png' | 'pointcloud/pcd' | 'unsupported';
|
|
16
25
|
/** Represents any physical hardware that can capture frames. */
|
|
17
26
|
export interface Camera extends Resource {
|
|
18
27
|
/** Get the geometries of the component in their current configuration */
|
|
@@ -50,6 +59,26 @@ export interface Camera extends Resource {
|
|
|
50
59
|
* the same type that will be returned.
|
|
51
60
|
*/
|
|
52
61
|
getImage: (mimeType?: MimeType, extra?: Struct) => Promise<Uint8Array>;
|
|
62
|
+
/**
|
|
63
|
+
* Return a frame from a camera.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
*
|
|
67
|
+
* ```ts
|
|
68
|
+
* const camera = new VIAM.CameraClient(machine, 'my_camera');
|
|
69
|
+
* const images = await camera.getImages();
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* TODO(docs): include docs link for get images TS example
|
|
73
|
+
*
|
|
74
|
+
* @param filterSourceNames - A list of source names to filter the images by.
|
|
75
|
+
* If empty or undefined, all images will be returned.
|
|
76
|
+
* @param extra - Extra parameters to pass to the camera.
|
|
77
|
+
*/
|
|
78
|
+
getImages: (filterSourceNames?: string[], extra?: Struct) => Promise<{
|
|
79
|
+
images: NamedImage[];
|
|
80
|
+
metadata: ResponseMetadata;
|
|
81
|
+
}>;
|
|
53
82
|
/**
|
|
54
83
|
* Render a frame from a camera to an HTTP response.
|
|
55
84
|
*
|
|
@@ -2,7 +2,7 @@ import { type JsonValue, Struct } from '@bufbuild/protobuf';
|
|
|
2
2
|
import type { CallOptions } from '@connectrpc/connect';
|
|
3
3
|
import type { RobotClient } from '../../robot';
|
|
4
4
|
import type { Options } from '../../types';
|
|
5
|
-
import type { Camera, MimeType } from './camera';
|
|
5
|
+
import type { Camera, MimeType, ResponseMetadata } from './camera';
|
|
6
6
|
/**
|
|
7
7
|
* A gRPC-web client for the Camera component.
|
|
8
8
|
*
|
|
@@ -16,6 +16,14 @@ export declare class CameraClient implements Camera {
|
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
18
18
|
getImage(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
19
|
+
getImages(filterSourceNames?: string[], extra?: {}, callOptions?: CallOptions): Promise<{
|
|
20
|
+
images: {
|
|
21
|
+
sourceName: string;
|
|
22
|
+
image: Uint8Array;
|
|
23
|
+
mimeType: string;
|
|
24
|
+
}[];
|
|
25
|
+
metadata: ResponseMetadata;
|
|
26
|
+
}>;
|
|
19
27
|
renderFrame(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Blob>;
|
|
20
28
|
getPointCloud(extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
21
29
|
getProperties(callOptions?: CallOptions): Promise<import("../../gen/component/camera/v1/camera_pb").GetPropertiesResponse>;
|
package/dist/constants.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const DIAL_TIMEOUT =
|
|
1
|
+
export declare const DIAL_TIMEOUT = 10000;
|
|
@@ -140,6 +140,7 @@ export declare const DataService: {
|
|
|
140
140
|
* AddTagsToBinaryDataByFilter adds string tags, unless the tags are already present, to binary data based on the given filter.
|
|
141
141
|
*
|
|
142
142
|
* @generated from rpc viam.app.data.v1.DataService.AddTagsToBinaryDataByFilter
|
|
143
|
+
* @deprecated
|
|
143
144
|
*/
|
|
144
145
|
readonly addTagsToBinaryDataByFilter: {
|
|
145
146
|
readonly name: "AddTagsToBinaryDataByFilter",
|
|
@@ -162,6 +163,7 @@ export declare const DataService: {
|
|
|
162
163
|
* RemoveTagsToBinaryDataByFilter removes string tags from binary data based on the given filter.
|
|
163
164
|
*
|
|
164
165
|
* @generated from rpc viam.app.data.v1.DataService.RemoveTagsFromBinaryDataByFilter
|
|
166
|
+
* @deprecated
|
|
165
167
|
*/
|
|
166
168
|
readonly removeTagsFromBinaryDataByFilter: {
|
|
167
169
|
readonly name: "RemoveTagsFromBinaryDataByFilter",
|
|
@@ -173,6 +175,7 @@ export declare const DataService: {
|
|
|
173
175
|
* TagsByFilter gets all unique tags from data based on given filter.
|
|
174
176
|
*
|
|
175
177
|
* @generated from rpc viam.app.data.v1.DataService.TagsByFilter
|
|
178
|
+
* @deprecated
|
|
176
179
|
*/
|
|
177
180
|
readonly tagsByFilter: {
|
|
178
181
|
readonly name: "TagsByFilter",
|
|
@@ -206,6 +209,7 @@ export declare const DataService: {
|
|
|
206
209
|
* BoundingBoxLabelsByFilter gets all string labels for bounding boxes from data based on given filter.
|
|
207
210
|
*
|
|
208
211
|
* @generated from rpc viam.app.data.v1.DataService.BoundingBoxLabelsByFilter
|
|
212
|
+
* @deprecated
|
|
209
213
|
*/
|
|
210
214
|
readonly boundingBoxLabelsByFilter: {
|
|
211
215
|
readonly name: "BoundingBoxLabelsByFilter",
|
|
@@ -1558,6 +1558,7 @@ export declare class AddTagsToBinaryDataByIDsResponse extends Message<AddTagsToB
|
|
|
1558
1558
|
* AddTagsToBinaryDataByFilterRequest requests adding all specified tags to each of the files when a filter is provided.
|
|
1559
1559
|
*
|
|
1560
1560
|
* @generated from message viam.app.data.v1.AddTagsToBinaryDataByFilterRequest
|
|
1561
|
+
* @deprecated
|
|
1561
1562
|
*/
|
|
1562
1563
|
export declare class AddTagsToBinaryDataByFilterRequest extends Message<AddTagsToBinaryDataByFilterRequest> {
|
|
1563
1564
|
/**
|
|
@@ -1587,6 +1588,7 @@ export declare class AddTagsToBinaryDataByFilterRequest extends Message<AddTagsT
|
|
|
1587
1588
|
|
|
1588
1589
|
/**
|
|
1589
1590
|
* @generated from message viam.app.data.v1.AddTagsToBinaryDataByFilterResponse
|
|
1591
|
+
* @deprecated
|
|
1590
1592
|
*/
|
|
1591
1593
|
export declare class AddTagsToBinaryDataByFilterResponse extends Message<AddTagsToBinaryDataByFilterResponse> {
|
|
1592
1594
|
constructor(data?: PartialMessage<AddTagsToBinaryDataByFilterResponse>);
|
|
@@ -1671,6 +1673,7 @@ export declare class RemoveTagsFromBinaryDataByIDsResponse extends Message<Remov
|
|
|
1671
1673
|
* RemoveTagsFromBinaryDataByFilterRequest requests removing the given tags value from each file when a filter is provided.
|
|
1672
1674
|
*
|
|
1673
1675
|
* @generated from message viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest
|
|
1676
|
+
* @deprecated
|
|
1674
1677
|
*/
|
|
1675
1678
|
export declare class RemoveTagsFromBinaryDataByFilterRequest extends Message<RemoveTagsFromBinaryDataByFilterRequest> {
|
|
1676
1679
|
/**
|
|
@@ -1702,6 +1705,7 @@ export declare class RemoveTagsFromBinaryDataByFilterRequest extends Message<Rem
|
|
|
1702
1705
|
* RemoveTagsFromBinaryDataByFilterResponse returns the number of binary files which had tags removed.
|
|
1703
1706
|
*
|
|
1704
1707
|
* @generated from message viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse
|
|
1708
|
+
* @deprecated
|
|
1705
1709
|
*/
|
|
1706
1710
|
export declare class RemoveTagsFromBinaryDataByFilterResponse extends Message<RemoveTagsFromBinaryDataByFilterResponse> {
|
|
1707
1711
|
/**
|
|
@@ -1728,6 +1732,7 @@ export declare class RemoveTagsFromBinaryDataByFilterResponse extends Message<Re
|
|
|
1728
1732
|
* TagsByFilterRequest requests the unique tags from data based on given filter.
|
|
1729
1733
|
*
|
|
1730
1734
|
* @generated from message viam.app.data.v1.TagsByFilterRequest
|
|
1735
|
+
* @deprecated
|
|
1731
1736
|
*/
|
|
1732
1737
|
export declare class TagsByFilterRequest extends Message<TagsByFilterRequest> {
|
|
1733
1738
|
/**
|
|
@@ -1754,6 +1759,7 @@ export declare class TagsByFilterRequest extends Message<TagsByFilterRequest> {
|
|
|
1754
1759
|
* TagsByFilterResponse returns the unique tags from data based on given filter.
|
|
1755
1760
|
*
|
|
1756
1761
|
* @generated from message viam.app.data.v1.TagsByFilterResponse
|
|
1762
|
+
* @deprecated
|
|
1757
1763
|
*/
|
|
1758
1764
|
export declare class TagsByFilterResponse extends Message<TagsByFilterResponse> {
|
|
1759
1765
|
/**
|
|
@@ -2001,6 +2007,7 @@ export declare class UpdateBoundingBoxResponse extends Message<UpdateBoundingBox
|
|
|
2001
2007
|
* BoundingBoxLabelsByFilterRequest requests all the labels of the bounding boxes from files from a given filter.
|
|
2002
2008
|
*
|
|
2003
2009
|
* @generated from message viam.app.data.v1.BoundingBoxLabelsByFilterRequest
|
|
2010
|
+
* @deprecated
|
|
2004
2011
|
*/
|
|
2005
2012
|
export declare class BoundingBoxLabelsByFilterRequest extends Message<BoundingBoxLabelsByFilterRequest> {
|
|
2006
2013
|
/**
|
|
@@ -2027,6 +2034,7 @@ export declare class BoundingBoxLabelsByFilterRequest extends Message<BoundingBo
|
|
|
2027
2034
|
* BoundingBoxLabelsByFilterRequest returns all the labels of the bounding boxes from files from a given filter.
|
|
2028
2035
|
*
|
|
2029
2036
|
* @generated from message viam.app.data.v1.BoundingBoxLabelsByFilterResponse
|
|
2037
|
+
* @deprecated
|
|
2030
2038
|
*/
|
|
2031
2039
|
export declare class BoundingBoxLabelsByFilterResponse extends Message<BoundingBoxLabelsByFilterResponse> {
|
|
2032
2040
|
/**
|
|
@@ -379,6 +379,30 @@ export declare class Mesh extends Message<Mesh> {
|
|
|
379
379
|
static equals(a: Mesh | PlainMessage<Mesh> | undefined, b: Mesh | PlainMessage<Mesh> | undefined): boolean;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
/**
|
|
383
|
+
* @generated from message viam.common.v1.PointCloud
|
|
384
|
+
*/
|
|
385
|
+
export declare class PointCloud extends Message<PointCloud> {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: bytes point_cloud = 1;
|
|
388
|
+
*/
|
|
389
|
+
pointCloud: Uint8Array;
|
|
390
|
+
|
|
391
|
+
constructor(data?: PartialMessage<PointCloud>);
|
|
392
|
+
|
|
393
|
+
static readonly runtime: typeof proto3;
|
|
394
|
+
static readonly typeName = "viam.common.v1.PointCloud";
|
|
395
|
+
static readonly fields: FieldList;
|
|
396
|
+
|
|
397
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PointCloud;
|
|
398
|
+
|
|
399
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PointCloud;
|
|
400
|
+
|
|
401
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PointCloud;
|
|
402
|
+
|
|
403
|
+
static equals(a: PointCloud | PlainMessage<PointCloud> | undefined, b: PointCloud | PlainMessage<PointCloud> | undefined): boolean;
|
|
404
|
+
}
|
|
405
|
+
|
|
382
406
|
/**
|
|
383
407
|
* Geometry contains the dimensions of a given geometry and the pose of its center. The geometry is one of either a sphere or a box.
|
|
384
408
|
*
|
|
@@ -421,6 +445,12 @@ export declare class Geometry extends Message<Geometry> {
|
|
|
421
445
|
*/
|
|
422
446
|
value: Mesh;
|
|
423
447
|
case: "mesh";
|
|
448
|
+
} | {
|
|
449
|
+
/**
|
|
450
|
+
* @generated from field: viam.common.v1.PointCloud pointcloud = 7;
|
|
451
|
+
*/
|
|
452
|
+
value: PointCloud;
|
|
453
|
+
case: "pointcloud";
|
|
424
454
|
} | { case: undefined; value?: undefined };
|
|
425
455
|
|
|
426
456
|
/**
|
|
@@ -608,6 +638,20 @@ export declare class Transform extends Message<Transform> {
|
|
|
608
638
|
*/
|
|
609
639
|
physicalObject?: Geometry;
|
|
610
640
|
|
|
641
|
+
/**
|
|
642
|
+
* The UUID of the transform
|
|
643
|
+
*
|
|
644
|
+
* @generated from field: bytes uuid = 4;
|
|
645
|
+
*/
|
|
646
|
+
uuid: Uint8Array;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Can hold information like color, opacity, points colors, collision_allowed, etc...
|
|
650
|
+
*
|
|
651
|
+
* @generated from field: optional google.protobuf.Struct metadata = 5;
|
|
652
|
+
*/
|
|
653
|
+
metadata?: Struct;
|
|
654
|
+
|
|
611
655
|
constructor(data?: PartialMessage<Transform>);
|
|
612
656
|
|
|
613
657
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { SyncRequest, SyncResponse } from "./data_manager_pb.js";
|
|
6
|
+
import { SyncRequest, SyncResponse, UploadBinaryDataToDatasetsRequest, UploadBinaryDataToDatasetsResponse } from "./data_manager_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -37,6 +37,17 @@ export declare const DataManagerService: {
|
|
|
37
37
|
readonly O: typeof DoCommandResponse,
|
|
38
38
|
readonly kind: MethodKind.Unary,
|
|
39
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* UploadBinaryDataToDatasets uploads binary data to specified datasets.
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc viam.service.datamanager.v1.DataManagerService.UploadBinaryDataToDatasets
|
|
44
|
+
*/
|
|
45
|
+
readonly uploadBinaryDataToDatasets: {
|
|
46
|
+
readonly name: "UploadBinaryDataToDatasets",
|
|
47
|
+
readonly I: typeof UploadBinaryDataToDatasetsRequest,
|
|
48
|
+
readonly O: typeof UploadBinaryDataToDatasetsResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
40
51
|
}
|
|
41
52
|
};
|
|
42
53
|
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { MimeType } from "../../../app/datasync/v1/data_sync_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from message viam.service.datamanager.v1.SyncRequest
|
|
@@ -56,3 +57,73 @@ export declare class SyncResponse extends Message<SyncResponse> {
|
|
|
56
57
|
static equals(a: SyncResponse | PlainMessage<SyncResponse> | undefined, b: SyncResponse | PlainMessage<SyncResponse> | undefined): boolean;
|
|
57
58
|
}
|
|
58
59
|
|
|
60
|
+
/**
|
|
61
|
+
* @generated from message viam.service.datamanager.v1.UploadBinaryDataToDatasetsRequest
|
|
62
|
+
*/
|
|
63
|
+
export declare class UploadBinaryDataToDatasetsRequest extends Message<UploadBinaryDataToDatasetsRequest> {
|
|
64
|
+
/**
|
|
65
|
+
* @generated from field: string name = 1;
|
|
66
|
+
*/
|
|
67
|
+
name: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* @generated from field: bytes binary_data = 2;
|
|
71
|
+
*/
|
|
72
|
+
binaryData: Uint8Array;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated string tags = 3;
|
|
76
|
+
*/
|
|
77
|
+
tags: string[];
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* @generated from field: repeated string dataset_ids = 4;
|
|
81
|
+
*/
|
|
82
|
+
datasetIds: string[];
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* @generated from field: viam.app.datasync.v1.MimeType mime_type = 5;
|
|
86
|
+
*/
|
|
87
|
+
mimeType: MimeType;
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Additional arguments to the method
|
|
91
|
+
*
|
|
92
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
93
|
+
*/
|
|
94
|
+
extra?: Struct;
|
|
95
|
+
|
|
96
|
+
constructor(data?: PartialMessage<UploadBinaryDataToDatasetsRequest>);
|
|
97
|
+
|
|
98
|
+
static readonly runtime: typeof proto3;
|
|
99
|
+
static readonly typeName = "viam.service.datamanager.v1.UploadBinaryDataToDatasetsRequest";
|
|
100
|
+
static readonly fields: FieldList;
|
|
101
|
+
|
|
102
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UploadBinaryDataToDatasetsRequest;
|
|
103
|
+
|
|
104
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsRequest;
|
|
105
|
+
|
|
106
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsRequest;
|
|
107
|
+
|
|
108
|
+
static equals(a: UploadBinaryDataToDatasetsRequest | PlainMessage<UploadBinaryDataToDatasetsRequest> | undefined, b: UploadBinaryDataToDatasetsRequest | PlainMessage<UploadBinaryDataToDatasetsRequest> | undefined): boolean;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from message viam.service.datamanager.v1.UploadBinaryDataToDatasetsResponse
|
|
113
|
+
*/
|
|
114
|
+
export declare class UploadBinaryDataToDatasetsResponse extends Message<UploadBinaryDataToDatasetsResponse> {
|
|
115
|
+
constructor(data?: PartialMessage<UploadBinaryDataToDatasetsResponse>);
|
|
116
|
+
|
|
117
|
+
static readonly runtime: typeof proto3;
|
|
118
|
+
static readonly typeName = "viam.service.datamanager.v1.UploadBinaryDataToDatasetsResponse";
|
|
119
|
+
static readonly fields: FieldList;
|
|
120
|
+
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UploadBinaryDataToDatasetsResponse;
|
|
122
|
+
|
|
123
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsResponse;
|
|
124
|
+
|
|
125
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UploadBinaryDataToDatasetsResponse;
|
|
126
|
+
|
|
127
|
+
static equals(a: UploadBinaryDataToDatasetsResponse | PlainMessage<UploadBinaryDataToDatasetsResponse> | undefined, b: UploadBinaryDataToDatasetsResponse | PlainMessage<UploadBinaryDataToDatasetsResponse> | undefined): boolean;
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -749,12 +749,17 @@ export declare class Constraints extends Message<Constraints> {
|
|
|
749
749
|
orientationConstraint: OrientationConstraint[];
|
|
750
750
|
|
|
751
751
|
/**
|
|
752
|
-
* Arc constraint, Time constraint, and others will be added here when they are supported
|
|
753
|
-
*
|
|
754
752
|
* @generated from field: repeated viam.service.motion.v1.CollisionSpecification collision_specification = 3;
|
|
755
753
|
*/
|
|
756
754
|
collisionSpecification: CollisionSpecification[];
|
|
757
755
|
|
|
756
|
+
/**
|
|
757
|
+
* Arc constraint, Time constraint, and others will be added here when they are supported
|
|
758
|
+
*
|
|
759
|
+
* @generated from field: repeated viam.service.motion.v1.PseudolinearConstraint pseudolinear_constraint = 4;
|
|
760
|
+
*/
|
|
761
|
+
pseudolinearConstraint: PseudolinearConstraint[];
|
|
762
|
+
|
|
758
763
|
constructor(data?: PartialMessage<Constraints>);
|
|
759
764
|
|
|
760
765
|
static readonly runtime: typeof proto3;
|
|
@@ -806,6 +811,40 @@ export declare class LinearConstraint extends Message<LinearConstraint> {
|
|
|
806
811
|
static equals(a: LinearConstraint | PlainMessage<LinearConstraint> | undefined, b: LinearConstraint | PlainMessage<LinearConstraint> | undefined): boolean;
|
|
807
812
|
}
|
|
808
813
|
|
|
814
|
+
/**
|
|
815
|
+
* PseudolinearConstraint specifies that the component being moved should not deviate from the straight-line path to their goal by
|
|
816
|
+
* more than a factor proportional to the distance from start to goal.
|
|
817
|
+
* For example, if a component is moving 100mm, then a LineToleranceFactor of 1.0 means that the component will remain within a 100mm
|
|
818
|
+
* radius of the straight-line start-goal path.
|
|
819
|
+
*
|
|
820
|
+
* @generated from message viam.service.motion.v1.PseudolinearConstraint
|
|
821
|
+
*/
|
|
822
|
+
export declare class PseudolinearConstraint extends Message<PseudolinearConstraint> {
|
|
823
|
+
/**
|
|
824
|
+
* @generated from field: optional float line_tolerance_factor = 1;
|
|
825
|
+
*/
|
|
826
|
+
lineToleranceFactor?: number;
|
|
827
|
+
|
|
828
|
+
/**
|
|
829
|
+
* @generated from field: optional float orientation_tolerance_factor = 2;
|
|
830
|
+
*/
|
|
831
|
+
orientationToleranceFactor?: number;
|
|
832
|
+
|
|
833
|
+
constructor(data?: PartialMessage<PseudolinearConstraint>);
|
|
834
|
+
|
|
835
|
+
static readonly runtime: typeof proto3;
|
|
836
|
+
static readonly typeName = "viam.service.motion.v1.PseudolinearConstraint";
|
|
837
|
+
static readonly fields: FieldList;
|
|
838
|
+
|
|
839
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PseudolinearConstraint;
|
|
840
|
+
|
|
841
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PseudolinearConstraint;
|
|
842
|
+
|
|
843
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PseudolinearConstraint;
|
|
844
|
+
|
|
845
|
+
static equals(a: PseudolinearConstraint | PlainMessage<PseudolinearConstraint> | undefined, b: PseudolinearConstraint | PlainMessage<PseudolinearConstraint> | undefined): boolean;
|
|
846
|
+
}
|
|
847
|
+
|
|
809
848
|
/**
|
|
810
849
|
* OrientationConstraint specifies that the component being moved will not deviate its orientation beyond some threshold relative
|
|
811
850
|
* to the goal. It does not constrain the motion of components other than the `component_name` specified in motion.Move
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file service/worldstatestore/v1/world_state_store.proto (package viam.service.worldstatestore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetTransformRequest, GetTransformResponse, ListUUIDsRequest, ListUUIDsResponse, StreamTransformChangesRequest, StreamTransformChangesResponse } from "./world_state_store_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from service viam.service.worldstatestore.v1.WorldStateStoreService
|
|
12
|
+
*/
|
|
13
|
+
export declare const WorldStateStoreService: {
|
|
14
|
+
readonly typeName: "viam.service.worldstatestore.v1.WorldStateStoreService",
|
|
15
|
+
readonly methods: {
|
|
16
|
+
/**
|
|
17
|
+
* ListUUIDs returns all world state transform UUIDs
|
|
18
|
+
*
|
|
19
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.ListUUIDs
|
|
20
|
+
*/
|
|
21
|
+
readonly listUUIDs: {
|
|
22
|
+
readonly name: "ListUUIDs",
|
|
23
|
+
readonly I: typeof ListUUIDsRequest,
|
|
24
|
+
readonly O: typeof ListUUIDsResponse,
|
|
25
|
+
readonly kind: MethodKind.Unary,
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* GetTransform returns a world state transform by uuid
|
|
29
|
+
*
|
|
30
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.GetTransform
|
|
31
|
+
*/
|
|
32
|
+
readonly getTransform: {
|
|
33
|
+
readonly name: "GetTransform",
|
|
34
|
+
readonly I: typeof GetTransformRequest,
|
|
35
|
+
readonly O: typeof GetTransformResponse,
|
|
36
|
+
readonly kind: MethodKind.Unary,
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* StreamTransformChanges streams changes to world state transforms
|
|
40
|
+
*
|
|
41
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.StreamTransformChanges
|
|
42
|
+
*/
|
|
43
|
+
readonly streamTransformChanges: {
|
|
44
|
+
readonly name: "StreamTransformChanges",
|
|
45
|
+
readonly I: typeof StreamTransformChangesRequest,
|
|
46
|
+
readonly O: typeof StreamTransformChangesResponse,
|
|
47
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* DoCommand sends/receives arbitrary commands
|
|
51
|
+
*
|
|
52
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.DoCommand
|
|
53
|
+
*/
|
|
54
|
+
readonly doCommand: {
|
|
55
|
+
readonly name: "DoCommand",
|
|
56
|
+
readonly I: typeof DoCommandRequest,
|
|
57
|
+
readonly O: typeof DoCommandResponse,
|
|
58
|
+
readonly kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|