@viamrobotics/sdk 0.76.0 → 0.77.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/app-client.d.ts +24 -1
- package/dist/debug.d.ts +4 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
- package/dist/gen/app/v1/app_connect.d.ts +45 -1
- package/dist/gen/app/v1/app_pb.d.ts +326 -1
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
- package/dist/gen/robot/v1/robot_pb.d.ts +1 -1
- package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
- package/dist/gen/service/motion/v1/motion_pb.d.ts +190 -0
- package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
- package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +4593 -4147
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +12 -0
- package/dist/services/vision/client.d.ts +4 -1
- package/dist/services/vision/types.d.ts +7 -1
- package/dist/services/vision/vision.d.ts +22 -1
- package/dist/services/vision.d.ts +1 -1
- package/package.json +5 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetPlanRequest, GetPlanResponse, GetPoseRequest, GetPoseResponse, ListPlanStatusesRequest, ListPlanStatusesResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, MoveResponse, StopPlanRequest, StopPlanResponse } from "./motion_pb.js";
|
|
6
|
+
import { GetPlanRequest, GetPlanResponse, GetPoseRequest, GetPoseResponse, ListPlanStatusesRequest, ListPlanStatusesResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, MoveResponse, StopPlanRequest, StopPlanResponse, TempStreamArmJointPositionsRequest, TempStreamArmJointPositionsResponse } from "./motion_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -103,6 +103,23 @@ export declare const MotionService: {
|
|
|
103
103
|
readonly O: typeof GetPlanResponse,
|
|
104
104
|
readonly kind: MethodKind.Unary,
|
|
105
105
|
},
|
|
106
|
+
/**
|
|
107
|
+
* Streams joint-space waypoints to an arm. The first message on the stream must
|
|
108
|
+
* be an Init; every subsequent message must be a Targets batch. Closing the
|
|
109
|
+
* request stream drains any buffered trajectory to the arm before ending the
|
|
110
|
+
* call; canceling the call's context aborts the session immediately.
|
|
111
|
+
*
|
|
112
|
+
* This method and its associated types are named as Temp because this API is
|
|
113
|
+
* under active development, and its current shape should not be depended on.
|
|
114
|
+
*
|
|
115
|
+
* @generated from rpc viam.service.motion.v1.MotionService.TempStreamArmJointPositions
|
|
116
|
+
*/
|
|
117
|
+
readonly tempStreamArmJointPositions: {
|
|
118
|
+
readonly name: "TempStreamArmJointPositions",
|
|
119
|
+
readonly I: typeof TempStreamArmJointPositionsRequest,
|
|
120
|
+
readonly O: typeof TempStreamArmJointPositionsResponse,
|
|
121
|
+
readonly kind: MethodKind.BiDiStreaming,
|
|
122
|
+
},
|
|
106
123
|
/**
|
|
107
124
|
* DoCommand sends/receives arbitrary commands
|
|
108
125
|
*
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { GeoGeometry, Geometry, GeoPoint, Pose, PoseInFrame, ResourceName, Transform, WorldState } from "../../../common/v1/common_pb.js";
|
|
9
|
+
import type { JointPositions, MoveOptions } from "../../../component/arm/v1/arm_pb.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* The states that a plan can be in.
|
|
@@ -935,6 +936,16 @@ export declare class OrientationConstraint extends Message<OrientationConstraint
|
|
|
935
936
|
*/
|
|
936
937
|
orientationToleranceDegs?: number;
|
|
937
938
|
|
|
939
|
+
/**
|
|
940
|
+
* When true, deviation is measured between orientation vectors alone, disregarding rotation about the
|
|
941
|
+
* component's own pointing axis. Set this for payloads that are symmetric about that axis - an open
|
|
942
|
+
* container spills when tipped, not when spun - so the tolerance does not pin a rotation that cannot
|
|
943
|
+
* matter. Defaults to false, measuring the full orientation.
|
|
944
|
+
*
|
|
945
|
+
* @generated from field: optional bool ignore_theta = 2;
|
|
946
|
+
*/
|
|
947
|
+
ignoreTheta?: boolean;
|
|
948
|
+
|
|
938
949
|
constructor(data?: PartialMessage<OrientationConstraint>);
|
|
939
950
|
|
|
940
951
|
static readonly runtime: typeof proto3;
|
|
@@ -1275,3 +1286,182 @@ export declare class ComponentState extends Message<ComponentState> {
|
|
|
1275
1286
|
static equals(a: ComponentState | PlainMessage<ComponentState> | undefined, b: ComponentState | PlainMessage<ComponentState> | undefined): boolean;
|
|
1276
1287
|
}
|
|
1277
1288
|
|
|
1289
|
+
/**
|
|
1290
|
+
* @generated from message viam.service.motion.v1.TempStreamOptions
|
|
1291
|
+
*/
|
|
1292
|
+
export declare class TempStreamOptions extends Message<TempStreamOptions> {
|
|
1293
|
+
/**
|
|
1294
|
+
* How much trajectory the motion service tries to keep buffered on the arm's side.
|
|
1295
|
+
*
|
|
1296
|
+
* @generated from field: optional int32 arm_side_target_runway_ms = 1;
|
|
1297
|
+
*/
|
|
1298
|
+
armSideTargetRunwayMs?: number;
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* How often the motion service aims to top up the arm's buffered runway.
|
|
1302
|
+
*
|
|
1303
|
+
* @generated from field: optional int32 send_to_arm_interval_ms = 2;
|
|
1304
|
+
*/
|
|
1305
|
+
sendToArmIntervalMs?: number;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Size of the detailed diagnostics window.
|
|
1309
|
+
*
|
|
1310
|
+
* @generated from field: optional int32 diagnostics_window_secs = 3;
|
|
1311
|
+
*/
|
|
1312
|
+
diagnosticsWindowSecs?: number;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Kinematic limits for the session's trajectory.
|
|
1316
|
+
*
|
|
1317
|
+
* @generated from field: optional viam.component.arm.v1.MoveOptions move_options = 4;
|
|
1318
|
+
*/
|
|
1319
|
+
moveOptions?: MoveOptions;
|
|
1320
|
+
|
|
1321
|
+
constructor(data?: PartialMessage<TempStreamOptions>);
|
|
1322
|
+
|
|
1323
|
+
static readonly runtime: typeof proto3;
|
|
1324
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamOptions";
|
|
1325
|
+
static readonly fields: FieldList;
|
|
1326
|
+
|
|
1327
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamOptions;
|
|
1328
|
+
|
|
1329
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamOptions;
|
|
1330
|
+
|
|
1331
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamOptions;
|
|
1332
|
+
|
|
1333
|
+
static equals(a: TempStreamOptions | PlainMessage<TempStreamOptions> | undefined, b: TempStreamOptions | PlainMessage<TempStreamOptions> | undefined): boolean;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsRequest
|
|
1338
|
+
*/
|
|
1339
|
+
export declare class TempStreamArmJointPositionsRequest extends Message<TempStreamArmJointPositionsRequest> {
|
|
1340
|
+
/**
|
|
1341
|
+
* Name of the motion service.
|
|
1342
|
+
*
|
|
1343
|
+
* @generated from field: string name = 1;
|
|
1344
|
+
*/
|
|
1345
|
+
name: string;
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* @generated from oneof viam.service.motion.v1.TempStreamArmJointPositionsRequest.message
|
|
1349
|
+
*/
|
|
1350
|
+
message: {
|
|
1351
|
+
/**
|
|
1352
|
+
* Session initiation. Sent exactly once and must be the first message on the stream.
|
|
1353
|
+
*
|
|
1354
|
+
* @generated from field: viam.service.motion.v1.TempStreamArmJointPositionsRequest.Init init = 2;
|
|
1355
|
+
*/
|
|
1356
|
+
value: TempStreamArmJointPositionsRequest_Init;
|
|
1357
|
+
case: "init";
|
|
1358
|
+
} | {
|
|
1359
|
+
/**
|
|
1360
|
+
* A batch of targets to append to the running session. Sent N times after init.
|
|
1361
|
+
*
|
|
1362
|
+
* @generated from field: viam.service.motion.v1.TempStreamArmJointPositionsRequest.Targets targets = 3;
|
|
1363
|
+
*/
|
|
1364
|
+
value: TempStreamArmJointPositionsRequest_Targets;
|
|
1365
|
+
case: "targets";
|
|
1366
|
+
} | { case: undefined; value?: undefined };
|
|
1367
|
+
|
|
1368
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsRequest>);
|
|
1369
|
+
|
|
1370
|
+
static readonly runtime: typeof proto3;
|
|
1371
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsRequest";
|
|
1372
|
+
static readonly fields: FieldList;
|
|
1373
|
+
|
|
1374
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsRequest;
|
|
1375
|
+
|
|
1376
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest;
|
|
1377
|
+
|
|
1378
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest;
|
|
1379
|
+
|
|
1380
|
+
static equals(a: TempStreamArmJointPositionsRequest | PlainMessage<TempStreamArmJointPositionsRequest> | undefined, b: TempStreamArmJointPositionsRequest | PlainMessage<TempStreamArmJointPositionsRequest> | undefined): boolean;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsRequest.Init
|
|
1385
|
+
*/
|
|
1386
|
+
export declare class TempStreamArmJointPositionsRequest_Init extends Message<TempStreamArmJointPositionsRequest_Init> {
|
|
1387
|
+
/**
|
|
1388
|
+
* Name of the arm to stream joint positions to.
|
|
1389
|
+
*
|
|
1390
|
+
* @generated from field: string component_name = 1;
|
|
1391
|
+
*/
|
|
1392
|
+
componentName: string;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Configuration for this streaming session.
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: optional viam.service.motion.v1.TempStreamOptions options = 2;
|
|
1398
|
+
*/
|
|
1399
|
+
options?: TempStreamOptions;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Additional arguments.
|
|
1403
|
+
*
|
|
1404
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
1405
|
+
*/
|
|
1406
|
+
extra?: Struct;
|
|
1407
|
+
|
|
1408
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsRequest_Init>);
|
|
1409
|
+
|
|
1410
|
+
static readonly runtime: typeof proto3;
|
|
1411
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsRequest.Init";
|
|
1412
|
+
static readonly fields: FieldList;
|
|
1413
|
+
|
|
1414
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsRequest_Init;
|
|
1415
|
+
|
|
1416
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Init;
|
|
1417
|
+
|
|
1418
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Init;
|
|
1419
|
+
|
|
1420
|
+
static equals(a: TempStreamArmJointPositionsRequest_Init | PlainMessage<TempStreamArmJointPositionsRequest_Init> | undefined, b: TempStreamArmJointPositionsRequest_Init | PlainMessage<TempStreamArmJointPositionsRequest_Init> | undefined): boolean;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsRequest.Targets
|
|
1425
|
+
*/
|
|
1426
|
+
export declare class TempStreamArmJointPositionsRequest_Targets extends Message<TempStreamArmJointPositionsRequest_Targets> {
|
|
1427
|
+
/**
|
|
1428
|
+
* Target joint positions to append to the session, in order.
|
|
1429
|
+
*
|
|
1430
|
+
* @generated from field: repeated viam.component.arm.v1.JointPositions positions = 1;
|
|
1431
|
+
*/
|
|
1432
|
+
positions: JointPositions[];
|
|
1433
|
+
|
|
1434
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsRequest_Targets>);
|
|
1435
|
+
|
|
1436
|
+
static readonly runtime: typeof proto3;
|
|
1437
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsRequest.Targets";
|
|
1438
|
+
static readonly fields: FieldList;
|
|
1439
|
+
|
|
1440
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsRequest_Targets;
|
|
1441
|
+
|
|
1442
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Targets;
|
|
1443
|
+
|
|
1444
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Targets;
|
|
1445
|
+
|
|
1446
|
+
static equals(a: TempStreamArmJointPositionsRequest_Targets | PlainMessage<TempStreamArmJointPositionsRequest_Targets> | undefined, b: TempStreamArmJointPositionsRequest_Targets | PlainMessage<TempStreamArmJointPositionsRequest_Targets> | undefined): boolean;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsResponse
|
|
1451
|
+
*/
|
|
1452
|
+
export declare class TempStreamArmJointPositionsResponse extends Message<TempStreamArmJointPositionsResponse> {
|
|
1453
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsResponse>);
|
|
1454
|
+
|
|
1455
|
+
static readonly runtime: typeof proto3;
|
|
1456
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsResponse";
|
|
1457
|
+
static readonly fields: FieldList;
|
|
1458
|
+
|
|
1459
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsResponse;
|
|
1460
|
+
|
|
1461
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsResponse;
|
|
1462
|
+
|
|
1463
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsResponse;
|
|
1464
|
+
|
|
1465
|
+
static equals(a: TempStreamArmJointPositionsResponse | PlainMessage<TempStreamArmJointPositionsResponse> | undefined, b: TempStreamArmJointPositionsResponse | PlainMessage<TempStreamArmJointPositionsResponse> | undefined): boolean;
|
|
1466
|
+
}
|
|
1467
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CaptureAllFromCameraRequest, CaptureAllFromCameraResponse, GetClassificationsFromCameraRequest, GetClassificationsFromCameraResponse, GetClassificationsRequest, GetClassificationsResponse, GetDetectionsFromCameraRequest, GetDetectionsFromCameraResponse, GetDetectionsRequest, GetDetectionsResponse, GetObjectPointCloudsRequest, GetObjectPointCloudsResponse, GetPropertiesRequest, GetPropertiesResponse } from "./vision_pb.js";
|
|
6
|
+
import { CaptureAllFromCameraRequest, CaptureAllFromCameraResponse, GetClassificationsFromCameraRequest, GetClassificationsFromCameraResponse, GetClassificationsRequest, GetClassificationsResponse, GetDetections3DRequest, GetDetections3DResponse, GetDetectionsFromCameraRequest, GetDetectionsFromCameraResponse, GetDetectionsRequest, GetDetectionsResponse, GetObjectPointCloudsRequest, GetObjectPointCloudsResponse, GetPropertiesRequest, GetPropertiesResponse } from "./vision_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -63,6 +63,20 @@ export declare const VisionService: {
|
|
|
63
63
|
readonly O: typeof GetClassificationsResponse,
|
|
64
64
|
readonly kind: MethodKind.Unary,
|
|
65
65
|
},
|
|
66
|
+
/**
|
|
67
|
+
* GetDetections3D returns the objects the service perceives through a camera.
|
|
68
|
+
* Each detection is a tree of named transforms carrying the object's shapes,
|
|
69
|
+
* plus class hypotheses. The transforms can be passed unchanged into a frame
|
|
70
|
+
* system or a motion WorldState.
|
|
71
|
+
*
|
|
72
|
+
* @generated from rpc viam.service.vision.v1.VisionService.GetDetections3D
|
|
73
|
+
*/
|
|
74
|
+
readonly getDetections3D: {
|
|
75
|
+
readonly name: "GetDetections3D",
|
|
76
|
+
readonly I: typeof GetDetections3DRequest,
|
|
77
|
+
readonly O: typeof GetDetections3DResponse,
|
|
78
|
+
readonly kind: MethodKind.Unary,
|
|
79
|
+
},
|
|
66
80
|
/**
|
|
67
81
|
* GetObjectPointClouds returns all the found objects in a pointcloud from a
|
|
68
82
|
* camera of the underlying robot, as well as the 3-vector center of each of
|
|
@@ -5,7 +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 { PointCloudObject } from "../../../common/v1/common_pb.js";
|
|
8
|
+
import type { PointCloudObject, Transform } from "../../../common/v1/common_pb.js";
|
|
9
9
|
import type { Image } from "../../../component/camera/v1/camera_pb.js";
|
|
10
10
|
|
|
11
11
|
/**
|
|
@@ -435,6 +435,117 @@ export declare class Classification extends Message<Classification> {
|
|
|
435
435
|
static equals(a: Classification | PlainMessage<Classification> | undefined, b: Classification | PlainMessage<Classification> | undefined): boolean;
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
+
/**
|
|
439
|
+
* @generated from message viam.service.vision.v1.GetDetections3DRequest
|
|
440
|
+
*/
|
|
441
|
+
export declare class GetDetections3DRequest extends Message<GetDetections3DRequest> {
|
|
442
|
+
/**
|
|
443
|
+
* name of the vision service
|
|
444
|
+
*
|
|
445
|
+
* @generated from field: string name = 1;
|
|
446
|
+
*/
|
|
447
|
+
name: string;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* name of the camera to observe
|
|
451
|
+
*
|
|
452
|
+
* @generated from field: string camera_name = 2;
|
|
453
|
+
*/
|
|
454
|
+
cameraName: string;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Additional arguments to the method
|
|
458
|
+
*
|
|
459
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
460
|
+
*/
|
|
461
|
+
extra?: Struct;
|
|
462
|
+
|
|
463
|
+
constructor(data?: PartialMessage<GetDetections3DRequest>);
|
|
464
|
+
|
|
465
|
+
static readonly runtime: typeof proto3;
|
|
466
|
+
static readonly typeName = "viam.service.vision.v1.GetDetections3DRequest";
|
|
467
|
+
static readonly fields: FieldList;
|
|
468
|
+
|
|
469
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDetections3DRequest;
|
|
470
|
+
|
|
471
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDetections3DRequest;
|
|
472
|
+
|
|
473
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDetections3DRequest;
|
|
474
|
+
|
|
475
|
+
static equals(a: GetDetections3DRequest | PlainMessage<GetDetections3DRequest> | undefined, b: GetDetections3DRequest | PlainMessage<GetDetections3DRequest> | undefined): boolean;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @generated from message viam.service.vision.v1.GetDetections3DResponse
|
|
480
|
+
*/
|
|
481
|
+
export declare class GetDetections3DResponse extends Message<GetDetections3DResponse> {
|
|
482
|
+
/**
|
|
483
|
+
* one entry per perceived object
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: repeated viam.service.vision.v1.Detection3D detections_3d = 1;
|
|
486
|
+
*/
|
|
487
|
+
detections3d: Detection3D[];
|
|
488
|
+
|
|
489
|
+
constructor(data?: PartialMessage<GetDetections3DResponse>);
|
|
490
|
+
|
|
491
|
+
static readonly runtime: typeof proto3;
|
|
492
|
+
static readonly typeName = "viam.service.vision.v1.GetDetections3DResponse";
|
|
493
|
+
static readonly fields: FieldList;
|
|
494
|
+
|
|
495
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDetections3DResponse;
|
|
496
|
+
|
|
497
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDetections3DResponse;
|
|
498
|
+
|
|
499
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDetections3DResponse;
|
|
500
|
+
|
|
501
|
+
static equals(a: GetDetections3DResponse | PlainMessage<GetDetections3DResponse> | undefined, b: GetDetections3DResponse | PlainMessage<GetDetections3DResponse> | undefined): boolean;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Detection3D is one perceived object, described as a tree of transforms.
|
|
506
|
+
* transforms[0] is the root, parented to a frame the robot already knows (e.g.
|
|
507
|
+
* the camera). Each later transform's parent is the root or an earlier entry.
|
|
508
|
+
* Each physical_object is expressed relative to its own transform's origin.
|
|
509
|
+
*
|
|
510
|
+
* @generated from message viam.service.vision.v1.Detection3D
|
|
511
|
+
*/
|
|
512
|
+
export declare class Detection3D extends Message<Detection3D> {
|
|
513
|
+
/**
|
|
514
|
+
* frame tree of this object, root first
|
|
515
|
+
*
|
|
516
|
+
* @generated from field: repeated viam.common.v1.Transform transforms = 1;
|
|
517
|
+
*/
|
|
518
|
+
transforms: Transform[];
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* class hypotheses for the object
|
|
522
|
+
*
|
|
523
|
+
* @generated from field: repeated viam.service.vision.v1.Classification classifications = 2;
|
|
524
|
+
*/
|
|
525
|
+
classifications: Classification[];
|
|
526
|
+
|
|
527
|
+
/**
|
|
528
|
+
* implementation-specific data, e.g. source camera or model name
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: google.protobuf.Struct metadata = 99;
|
|
531
|
+
*/
|
|
532
|
+
metadata?: Struct;
|
|
533
|
+
|
|
534
|
+
constructor(data?: PartialMessage<Detection3D>);
|
|
535
|
+
|
|
536
|
+
static readonly runtime: typeof proto3;
|
|
537
|
+
static readonly typeName = "viam.service.vision.v1.Detection3D";
|
|
538
|
+
static readonly fields: FieldList;
|
|
539
|
+
|
|
540
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Detection3D;
|
|
541
|
+
|
|
542
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Detection3D;
|
|
543
|
+
|
|
544
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Detection3D;
|
|
545
|
+
|
|
546
|
+
static equals(a: Detection3D | PlainMessage<Detection3D> | undefined, b: Detection3D | PlainMessage<Detection3D> | undefined): boolean;
|
|
547
|
+
}
|
|
548
|
+
|
|
438
549
|
/**
|
|
439
550
|
* @generated from message viam.service.vision.v1.GetObjectPointCloudsRequest
|
|
440
551
|
*/
|
|
@@ -592,6 +703,13 @@ export declare class CaptureAllFromCameraRequest extends Message<CaptureAllFromC
|
|
|
592
703
|
*/
|
|
593
704
|
returnObjectPointClouds: boolean;
|
|
594
705
|
|
|
706
|
+
/**
|
|
707
|
+
* whether or not including 3D detections in the response
|
|
708
|
+
*
|
|
709
|
+
* @generated from field: bool return_detections_3d = 7;
|
|
710
|
+
*/
|
|
711
|
+
returnDetections3d: boolean;
|
|
712
|
+
|
|
595
713
|
/**
|
|
596
714
|
* @generated from field: google.protobuf.Struct extra = 99;
|
|
597
715
|
*/
|
|
@@ -636,6 +754,11 @@ export declare class CaptureAllFromCameraResponse extends Message<CaptureAllFrom
|
|
|
636
754
|
*/
|
|
637
755
|
objects: PointCloudObject[];
|
|
638
756
|
|
|
757
|
+
/**
|
|
758
|
+
* @generated from field: repeated viam.service.vision.v1.Detection3D detections_3d = 5;
|
|
759
|
+
*/
|
|
760
|
+
detections3d: Detection3D[];
|
|
761
|
+
|
|
639
762
|
/**
|
|
640
763
|
* @generated from field: google.protobuf.Struct extra = 99;
|
|
641
764
|
*/
|
|
@@ -688,6 +811,13 @@ export declare class GetPropertiesResponse extends Message<GetPropertiesResponse
|
|
|
688
811
|
*/
|
|
689
812
|
defaultCamera?: string;
|
|
690
813
|
|
|
814
|
+
/**
|
|
815
|
+
* whether or not GetDetections3D is supported by the vision service
|
|
816
|
+
*
|
|
817
|
+
* @generated from field: bool detections_3d_supported = 5;
|
|
818
|
+
*/
|
|
819
|
+
detections3dSupported: boolean;
|
|
820
|
+
|
|
691
821
|
constructor(data?: PartialMessage<GetPropertiesResponse>);
|
|
692
822
|
|
|
693
823
|
static readonly runtime: typeof proto3;
|
package/dist/main.d.ts
CHANGED
|
@@ -286,7 +286,7 @@ export { SlamClient, SlamPosition, SlamProperties } from './services/slam';
|
|
|
286
286
|
* @group Raw Protobufs
|
|
287
287
|
*/
|
|
288
288
|
export * as slamApi from './gen/service/slam/v1/slam_pb';
|
|
289
|
-
export { Classification, Detection, PointCloudObject, VisionClient } from './services/vision';
|
|
289
|
+
export { Classification, Detection, Detection3D, PointCloudObject, VisionClient, } from './services/vision';
|
|
290
290
|
/**
|
|
291
291
|
* Raw Protobuf interfaces for a Vision service.
|
|
292
292
|
*
|