@viamrobotics/sdk 0.9.2 → 0.10.0-rc.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/components/movement-sensor/client.d.ts +1 -1
- package/dist/components/movement-sensor/movement-sensor.d.ts +2 -1
- package/dist/components/movementsensor.d.ts +1 -1
- package/dist/constants.d.ts +1 -0
- package/dist/gen/app/agent/v1/agent_pb.d.ts +13 -0
- package/dist/gen/app/v1/app_pb.d.ts +20 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +3 -17
- package/dist/gen/service/generic/v1/generic_pb.d.ts +7 -0
- package/dist/gen/service/generic/v1/generic_pb_service.d.ts +64 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +9 -3
- package/dist/gen/service/slam/v1/slam_pb.d.ts +0 -43
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -19
- package/dist/main.d.ts +3 -20
- package/dist/main.es.js +33302 -29065
- package/dist/main.umd.js +19 -19
- package/dist/robot/client.d.ts +3 -2
- package/dist/robot/dial.d.ts +2 -0
- package/dist/services/motion/client.d.ts +1 -1
- package/dist/services/motion/motion.d.ts +32 -20
- package/dist/services/slam/client.d.ts +0 -1
- package/dist/services/slam/slam.d.ts +0 -2
- package/dist/services/vision/client.d.ts +23 -0
- package/dist/services/vision/client.spec.d.ts +1 -0
- package/dist/services/vision/types.d.ts +5 -0
- package/dist/services/vision/vision.d.ts +50 -0
- package/dist/services/vision.d.ts +3 -0
- package/package.json +5 -3
|
@@ -19,7 +19,7 @@ export declare class MovementSensorClient implements MovementSensor {
|
|
|
19
19
|
getOrientation(extra?: {}): Promise<import("../../gen/common/v1/common_pb").Orientation.AsObject>;
|
|
20
20
|
getPosition(extra?: {}): Promise<pb.GetPositionResponse.AsObject>;
|
|
21
21
|
getProperties(extra?: {}): Promise<pb.GetPropertiesResponse.AsObject>;
|
|
22
|
-
getAccuracy(extra?: {}): Promise<
|
|
22
|
+
getAccuracy(extra?: {}): Promise<pb.GetAccuracyResponse.AsObject>;
|
|
23
23
|
getLinearAcceleration(extra?: {}): Promise<import("../../gen/common/v1/common_pb").Vector3.AsObject>;
|
|
24
24
|
getReadings(extra?: {}): Promise<Record<string, unknown>>;
|
|
25
25
|
doCommand(command: StructType): Promise<StructType>;
|
|
@@ -2,6 +2,7 @@ import type { Resource, Orientation, StructType, Vector3 } from '../../types';
|
|
|
2
2
|
import pb from '../../gen/component/movementsensor/v1/movementsensor_pb';
|
|
3
3
|
export type MovementSensorPosition = pb.GetPositionResponse.AsObject;
|
|
4
4
|
export type MovementSensorProperties = pb.GetPropertiesResponse.AsObject;
|
|
5
|
+
export type MovementSensorAccuracy = pb.GetAccuracyResponse.AsObject;
|
|
5
6
|
/**
|
|
6
7
|
* Represents any sensor that reports information about the robot's direction,
|
|
7
8
|
* position, and/or speed.
|
|
@@ -26,7 +27,7 @@ export interface MovementSensor extends Resource {
|
|
|
26
27
|
/** Get the properties of this movement sensor */
|
|
27
28
|
getProperties(extra?: StructType): Promise<MovementSensorProperties>;
|
|
28
29
|
/** Get the accuracy of various sensors */
|
|
29
|
-
getAccuracy(extra?: StructType): Promise<
|
|
30
|
+
getAccuracy(extra?: StructType): Promise<MovementSensorAccuracy>;
|
|
30
31
|
/** Get linear acceleration across x/y/z axes */
|
|
31
32
|
getLinearAcceleration(extra?: StructType): Promise<Vector3>;
|
|
32
33
|
/** Return the readings of a sensor. */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type { MovementSensorPosition, MovementSensorProperties, MovementSensor, } from './movement-sensor/movement-sensor';
|
|
1
|
+
export type { MovementSensorPosition, MovementSensorProperties, MovementSensorAccuracy, MovementSensor, } from './movement-sensor/movement-sensor';
|
|
2
2
|
export { MovementSensorClient } from './movement-sensor/client';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DIAL_TIMEOUT = 5000;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
|
|
6
|
+
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
6
7
|
import * as tagger_v1_tagger_pb from "../../../tagger/v1/tagger_pb";
|
|
7
8
|
|
|
8
9
|
export class GetAgentConfigRequest extends jspb.Message {
|
|
@@ -127,6 +128,11 @@ export class AppSubsystemConfig extends jspb.Message {
|
|
|
127
128
|
getDisableSubsystem(): boolean;
|
|
128
129
|
setDisableSubsystem(value: boolean): void;
|
|
129
130
|
|
|
131
|
+
hasAttributes(): boolean;
|
|
132
|
+
clearAttributes(): void;
|
|
133
|
+
getAttributes(): google_protobuf_struct_pb.Struct | undefined;
|
|
134
|
+
setAttributes(value?: google_protobuf_struct_pb.Struct): void;
|
|
135
|
+
|
|
130
136
|
serializeBinary(): Uint8Array;
|
|
131
137
|
toObject(includeInstance?: boolean): AppSubsystemConfig.AsObject;
|
|
132
138
|
static toObject(includeInstance: boolean, msg: AppSubsystemConfig): AppSubsystemConfig.AsObject;
|
|
@@ -143,6 +149,7 @@ export namespace AppSubsystemConfig {
|
|
|
143
149
|
pinVersion: string,
|
|
144
150
|
pinUrl: string,
|
|
145
151
|
disableSubsystem: boolean,
|
|
152
|
+
attributes?: google_protobuf_struct_pb.Struct.AsObject,
|
|
146
153
|
}
|
|
147
154
|
}
|
|
148
155
|
|
|
@@ -212,6 +219,11 @@ export class DeviceSubsystemConfig extends jspb.Message {
|
|
|
212
219
|
getForceRestart(): boolean;
|
|
213
220
|
setForceRestart(value: boolean): void;
|
|
214
221
|
|
|
222
|
+
hasAttributes(): boolean;
|
|
223
|
+
clearAttributes(): void;
|
|
224
|
+
getAttributes(): google_protobuf_struct_pb.Struct | undefined;
|
|
225
|
+
setAttributes(value?: google_protobuf_struct_pb.Struct): void;
|
|
226
|
+
|
|
215
227
|
serializeBinary(): Uint8Array;
|
|
216
228
|
toObject(includeInstance?: boolean): DeviceSubsystemConfig.AsObject;
|
|
217
229
|
static toObject(includeInstance: boolean, msg: DeviceSubsystemConfig): DeviceSubsystemConfig.AsObject;
|
|
@@ -227,6 +239,7 @@ export namespace DeviceSubsystemConfig {
|
|
|
227
239
|
updateInfo?: SubsystemUpdateInfo.AsObject,
|
|
228
240
|
disable: boolean,
|
|
229
241
|
forceRestart: boolean,
|
|
242
|
+
attributes?: google_protobuf_struct_pb.Struct.AsObject,
|
|
230
243
|
}
|
|
231
244
|
}
|
|
232
245
|
|
|
@@ -3155,9 +3155,15 @@ export class RegistryItem extends jspb.Message {
|
|
|
3155
3155
|
getTotalRobotUsage(): number;
|
|
3156
3156
|
setTotalRobotUsage(value: number): void;
|
|
3157
3157
|
|
|
3158
|
+
getTotalExternalRobotUsage(): number;
|
|
3159
|
+
setTotalExternalRobotUsage(value: number): void;
|
|
3160
|
+
|
|
3158
3161
|
getTotalOrganizationUsage(): number;
|
|
3159
3162
|
setTotalOrganizationUsage(value: number): void;
|
|
3160
3163
|
|
|
3164
|
+
getTotalExternalOrganizationUsage(): number;
|
|
3165
|
+
setTotalExternalOrganizationUsage(value: number): void;
|
|
3166
|
+
|
|
3161
3167
|
hasModuleMetadata(): boolean;
|
|
3162
3168
|
clearModuleMetadata(): void;
|
|
3163
3169
|
getModuleMetadata(): ModuleMetadata | undefined;
|
|
@@ -3168,6 +3174,16 @@ export class RegistryItem extends jspb.Message {
|
|
|
3168
3174
|
getMlModelMetadata(): MLModelMetadata | undefined;
|
|
3169
3175
|
setMlModelMetadata(value?: MLModelMetadata): void;
|
|
3170
3176
|
|
|
3177
|
+
hasCreatedAt(): boolean;
|
|
3178
|
+
clearCreatedAt(): void;
|
|
3179
|
+
getCreatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
3180
|
+
setCreatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
3181
|
+
|
|
3182
|
+
hasUpdatedAt(): boolean;
|
|
3183
|
+
clearUpdatedAt(): void;
|
|
3184
|
+
getUpdatedAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
3185
|
+
setUpdatedAt(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
3186
|
+
|
|
3171
3187
|
getMetadataCase(): RegistryItem.MetadataCase;
|
|
3172
3188
|
serializeBinary(): Uint8Array;
|
|
3173
3189
|
toObject(includeInstance?: boolean): RegistryItem.AsObject;
|
|
@@ -3190,9 +3206,13 @@ export namespace RegistryItem {
|
|
|
3190
3206
|
url: string,
|
|
3191
3207
|
description: string,
|
|
3192
3208
|
totalRobotUsage: number,
|
|
3209
|
+
totalExternalRobotUsage: number,
|
|
3193
3210
|
totalOrganizationUsage: number,
|
|
3211
|
+
totalExternalOrganizationUsage: number,
|
|
3194
3212
|
moduleMetadata?: ModuleMetadata.AsObject,
|
|
3195
3213
|
mlModelMetadata?: MLModelMetadata.AsObject,
|
|
3214
|
+
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
3215
|
+
updatedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
3196
3216
|
}
|
|
3197
3217
|
|
|
3198
3218
|
export enum MetadataCase {
|
|
@@ -355,8 +355,8 @@ export class GetAccuracyResponse extends jspb.Message {
|
|
|
355
355
|
|
|
356
356
|
hasPositionNmeaGgaFix(): boolean;
|
|
357
357
|
clearPositionNmeaGgaFix(): void;
|
|
358
|
-
getPositionNmeaGgaFix():
|
|
359
|
-
setPositionNmeaGgaFix(value:
|
|
358
|
+
getPositionNmeaGgaFix(): number;
|
|
359
|
+
setPositionNmeaGgaFix(value: number): void;
|
|
360
360
|
|
|
361
361
|
hasCompassDegreesError(): boolean;
|
|
362
362
|
clearCompassDegreesError(): void;
|
|
@@ -378,7 +378,7 @@ export namespace GetAccuracyResponse {
|
|
|
378
378
|
accuracyMap: Array<[string, number]>,
|
|
379
379
|
positionHdop: number,
|
|
380
380
|
positionVdop: number,
|
|
381
|
-
positionNmeaGgaFix:
|
|
381
|
+
positionNmeaGgaFix: number,
|
|
382
382
|
compassDegreesError: number,
|
|
383
383
|
}
|
|
384
384
|
}
|
|
@@ -431,17 +431,3 @@ export namespace GetLinearAccelerationResponse {
|
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
|
|
434
|
-
export interface NmeaGGAFixMap {
|
|
435
|
-
NMEA_GGA_FIX_INVALID_UNSPECIFIED: 0;
|
|
436
|
-
NMEA_GGA_FIX_GNSS: 1;
|
|
437
|
-
NMEA_GGA_FIX_DGPS: 2;
|
|
438
|
-
NMEA_GGA_FIX_PPS: 3;
|
|
439
|
-
NMEA_GGA_FIX_RTK_FIXED: 4;
|
|
440
|
-
NMEA_GGA_FIX_RTK_FLOAT: 5;
|
|
441
|
-
NMEA_GGA_FIX_DEAD_RECKONING: 6;
|
|
442
|
-
NMEA_GGA_FIX_MANUAL: 7;
|
|
443
|
-
NMEA_GGA_FIX_SIMULATION: 8;
|
|
444
|
-
}
|
|
445
|
-
|
|
446
|
-
export const NmeaGGAFix: NmeaGGAFixMap;
|
|
447
|
-
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// package: viam.service.generic.v1
|
|
2
|
+
// file: service/generic/v1/generic.proto
|
|
3
|
+
|
|
4
|
+
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
7
|
+
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// package: viam.service.generic.v1
|
|
2
|
+
// file: service/generic/v1/generic.proto
|
|
3
|
+
|
|
4
|
+
import * as service_generic_v1_generic_pb from "../../../service/generic/v1/generic_pb";
|
|
5
|
+
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
|
+
|
|
8
|
+
type GenericServiceDoCommand = {
|
|
9
|
+
readonly methodName: string;
|
|
10
|
+
readonly service: typeof GenericService;
|
|
11
|
+
readonly requestStream: false;
|
|
12
|
+
readonly responseStream: false;
|
|
13
|
+
readonly requestType: typeof common_v1_common_pb.DoCommandRequest;
|
|
14
|
+
readonly responseType: typeof common_v1_common_pb.DoCommandResponse;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export class GenericService {
|
|
18
|
+
static readonly serviceName: string;
|
|
19
|
+
static readonly DoCommand: GenericServiceDoCommand;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
23
|
+
export type Status = { details: string, code: number; metadata: grpc.Metadata }
|
|
24
|
+
|
|
25
|
+
interface UnaryResponse {
|
|
26
|
+
cancel(): void;
|
|
27
|
+
}
|
|
28
|
+
interface ResponseStream<T> {
|
|
29
|
+
cancel(): void;
|
|
30
|
+
on(type: 'data', handler: (message: T) => void): ResponseStream<T>;
|
|
31
|
+
on(type: 'end', handler: (status?: Status) => void): ResponseStream<T>;
|
|
32
|
+
on(type: 'status', handler: (status: Status) => void): ResponseStream<T>;
|
|
33
|
+
}
|
|
34
|
+
interface RequestStream<T> {
|
|
35
|
+
write(message: T): RequestStream<T>;
|
|
36
|
+
end(): void;
|
|
37
|
+
cancel(): void;
|
|
38
|
+
on(type: 'end', handler: (status?: Status) => void): RequestStream<T>;
|
|
39
|
+
on(type: 'status', handler: (status: Status) => void): RequestStream<T>;
|
|
40
|
+
}
|
|
41
|
+
interface BidirectionalStream<ReqT, ResT> {
|
|
42
|
+
write(message: ReqT): BidirectionalStream<ReqT, ResT>;
|
|
43
|
+
end(): void;
|
|
44
|
+
cancel(): void;
|
|
45
|
+
on(type: 'data', handler: (message: ResT) => void): BidirectionalStream<ReqT, ResT>;
|
|
46
|
+
on(type: 'end', handler: (status?: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
47
|
+
on(type: 'status', handler: (status: Status) => void): BidirectionalStream<ReqT, ResT>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export class GenericServiceClient {
|
|
51
|
+
readonly serviceHost: string;
|
|
52
|
+
|
|
53
|
+
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
54
|
+
doCommand(
|
|
55
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
56
|
+
metadata: grpc.Metadata,
|
|
57
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
58
|
+
): UnaryResponse;
|
|
59
|
+
doCommand(
|
|
60
|
+
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
61
|
+
callback: (error: ServiceError|null, responseMessage: common_v1_common_pb.DoCommandResponse|null) => void
|
|
62
|
+
): UnaryResponse;
|
|
63
|
+
}
|
|
64
|
+
|
|
@@ -166,6 +166,11 @@ export class MoveOnMapRequest extends jspb.Message {
|
|
|
166
166
|
getSlamServiceName(): common_v1_common_pb.ResourceName | undefined;
|
|
167
167
|
setSlamServiceName(value?: common_v1_common_pb.ResourceName): void;
|
|
168
168
|
|
|
169
|
+
hasMotionConfiguration(): boolean;
|
|
170
|
+
clearMotionConfiguration(): void;
|
|
171
|
+
getMotionConfiguration(): MotionConfiguration | undefined;
|
|
172
|
+
setMotionConfiguration(value?: MotionConfiguration): void;
|
|
173
|
+
|
|
169
174
|
hasExtra(): boolean;
|
|
170
175
|
clearExtra(): void;
|
|
171
176
|
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
@@ -187,13 +192,14 @@ export namespace MoveOnMapRequest {
|
|
|
187
192
|
destination?: common_v1_common_pb.Pose.AsObject,
|
|
188
193
|
componentName?: common_v1_common_pb.ResourceName.AsObject,
|
|
189
194
|
slamServiceName?: common_v1_common_pb.ResourceName.AsObject,
|
|
195
|
+
motionConfiguration?: MotionConfiguration.AsObject,
|
|
190
196
|
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
191
197
|
}
|
|
192
198
|
}
|
|
193
199
|
|
|
194
200
|
export class MoveOnMapResponse extends jspb.Message {
|
|
195
|
-
|
|
196
|
-
|
|
201
|
+
getExecutionId(): string;
|
|
202
|
+
setExecutionId(value: string): void;
|
|
197
203
|
|
|
198
204
|
serializeBinary(): Uint8Array;
|
|
199
205
|
toObject(includeInstance?: boolean): MoveOnMapResponse.AsObject;
|
|
@@ -207,7 +213,7 @@ export class MoveOnMapResponse extends jspb.Message {
|
|
|
207
213
|
|
|
208
214
|
export namespace MoveOnMapResponse {
|
|
209
215
|
export type AsObject = {
|
|
210
|
-
|
|
216
|
+
executionId: string,
|
|
211
217
|
}
|
|
212
218
|
}
|
|
213
219
|
|
|
@@ -5,7 +5,6 @@ import * as jspb from "google-protobuf";
|
|
|
5
5
|
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
6
|
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
7
7
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
8
|
-
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
9
8
|
|
|
10
9
|
export class GetPositionRequest extends jspb.Message {
|
|
11
10
|
getName(): string;
|
|
@@ -143,48 +142,6 @@ export namespace GetInternalStateResponse {
|
|
|
143
142
|
}
|
|
144
143
|
}
|
|
145
144
|
|
|
146
|
-
export class GetLatestMapInfoRequest extends jspb.Message {
|
|
147
|
-
getName(): string;
|
|
148
|
-
setName(value: string): void;
|
|
149
|
-
|
|
150
|
-
serializeBinary(): Uint8Array;
|
|
151
|
-
toObject(includeInstance?: boolean): GetLatestMapInfoRequest.AsObject;
|
|
152
|
-
static toObject(includeInstance: boolean, msg: GetLatestMapInfoRequest): GetLatestMapInfoRequest.AsObject;
|
|
153
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
154
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
155
|
-
static serializeBinaryToWriter(message: GetLatestMapInfoRequest, writer: jspb.BinaryWriter): void;
|
|
156
|
-
static deserializeBinary(bytes: Uint8Array): GetLatestMapInfoRequest;
|
|
157
|
-
static deserializeBinaryFromReader(message: GetLatestMapInfoRequest, reader: jspb.BinaryReader): GetLatestMapInfoRequest;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
export namespace GetLatestMapInfoRequest {
|
|
161
|
-
export type AsObject = {
|
|
162
|
-
name: string,
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
export class GetLatestMapInfoResponse extends jspb.Message {
|
|
167
|
-
hasLastMapUpdate(): boolean;
|
|
168
|
-
clearLastMapUpdate(): void;
|
|
169
|
-
getLastMapUpdate(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
170
|
-
setLastMapUpdate(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
171
|
-
|
|
172
|
-
serializeBinary(): Uint8Array;
|
|
173
|
-
toObject(includeInstance?: boolean): GetLatestMapInfoResponse.AsObject;
|
|
174
|
-
static toObject(includeInstance: boolean, msg: GetLatestMapInfoResponse): GetLatestMapInfoResponse.AsObject;
|
|
175
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
176
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
177
|
-
static serializeBinaryToWriter(message: GetLatestMapInfoResponse, writer: jspb.BinaryWriter): void;
|
|
178
|
-
static deserializeBinary(bytes: Uint8Array): GetLatestMapInfoResponse;
|
|
179
|
-
static deserializeBinaryFromReader(message: GetLatestMapInfoResponse, reader: jspb.BinaryReader): GetLatestMapInfoResponse;
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
export namespace GetLatestMapInfoResponse {
|
|
183
|
-
export type AsObject = {
|
|
184
|
-
lastMapUpdate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
145
|
export class GetPropertiesRequest extends jspb.Message {
|
|
189
146
|
getName(): string;
|
|
190
147
|
setName(value: string): void;
|
|
@@ -32,15 +32,6 @@ type SLAMServiceGetInternalState = {
|
|
|
32
32
|
readonly responseType: typeof service_slam_v1_slam_pb.GetInternalStateResponse;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
-
type SLAMServiceGetLatestMapInfo = {
|
|
36
|
-
readonly methodName: string;
|
|
37
|
-
readonly service: typeof SLAMService;
|
|
38
|
-
readonly requestStream: false;
|
|
39
|
-
readonly responseStream: false;
|
|
40
|
-
readonly requestType: typeof service_slam_v1_slam_pb.GetLatestMapInfoRequest;
|
|
41
|
-
readonly responseType: typeof service_slam_v1_slam_pb.GetLatestMapInfoResponse;
|
|
42
|
-
};
|
|
43
|
-
|
|
44
35
|
type SLAMServiceGetProperties = {
|
|
45
36
|
readonly methodName: string;
|
|
46
37
|
readonly service: typeof SLAMService;
|
|
@@ -64,7 +55,6 @@ export class SLAMService {
|
|
|
64
55
|
static readonly GetPosition: SLAMServiceGetPosition;
|
|
65
56
|
static readonly GetPointCloudMap: SLAMServiceGetPointCloudMap;
|
|
66
57
|
static readonly GetInternalState: SLAMServiceGetInternalState;
|
|
67
|
-
static readonly GetLatestMapInfo: SLAMServiceGetLatestMapInfo;
|
|
68
58
|
static readonly GetProperties: SLAMServiceGetProperties;
|
|
69
59
|
static readonly DoCommand: SLAMServiceDoCommand;
|
|
70
60
|
}
|
|
@@ -112,15 +102,6 @@ export class SLAMServiceClient {
|
|
|
112
102
|
): UnaryResponse;
|
|
113
103
|
getPointCloudMap(requestMessage: service_slam_v1_slam_pb.GetPointCloudMapRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetPointCloudMapResponse>;
|
|
114
104
|
getInternalState(requestMessage: service_slam_v1_slam_pb.GetInternalStateRequest, metadata?: grpc.Metadata): ResponseStream<service_slam_v1_slam_pb.GetInternalStateResponse>;
|
|
115
|
-
getLatestMapInfo(
|
|
116
|
-
requestMessage: service_slam_v1_slam_pb.GetLatestMapInfoRequest,
|
|
117
|
-
metadata: grpc.Metadata,
|
|
118
|
-
callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetLatestMapInfoResponse|null) => void
|
|
119
|
-
): UnaryResponse;
|
|
120
|
-
getLatestMapInfo(
|
|
121
|
-
requestMessage: service_slam_v1_slam_pb.GetLatestMapInfoRequest,
|
|
122
|
-
callback: (error: ServiceError|null, responseMessage: service_slam_v1_slam_pb.GetLatestMapInfoResponse|null) => void
|
|
123
|
-
): UnaryResponse;
|
|
124
105
|
getProperties(
|
|
125
106
|
requestMessage: service_slam_v1_slam_pb.GetPropertiesRequest,
|
|
126
107
|
metadata: grpc.Metadata,
|
package/dist/main.d.ts
CHANGED
|
@@ -115,7 +115,7 @@ export { type Motor, MotorClient } from './components/motor';
|
|
|
115
115
|
* @group Raw Protobufs
|
|
116
116
|
*/
|
|
117
117
|
export { default as movementSensorApi } from './gen/component/movementsensor/v1/movementsensor_pb';
|
|
118
|
-
export { type MovementSensor, type MovementSensorProperties, type MovementSensorPosition, MovementSensorClient, } from './components/movementsensor';
|
|
118
|
+
export { type MovementSensor, type MovementSensorProperties, type MovementSensorPosition, type MovementSensorAccuracy, MovementSensorClient, } from './components/movementsensor';
|
|
119
119
|
/**
|
|
120
120
|
* Raw Protobuf interfaces for a PowerSensor component.
|
|
121
121
|
*
|
|
@@ -294,29 +294,12 @@ export { type SlamPosition, type SlamProperties, SlamClient, } from './services/
|
|
|
294
294
|
*
|
|
295
295
|
* Generated with https://github.com/improbable-eng/grpc-web
|
|
296
296
|
*
|
|
297
|
-
* @
|
|
298
|
-
*
|
|
299
|
-
* ```ts
|
|
300
|
-
* import { grpc } from '@improbable-eng/grpc-web';
|
|
301
|
-
*
|
|
302
|
-
* const client = {}; // replace with a connected robot client
|
|
303
|
-
*
|
|
304
|
-
* const request = new visionApi.GetDetectorNamesRequest();
|
|
305
|
-
* request.setName('myvision');
|
|
306
|
-
*
|
|
307
|
-
* client.visionService.getDetectorNames(
|
|
308
|
-
* request,
|
|
309
|
-
* new grpc.Metadata(),
|
|
310
|
-
* (error, response) => {
|
|
311
|
-
* // do something with error or response
|
|
312
|
-
* }
|
|
313
|
-
* );
|
|
314
|
-
* ```
|
|
315
|
-
*
|
|
297
|
+
* @deprecated Use {@link VisionClient} instead.
|
|
316
298
|
* @alpha
|
|
317
299
|
* @group Raw Protobufs
|
|
318
300
|
*/
|
|
319
301
|
export { default as visionApi } from './gen/service/vision/v1/vision_pb';
|
|
302
|
+
export { type Detection, type Classification, type PointCloudObject, VisionClient, } from './services/vision';
|
|
320
303
|
/**
|
|
321
304
|
* Raw Protobuf interfaces that are shared across multiple components and
|
|
322
305
|
* services.
|