@viamrobotics/sdk 0.12.0 → 0.12.1
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/README.md +1 -1
- package/dist/gen/app/v1/robot_pb.d.ts +6 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +60 -0
- package/dist/gen/component/board/v1/board_pb_service.d.ts +11 -0
- package/dist/gen/google/api/client_pb.d.ts +6 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +50 -0
- package/dist/main.es.js +380 -34
- package/dist/main.umd.js +4 -4
- package/dist/services/slam/client.d.ts +1 -1
- package/dist/services/slam/slam.d.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,11 @@ export class RobotConfig extends jspb.Message {
|
|
|
63
63
|
setPackagesList(value: Array<PackageConfig>): void;
|
|
64
64
|
addPackages(value?: PackageConfig, index?: number): PackageConfig;
|
|
65
65
|
|
|
66
|
+
clearOverwriteFragmentStatusList(): void;
|
|
67
|
+
getOverwriteFragmentStatusList(): Array<AppValidationStatus>;
|
|
68
|
+
setOverwriteFragmentStatusList(value: Array<AppValidationStatus>): void;
|
|
69
|
+
addOverwriteFragmentStatus(value?: AppValidationStatus, index?: number): AppValidationStatus;
|
|
70
|
+
|
|
66
71
|
serializeBinary(): Uint8Array;
|
|
67
72
|
toObject(includeInstance?: boolean): RobotConfig.AsObject;
|
|
68
73
|
static toObject(includeInstance: boolean, msg: RobotConfig): RobotConfig.AsObject;
|
|
@@ -86,6 +91,7 @@ export namespace RobotConfig {
|
|
|
86
91
|
modulesList: Array<ModuleConfig.AsObject>,
|
|
87
92
|
disablePartialStart: boolean,
|
|
88
93
|
packagesList: Array<PackageConfig.AsObject>,
|
|
94
|
+
overwriteFragmentStatusList: Array<AppValidationStatus.AsObject>,
|
|
89
95
|
}
|
|
90
96
|
}
|
|
91
97
|
|
|
@@ -505,6 +505,66 @@ export namespace GetDigitalInterruptValueResponse {
|
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
+
export class StreamTicksRequest extends jspb.Message {
|
|
509
|
+
getName(): string;
|
|
510
|
+
setName(value: string): void;
|
|
511
|
+
|
|
512
|
+
clearPinNamesList(): void;
|
|
513
|
+
getPinNamesList(): Array<string>;
|
|
514
|
+
setPinNamesList(value: Array<string>): void;
|
|
515
|
+
addPinNames(value: string, index?: number): string;
|
|
516
|
+
|
|
517
|
+
hasExtra(): boolean;
|
|
518
|
+
clearExtra(): void;
|
|
519
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
520
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
521
|
+
|
|
522
|
+
serializeBinary(): Uint8Array;
|
|
523
|
+
toObject(includeInstance?: boolean): StreamTicksRequest.AsObject;
|
|
524
|
+
static toObject(includeInstance: boolean, msg: StreamTicksRequest): StreamTicksRequest.AsObject;
|
|
525
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
526
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
527
|
+
static serializeBinaryToWriter(message: StreamTicksRequest, writer: jspb.BinaryWriter): void;
|
|
528
|
+
static deserializeBinary(bytes: Uint8Array): StreamTicksRequest;
|
|
529
|
+
static deserializeBinaryFromReader(message: StreamTicksRequest, reader: jspb.BinaryReader): StreamTicksRequest;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
export namespace StreamTicksRequest {
|
|
533
|
+
export type AsObject = {
|
|
534
|
+
name: string,
|
|
535
|
+
pinNamesList: Array<string>,
|
|
536
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
export class StreamTicksResponse extends jspb.Message {
|
|
541
|
+
getPinName(): string;
|
|
542
|
+
setPinName(value: string): void;
|
|
543
|
+
|
|
544
|
+
getTime(): number;
|
|
545
|
+
setTime(value: number): void;
|
|
546
|
+
|
|
547
|
+
getHigh(): boolean;
|
|
548
|
+
setHigh(value: boolean): void;
|
|
549
|
+
|
|
550
|
+
serializeBinary(): Uint8Array;
|
|
551
|
+
toObject(includeInstance?: boolean): StreamTicksResponse.AsObject;
|
|
552
|
+
static toObject(includeInstance: boolean, msg: StreamTicksResponse): StreamTicksResponse.AsObject;
|
|
553
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
554
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
555
|
+
static serializeBinaryToWriter(message: StreamTicksResponse, writer: jspb.BinaryWriter): void;
|
|
556
|
+
static deserializeBinary(bytes: Uint8Array): StreamTicksResponse;
|
|
557
|
+
static deserializeBinaryFromReader(message: StreamTicksResponse, reader: jspb.BinaryReader): StreamTicksResponse;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export namespace StreamTicksResponse {
|
|
561
|
+
export type AsObject = {
|
|
562
|
+
pinName: string,
|
|
563
|
+
time: number,
|
|
564
|
+
high: boolean,
|
|
565
|
+
}
|
|
566
|
+
}
|
|
567
|
+
|
|
508
568
|
export class SetPowerModeRequest extends jspb.Message {
|
|
509
569
|
getName(): string;
|
|
510
570
|
setName(value: string): void;
|
|
@@ -104,6 +104,15 @@ type BoardServiceGetDigitalInterruptValue = {
|
|
|
104
104
|
readonly responseType: typeof component_board_v1_board_pb.GetDigitalInterruptValueResponse;
|
|
105
105
|
};
|
|
106
106
|
|
|
107
|
+
type BoardServiceStreamTicks = {
|
|
108
|
+
readonly methodName: string;
|
|
109
|
+
readonly service: typeof BoardService;
|
|
110
|
+
readonly requestStream: false;
|
|
111
|
+
readonly responseStream: true;
|
|
112
|
+
readonly requestType: typeof component_board_v1_board_pb.StreamTicksRequest;
|
|
113
|
+
readonly responseType: typeof component_board_v1_board_pb.StreamTicksResponse;
|
|
114
|
+
};
|
|
115
|
+
|
|
107
116
|
type BoardServiceSetPowerMode = {
|
|
108
117
|
readonly methodName: string;
|
|
109
118
|
readonly service: typeof BoardService;
|
|
@@ -135,6 +144,7 @@ export class BoardService {
|
|
|
135
144
|
static readonly ReadAnalogReader: BoardServiceReadAnalogReader;
|
|
136
145
|
static readonly WriteAnalog: BoardServiceWriteAnalog;
|
|
137
146
|
static readonly GetDigitalInterruptValue: BoardServiceGetDigitalInterruptValue;
|
|
147
|
+
static readonly StreamTicks: BoardServiceStreamTicks;
|
|
138
148
|
static readonly SetPowerMode: BoardServiceSetPowerMode;
|
|
139
149
|
static readonly GetGeometries: BoardServiceGetGeometries;
|
|
140
150
|
}
|
|
@@ -270,6 +280,7 @@ export class BoardServiceClient {
|
|
|
270
280
|
requestMessage: component_board_v1_board_pb.GetDigitalInterruptValueRequest,
|
|
271
281
|
callback: (error: ServiceError|null, responseMessage: component_board_v1_board_pb.GetDigitalInterruptValueResponse|null) => void
|
|
272
282
|
): UnaryResponse;
|
|
283
|
+
streamTicks(requestMessage: component_board_v1_board_pb.StreamTicksRequest, metadata?: grpc.Metadata): ResponseStream<component_board_v1_board_pb.StreamTicksResponse>;
|
|
273
284
|
setPowerMode(
|
|
274
285
|
requestMessage: component_board_v1_board_pb.SetPowerModeRequest,
|
|
275
286
|
metadata: grpc.Metadata,
|
|
@@ -145,6 +145,9 @@ export class Publishing extends jspb.Message {
|
|
|
145
145
|
getProtoReferenceDocumentationUri(): string;
|
|
146
146
|
setProtoReferenceDocumentationUri(value: string): void;
|
|
147
147
|
|
|
148
|
+
getRestReferenceDocumentationUri(): string;
|
|
149
|
+
setRestReferenceDocumentationUri(value: string): void;
|
|
150
|
+
|
|
148
151
|
serializeBinary(): Uint8Array;
|
|
149
152
|
toObject(includeInstance?: boolean): Publishing.AsObject;
|
|
150
153
|
static toObject(includeInstance: boolean, msg: Publishing): Publishing.AsObject;
|
|
@@ -167,6 +170,7 @@ export namespace Publishing {
|
|
|
167
170
|
organization: ClientLibraryOrganizationMap[keyof ClientLibraryOrganizationMap],
|
|
168
171
|
librarySettingsList: Array<ClientLibrarySettings.AsObject>,
|
|
169
172
|
protoReferenceDocumentationUri: string,
|
|
173
|
+
restReferenceDocumentationUri: string,
|
|
170
174
|
}
|
|
171
175
|
}
|
|
172
176
|
|
|
@@ -453,6 +457,8 @@ export namespace MethodSettings {
|
|
|
453
457
|
|
|
454
458
|
export const oauthScopes: jspb.ExtensionFieldInfo<string>;
|
|
455
459
|
|
|
460
|
+
export const apiVersion: jspb.ExtensionFieldInfo<string>;
|
|
461
|
+
|
|
456
462
|
export interface ClientLibraryOrganizationMap {
|
|
457
463
|
CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED: 0;
|
|
458
464
|
CLOUD: 1;
|
|
@@ -62,6 +62,11 @@ export class GetPointCloudMapRequest extends jspb.Message {
|
|
|
62
62
|
getName(): string;
|
|
63
63
|
setName(value: string): void;
|
|
64
64
|
|
|
65
|
+
hasReturnEditedMap(): boolean;
|
|
66
|
+
clearReturnEditedMap(): void;
|
|
67
|
+
getReturnEditedMap(): boolean;
|
|
68
|
+
setReturnEditedMap(value: boolean): void;
|
|
69
|
+
|
|
65
70
|
serializeBinary(): Uint8Array;
|
|
66
71
|
toObject(includeInstance?: boolean): GetPointCloudMapRequest.AsObject;
|
|
67
72
|
static toObject(includeInstance: boolean, msg: GetPointCloudMapRequest): GetPointCloudMapRequest.AsObject;
|
|
@@ -75,6 +80,7 @@ export class GetPointCloudMapRequest extends jspb.Message {
|
|
|
75
80
|
export namespace GetPointCloudMapRequest {
|
|
76
81
|
export type AsObject = {
|
|
77
82
|
name: string,
|
|
83
|
+
returnEditedMap: boolean,
|
|
78
84
|
}
|
|
79
85
|
}
|
|
80
86
|
|
|
@@ -169,6 +175,16 @@ export class GetPropertiesResponse extends jspb.Message {
|
|
|
169
175
|
getMappingMode(): MappingModeMap[keyof MappingModeMap];
|
|
170
176
|
setMappingMode(value: MappingModeMap[keyof MappingModeMap]): void;
|
|
171
177
|
|
|
178
|
+
hasInternalStateFileType(): boolean;
|
|
179
|
+
clearInternalStateFileType(): void;
|
|
180
|
+
getInternalStateFileType(): string;
|
|
181
|
+
setInternalStateFileType(value: string): void;
|
|
182
|
+
|
|
183
|
+
clearSensorInfoList(): void;
|
|
184
|
+
getSensorInfoList(): Array<SensorInfo>;
|
|
185
|
+
setSensorInfoList(value: Array<SensorInfo>): void;
|
|
186
|
+
addSensorInfo(value?: SensorInfo, index?: number): SensorInfo;
|
|
187
|
+
|
|
172
188
|
serializeBinary(): Uint8Array;
|
|
173
189
|
toObject(includeInstance?: boolean): GetPropertiesResponse.AsObject;
|
|
174
190
|
static toObject(includeInstance: boolean, msg: GetPropertiesResponse): GetPropertiesResponse.AsObject;
|
|
@@ -183,6 +199,32 @@ export namespace GetPropertiesResponse {
|
|
|
183
199
|
export type AsObject = {
|
|
184
200
|
cloudSlam: boolean,
|
|
185
201
|
mappingMode: MappingModeMap[keyof MappingModeMap],
|
|
202
|
+
internalStateFileType: string,
|
|
203
|
+
sensorInfoList: Array<SensorInfo.AsObject>,
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export class SensorInfo extends jspb.Message {
|
|
208
|
+
getName(): string;
|
|
209
|
+
setName(value: string): void;
|
|
210
|
+
|
|
211
|
+
getType(): SensorTypeMap[keyof SensorTypeMap];
|
|
212
|
+
setType(value: SensorTypeMap[keyof SensorTypeMap]): void;
|
|
213
|
+
|
|
214
|
+
serializeBinary(): Uint8Array;
|
|
215
|
+
toObject(includeInstance?: boolean): SensorInfo.AsObject;
|
|
216
|
+
static toObject(includeInstance: boolean, msg: SensorInfo): SensorInfo.AsObject;
|
|
217
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
218
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
219
|
+
static serializeBinaryToWriter(message: SensorInfo, writer: jspb.BinaryWriter): void;
|
|
220
|
+
static deserializeBinary(bytes: Uint8Array): SensorInfo;
|
|
221
|
+
static deserializeBinaryFromReader(message: SensorInfo, reader: jspb.BinaryReader): SensorInfo;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
export namespace SensorInfo {
|
|
225
|
+
export type AsObject = {
|
|
226
|
+
name: string,
|
|
227
|
+
type: SensorTypeMap[keyof SensorTypeMap],
|
|
186
228
|
}
|
|
187
229
|
}
|
|
188
230
|
|
|
@@ -195,3 +237,11 @@ export interface MappingModeMap {
|
|
|
195
237
|
|
|
196
238
|
export const MappingMode: MappingModeMap;
|
|
197
239
|
|
|
240
|
+
export interface SensorTypeMap {
|
|
241
|
+
SENSOR_TYPE_UNSPECIFIED: 0;
|
|
242
|
+
SENSOR_TYPE_CAMERA: 1;
|
|
243
|
+
SENSOR_TYPE_MOVEMENT_SENSOR: 2;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export const SensorType: SensorTypeMap;
|
|
247
|
+
|