@viamrobotics/sdk 0.9.0 → 0.9.1-rc.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/dist/events.d.ts +1 -1
- package/dist/gen/app/v1/app_pb.d.ts +42 -0
- package/dist/gen/app/v1/app_pb_service.d.ts +19 -0
- package/dist/gen/app/v1/billing_pb.d.ts +0 -346
- package/dist/gen/app/v1/billing_pb_service.d.ts +0 -95
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +38 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +48 -0
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +19 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +53 -0
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +19 -0
- package/dist/main.d.ts +2 -2
- package/dist/main.es.js +23963 -27663
- package/dist/main.umd.js +19 -21
- package/dist/services/navigation/client.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +3 -1
- package/dist/services/navigation/types.d.ts +1 -0
- package/dist/services/navigation.d.ts +1 -1
- package/dist/services/slam/client.d.ts +1 -0
- package/dist/services/slam/slam.d.ts +3 -1
- package/dist/services/slam/types.d.ts +1 -0
- package/dist/services/slam.d.ts +1 -1
- package/package.json +14 -14
|
@@ -440,6 +440,54 @@ export namespace GetPathsResponse {
|
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
442
|
|
|
443
|
+
export class GetPropertiesRequest extends jspb.Message {
|
|
444
|
+
getName(): string;
|
|
445
|
+
setName(value: string): void;
|
|
446
|
+
|
|
447
|
+
serializeBinary(): Uint8Array;
|
|
448
|
+
toObject(includeInstance?: boolean): GetPropertiesRequest.AsObject;
|
|
449
|
+
static toObject(includeInstance: boolean, msg: GetPropertiesRequest): GetPropertiesRequest.AsObject;
|
|
450
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
451
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
452
|
+
static serializeBinaryToWriter(message: GetPropertiesRequest, writer: jspb.BinaryWriter): void;
|
|
453
|
+
static deserializeBinary(bytes: Uint8Array): GetPropertiesRequest;
|
|
454
|
+
static deserializeBinaryFromReader(message: GetPropertiesRequest, reader: jspb.BinaryReader): GetPropertiesRequest;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
export namespace GetPropertiesRequest {
|
|
458
|
+
export type AsObject = {
|
|
459
|
+
name: string,
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
export class GetPropertiesResponse extends jspb.Message {
|
|
464
|
+
getMapType(): MapTypeMap[keyof MapTypeMap];
|
|
465
|
+
setMapType(value: MapTypeMap[keyof MapTypeMap]): void;
|
|
466
|
+
|
|
467
|
+
serializeBinary(): Uint8Array;
|
|
468
|
+
toObject(includeInstance?: boolean): GetPropertiesResponse.AsObject;
|
|
469
|
+
static toObject(includeInstance: boolean, msg: GetPropertiesResponse): GetPropertiesResponse.AsObject;
|
|
470
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
471
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
472
|
+
static serializeBinaryToWriter(message: GetPropertiesResponse, writer: jspb.BinaryWriter): void;
|
|
473
|
+
static deserializeBinary(bytes: Uint8Array): GetPropertiesResponse;
|
|
474
|
+
static deserializeBinaryFromReader(message: GetPropertiesResponse, reader: jspb.BinaryReader): GetPropertiesResponse;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export namespace GetPropertiesResponse {
|
|
478
|
+
export type AsObject = {
|
|
479
|
+
mapType: MapTypeMap[keyof MapTypeMap],
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
export interface MapTypeMap {
|
|
484
|
+
MAP_TYPE_UNSPECIFIED: 0;
|
|
485
|
+
MAP_TYPE_NONE: 1;
|
|
486
|
+
MAP_TYPE_GPS: 2;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export const MapType: MapTypeMap;
|
|
490
|
+
|
|
443
491
|
export interface ModeMap {
|
|
444
492
|
MODE_UNSPECIFIED: 0;
|
|
445
493
|
MODE_MANUAL: 1;
|
|
@@ -77,6 +77,15 @@ type NavigationServiceGetPaths = {
|
|
|
77
77
|
readonly responseType: typeof service_navigation_v1_navigation_pb.GetPathsResponse;
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
+
type NavigationServiceGetProperties = {
|
|
81
|
+
readonly methodName: string;
|
|
82
|
+
readonly service: typeof NavigationService;
|
|
83
|
+
readonly requestStream: false;
|
|
84
|
+
readonly responseStream: false;
|
|
85
|
+
readonly requestType: typeof service_navigation_v1_navigation_pb.GetPropertiesRequest;
|
|
86
|
+
readonly responseType: typeof service_navigation_v1_navigation_pb.GetPropertiesResponse;
|
|
87
|
+
};
|
|
88
|
+
|
|
80
89
|
type NavigationServiceDoCommand = {
|
|
81
90
|
readonly methodName: string;
|
|
82
91
|
readonly service: typeof NavigationService;
|
|
@@ -96,6 +105,7 @@ export class NavigationService {
|
|
|
96
105
|
static readonly RemoveWaypoint: NavigationServiceRemoveWaypoint;
|
|
97
106
|
static readonly GetObstacles: NavigationServiceGetObstacles;
|
|
98
107
|
static readonly GetPaths: NavigationServiceGetPaths;
|
|
108
|
+
static readonly GetProperties: NavigationServiceGetProperties;
|
|
99
109
|
static readonly DoCommand: NavigationServiceDoCommand;
|
|
100
110
|
}
|
|
101
111
|
|
|
@@ -203,6 +213,15 @@ export class NavigationServiceClient {
|
|
|
203
213
|
requestMessage: service_navigation_v1_navigation_pb.GetPathsRequest,
|
|
204
214
|
callback: (error: ServiceError|null, responseMessage: service_navigation_v1_navigation_pb.GetPathsResponse|null) => void
|
|
205
215
|
): UnaryResponse;
|
|
216
|
+
getProperties(
|
|
217
|
+
requestMessage: service_navigation_v1_navigation_pb.GetPropertiesRequest,
|
|
218
|
+
metadata: grpc.Metadata,
|
|
219
|
+
callback: (error: ServiceError|null, responseMessage: service_navigation_v1_navigation_pb.GetPropertiesResponse|null) => void
|
|
220
|
+
): UnaryResponse;
|
|
221
|
+
getProperties(
|
|
222
|
+
requestMessage: service_navigation_v1_navigation_pb.GetPropertiesRequest,
|
|
223
|
+
callback: (error: ServiceError|null, responseMessage: service_navigation_v1_navigation_pb.GetPropertiesResponse|null) => void
|
|
224
|
+
): UnaryResponse;
|
|
206
225
|
doCommand(
|
|
207
226
|
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
208
227
|
metadata: grpc.Metadata,
|
|
@@ -185,3 +185,56 @@ export namespace GetLatestMapInfoResponse {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
export class GetPropertiesRequest extends jspb.Message {
|
|
189
|
+
getName(): string;
|
|
190
|
+
setName(value: string): void;
|
|
191
|
+
|
|
192
|
+
serializeBinary(): Uint8Array;
|
|
193
|
+
toObject(includeInstance?: boolean): GetPropertiesRequest.AsObject;
|
|
194
|
+
static toObject(includeInstance: boolean, msg: GetPropertiesRequest): GetPropertiesRequest.AsObject;
|
|
195
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
196
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
197
|
+
static serializeBinaryToWriter(message: GetPropertiesRequest, writer: jspb.BinaryWriter): void;
|
|
198
|
+
static deserializeBinary(bytes: Uint8Array): GetPropertiesRequest;
|
|
199
|
+
static deserializeBinaryFromReader(message: GetPropertiesRequest, reader: jspb.BinaryReader): GetPropertiesRequest;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export namespace GetPropertiesRequest {
|
|
203
|
+
export type AsObject = {
|
|
204
|
+
name: string,
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export class GetPropertiesResponse extends jspb.Message {
|
|
209
|
+
getCloudSlam(): boolean;
|
|
210
|
+
setCloudSlam(value: boolean): void;
|
|
211
|
+
|
|
212
|
+
getMappingMode(): MappingModeMap[keyof MappingModeMap];
|
|
213
|
+
setMappingMode(value: MappingModeMap[keyof MappingModeMap]): void;
|
|
214
|
+
|
|
215
|
+
serializeBinary(): Uint8Array;
|
|
216
|
+
toObject(includeInstance?: boolean): GetPropertiesResponse.AsObject;
|
|
217
|
+
static toObject(includeInstance: boolean, msg: GetPropertiesResponse): GetPropertiesResponse.AsObject;
|
|
218
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
219
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
220
|
+
static serializeBinaryToWriter(message: GetPropertiesResponse, writer: jspb.BinaryWriter): void;
|
|
221
|
+
static deserializeBinary(bytes: Uint8Array): GetPropertiesResponse;
|
|
222
|
+
static deserializeBinaryFromReader(message: GetPropertiesResponse, reader: jspb.BinaryReader): GetPropertiesResponse;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
export namespace GetPropertiesResponse {
|
|
226
|
+
export type AsObject = {
|
|
227
|
+
cloudSlam: boolean,
|
|
228
|
+
mappingMode: MappingModeMap[keyof MappingModeMap],
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export interface MappingModeMap {
|
|
233
|
+
MAPPING_MODE_UNSPECIFIED: 0;
|
|
234
|
+
MAPPING_MODE_CREATE_NEW_MAP: 1;
|
|
235
|
+
MAPPING_MODE_LOCALIZE_ONLY: 2;
|
|
236
|
+
MAPPING_MODE_UPDATE_EXISTING_MAP: 3;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export const MappingMode: MappingModeMap;
|
|
240
|
+
|
|
@@ -41,6 +41,15 @@ type SLAMServiceGetLatestMapInfo = {
|
|
|
41
41
|
readonly responseType: typeof service_slam_v1_slam_pb.GetLatestMapInfoResponse;
|
|
42
42
|
};
|
|
43
43
|
|
|
44
|
+
type SLAMServiceGetProperties = {
|
|
45
|
+
readonly methodName: string;
|
|
46
|
+
readonly service: typeof SLAMService;
|
|
47
|
+
readonly requestStream: false;
|
|
48
|
+
readonly responseStream: false;
|
|
49
|
+
readonly requestType: typeof service_slam_v1_slam_pb.GetPropertiesRequest;
|
|
50
|
+
readonly responseType: typeof service_slam_v1_slam_pb.GetPropertiesResponse;
|
|
51
|
+
};
|
|
52
|
+
|
|
44
53
|
type SLAMServiceDoCommand = {
|
|
45
54
|
readonly methodName: string;
|
|
46
55
|
readonly service: typeof SLAMService;
|
|
@@ -56,6 +65,7 @@ export class SLAMService {
|
|
|
56
65
|
static readonly GetPointCloudMap: SLAMServiceGetPointCloudMap;
|
|
57
66
|
static readonly GetInternalState: SLAMServiceGetInternalState;
|
|
58
67
|
static readonly GetLatestMapInfo: SLAMServiceGetLatestMapInfo;
|
|
68
|
+
static readonly GetProperties: SLAMServiceGetProperties;
|
|
59
69
|
static readonly DoCommand: SLAMServiceDoCommand;
|
|
60
70
|
}
|
|
61
71
|
|
|
@@ -111,6 +121,15 @@ export class SLAMServiceClient {
|
|
|
111
121
|
requestMessage: service_slam_v1_slam_pb.GetLatestMapInfoRequest,
|
|
112
122
|
callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetLatestMapInfoResponse|null) => void
|
|
113
123
|
): UnaryResponse;
|
|
124
|
+
getProperties(
|
|
125
|
+
requestMessage: service_slam_v1_slam_pb.GetPropertiesRequest,
|
|
126
|
+
metadata: grpc.Metadata,
|
|
127
|
+
callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPropertiesResponse|null) => void
|
|
128
|
+
): UnaryResponse;
|
|
129
|
+
getProperties(
|
|
130
|
+
requestMessage: service_slam_v1_slam_pb.GetPropertiesRequest,
|
|
131
|
+
callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetPropertiesResponse|null) => void
|
|
132
|
+
): UnaryResponse;
|
|
114
133
|
doCommand(
|
|
115
134
|
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
116
135
|
metadata: grpc.Metadata,
|
package/dist/main.d.ts
CHANGED
|
@@ -266,7 +266,7 @@ export { type DataManager, DataManagerClient } from './services/data-manager';
|
|
|
266
266
|
* @group Raw Protobufs
|
|
267
267
|
*/
|
|
268
268
|
export { default as navigationApi } from './gen/service/navigation/v1/navigation_pb';
|
|
269
|
-
export { type ModeMap, type Waypoint, type NavigationPosition, type Path, NavigationClient, } from './services/navigation';
|
|
269
|
+
export { type ModeMap, type Waypoint, type NavigationPosition, type NavigationProperties, type Path, NavigationClient, } from './services/navigation';
|
|
270
270
|
/**
|
|
271
271
|
* Raw Protobuf interfaces for a Servo component.
|
|
272
272
|
*
|
|
@@ -288,7 +288,7 @@ export { type Servo, ServoClient } from './components/servo';
|
|
|
288
288
|
* @group Raw Protobufs
|
|
289
289
|
*/
|
|
290
290
|
export { default as slamApi } from './gen/service/slam/v1/slam_pb';
|
|
291
|
-
export { type SlamPosition, SlamClient } from './services/slam';
|
|
291
|
+
export { type SlamPosition, type SlamProperties, SlamClient, } from './services/slam';
|
|
292
292
|
/**
|
|
293
293
|
* Raw Protobuf interfaces for a Vision service.
|
|
294
294
|
*
|