@viamrobotics/sdk 0.70.0 → 0.73.0-b.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 +130 -254
- package/dist/app/billing-client.d.ts +6 -15
- package/dist/app/data-client.d.ts +351 -244
- package/dist/app/ml-training-client.d.ts +5 -5
- package/dist/app/provisioning-client.d.ts +2 -4
- package/dist/app/viam-client.d.ts +1 -1
- package/dist/app/viam-transport.d.ts +1 -4
- package/dist/assert.d.ts +2 -3
- package/dist/components/arm/arm.d.ts +2 -2
- package/dist/components/arm/client.d.ts +1 -1
- package/dist/components/audio-out/audio-out.d.ts +30 -2
- package/dist/components/audio-out/client.d.ts +1 -0
- package/dist/components/audioin.d.ts +1 -1
- package/dist/components/audioout.d.ts +1 -1
- package/dist/components/base/base.d.ts +10 -11
- package/dist/components/board/board.d.ts +8 -15
- package/dist/components/board/client.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +3 -5
- package/dist/components/camera/client.d.ts +2 -2
- package/dist/components/encoder/encoder.d.ts +4 -5
- package/dist/components/encoder.d.ts +1 -1
- package/dist/components/gantry/gantry.d.ts +7 -10
- package/dist/components/generic/generic.d.ts +1 -4
- package/dist/components/gripper/client.d.ts +2 -0
- package/dist/components/gripper/gripper.d.ts +30 -2
- package/dist/components/input-controller/input-controller.d.ts +5 -15
- package/dist/components/inputcontroller.d.ts +1 -1
- package/dist/components/motor/motor.d.ts +17 -19
- package/dist/components/movement-sensor/movement-sensor.d.ts +14 -42
- package/dist/components/pose-tracker/pose-tracker.d.ts +1 -4
- package/dist/components/power-sensor/power-sensor.d.ts +6 -20
- package/dist/components/switch/switch.d.ts +2 -3
- package/dist/debug.d.ts +74 -0
- package/dist/events.d.ts +12 -10
- package/dist/extra/stream/client.d.ts +12 -11
- package/dist/extra/stream/stream.d.ts +1 -1
- package/dist/gen/app/agent/v1/agent_connect.d.ts +1 -1
- package/dist/gen/app/build/v1/build_connect.d.ts +1 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +30 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +1 -1
- package/dist/gen/app/data/v1/data_connect.d.ts +90 -2
- package/dist/gen/app/data/v1/data_pb.d.ts +562 -1
- package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +1 -1
- package/dist/gen/app/dataset/v1/dataset_connect.d.ts +25 -3
- package/dist/gen/app/dataset/v1/dataset_pb.d.ts +227 -1
- package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +1 -1
- package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +1 -1
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +1 -1
- package/dist/gen/app/packages/v1/packages_connect.d.ts +1 -1
- package/dist/gen/app/v1/app_connect.d.ts +1 -1
- package/dist/gen/app/v1/billing_connect.d.ts +1 -1
- package/dist/gen/app/v1/end_user_connect.d.ts +1 -1
- package/dist/gen/app/v1/robot_connect.d.ts +1 -1
- package/dist/gen/common/v1/common_pb.d.ts +26 -0
- package/dist/gen/component/arm/v1/arm_connect.d.ts +1 -1
- package/dist/gen/component/arm/v1/arm_pb.d.ts +17 -0
- package/dist/gen/component/audioin/v1/audioin_connect.d.ts +1 -1
- package/dist/gen/component/audioout/v1/audioout_connect.d.ts +16 -2
- package/dist/gen/component/audioout/v1/audioout_pb.d.ts +115 -0
- package/dist/gen/component/base/v1/base_connect.d.ts +1 -1
- package/dist/gen/component/board/v1/board_connect.d.ts +1 -1
- package/dist/gen/component/button/v1/button_connect.d.ts +1 -1
- package/dist/gen/component/camera/v1/camera_connect.d.ts +1 -1
- package/dist/gen/component/encoder/v1/encoder_connect.d.ts +1 -1
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +1 -1
- package/dist/gen/component/generic/v1/generic_connect.d.ts +1 -1
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +24 -2
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +118 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +1 -1
- package/dist/gen/component/motor/v1/motor_connect.d.ts +1 -1
- package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +1 -1
- package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +1 -1
- package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +1 -1
- package/dist/gen/component/sensor/v1/sensor_connect.d.ts +1 -1
- package/dist/gen/component/servo/v1/servo_connect.d.ts +1 -1
- package/dist/gen/component/switch/v1/switch_connect.d.ts +1 -1
- package/dist/gen/component/testecho/v1/testecho_connect.d.ts +1 -1
- package/dist/gen/google/bytestream/bytestream_connect.d.ts +1 -1
- package/dist/gen/google/iam/v1/iam_policy_connect.d.ts +1 -1
- package/dist/gen/google/longrunning/operations_connect.d.ts +1 -1
- package/dist/gen/grpc/reflection/v1/reflection_connect.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_connect.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_connect.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_connect.d.ts +1 -1
- package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +1 -1
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +1 -1
- package/dist/gen/proto/rpc/v1/auth_connect.d.ts +1 -1
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +1 -1
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +1 -1
- package/dist/gen/robot/v1/robot_connect.d.ts +1 -1
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +1 -1
- package/dist/gen/service/discovery/v1/discovery_connect.d.ts +1 -1
- package/dist/gen/service/generic/v1/generic_connect.d.ts +1 -1
- package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +1 -1
- package/dist/gen/service/motion/v1/motion_connect.d.ts +1 -1
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +1 -1
- package/dist/gen/service/sensors/v1/sensors_connect.d.ts +1 -1
- package/dist/gen/service/shell/v1/shell_connect.d.ts +1 -1
- package/dist/gen/service/slam/v1/slam_connect.d.ts +1 -1
- package/dist/gen/service/video/v1/video_connect.d.ts +1 -1
- package/dist/gen/service/vision/v1/vision_connect.d.ts +1 -1
- package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +1 -1
- package/dist/gen/stream/v1/stream_connect.d.ts +1 -1
- package/dist/main.d.ts +12 -12
- package/dist/main.es.js +28872 -32280
- package/dist/main.umd.js +6 -7
- package/dist/robot/client.d.ts +68 -58
- package/dist/robot/dial.d.ts +7 -10
- package/dist/robot/robot.d.ts +27 -29
- package/dist/rpc/client-channel.d.ts +1 -1
- package/dist/rpc/client-stream.d.ts +4 -5
- package/dist/rpc/connection-closed-error.d.ts +1 -1
- package/dist/rpc/dial.d.ts +35 -41
- package/dist/rpc/index.d.ts +1 -1
- package/dist/rpc/signaling-exchange.d.ts +1 -1
- package/dist/rpc/stream-client-stream.d.ts +1 -1
- package/dist/rpc/unary-client-stream.d.ts +1 -1
- package/dist/services/data-manager/client.d.ts +5 -14
- package/dist/services/data-manager/data-manager.d.ts +1 -1
- package/dist/services/generic/client.d.ts +1 -1
- package/dist/services/generic/generic.d.ts +1 -2
- package/dist/services/motion/motion.d.ts +53 -78
- package/dist/services/navigation/client.d.ts +1 -1
- package/dist/services/navigation/navigation.d.ts +2 -4
- package/dist/services/slam/client.d.ts +1 -1
- package/dist/services/slam/slam.d.ts +4 -6
- package/dist/services/video/video.d.ts +2 -6
- package/dist/services/vision/vision.d.ts +13 -19
- package/dist/services/world-state-store/world-state-store.d.ts +6 -19
- package/dist/types.d.ts +5 -7
- package/dist/utils.d.ts +5 -5
- package/package.json +29 -29
|
@@ -6,6 +6,65 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
|
+
/**
|
|
10
|
+
* DatasetType describes the kind of membership a dataset stores.
|
|
11
|
+
* buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
|
|
12
|
+
*
|
|
13
|
+
* @generated from enum viam.app.dataset.v1.DatasetType
|
|
14
|
+
*/
|
|
15
|
+
export declare enum DatasetType {
|
|
16
|
+
/**
|
|
17
|
+
* DATASET_TYPE_BINARY_DATA is a dataset whose members are individual binary data objects (frames).
|
|
18
|
+
* This is the default for datasets created without an explicit type, including all pre-existing
|
|
19
|
+
* datasets.
|
|
20
|
+
*
|
|
21
|
+
* @generated from enum value: DATASET_TYPE_BINARY_DATA = 0;
|
|
22
|
+
*/
|
|
23
|
+
BINARY_DATA = 0,
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* DATASET_TYPE_SEQUENCE_DATA is a dataset whose members are sequences. Binary-data writes
|
|
27
|
+
* (AddBinaryDataToDatasetByIDs, AddBinaryDataToDatasetByFilter) are rejected against datasets
|
|
28
|
+
* of this type; sequences are added/removed via AddSequencesToDataset / RemoveSequencesFromDataset.
|
|
29
|
+
*
|
|
30
|
+
* @generated from enum value: DATASET_TYPE_SEQUENCE_DATA = 1;
|
|
31
|
+
*/
|
|
32
|
+
SEQUENCE_DATA = 1,
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* SequenceDatasetExportStatus is the lifecycle state of an export job.
|
|
37
|
+
*
|
|
38
|
+
* @generated from enum viam.app.dataset.v1.SequenceDatasetExportStatus
|
|
39
|
+
*/
|
|
40
|
+
export declare enum SequenceDatasetExportStatus {
|
|
41
|
+
/**
|
|
42
|
+
* @generated from enum value: SEQUENCE_DATASET_EXPORT_STATUS_UNSPECIFIED = 0;
|
|
43
|
+
*/
|
|
44
|
+
UNSPECIFIED = 0,
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* PENDING — accepted, not yet picked up.
|
|
48
|
+
*
|
|
49
|
+
* @generated from enum value: SEQUENCE_DATASET_EXPORT_STATUS_RUNNING = 1;
|
|
50
|
+
*/
|
|
51
|
+
RUNNING = 1,
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* COMPLETED — Parquet file is uploaded; download_url is set.
|
|
55
|
+
*
|
|
56
|
+
* @generated from enum value: SEQUENCE_DATASET_EXPORT_STATUS_COMPLETED = 2;
|
|
57
|
+
*/
|
|
58
|
+
COMPLETED = 2,
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* FAILED — terminal; error_message describes the cause.
|
|
62
|
+
*
|
|
63
|
+
* @generated from enum value: SEQUENCE_DATASET_EXPORT_STATUS_FAILED = 3;
|
|
64
|
+
*/
|
|
65
|
+
FAILED = 3,
|
|
66
|
+
}
|
|
67
|
+
|
|
9
68
|
/**
|
|
10
69
|
* Dataset stores the metadata of a dataset.
|
|
11
70
|
*
|
|
@@ -32,6 +91,14 @@ export declare class Dataset extends Message<Dataset> {
|
|
|
32
91
|
*/
|
|
33
92
|
timeCreated?: Timestamp;
|
|
34
93
|
|
|
94
|
+
/**
|
|
95
|
+
* type is the membership kind of this dataset. Immutable after creation; defaults to
|
|
96
|
+
* DATASET_TYPE_BINARY_DATA when unset (including for pre-existing datasets).
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: viam.app.dataset.v1.DatasetType type = 5;
|
|
99
|
+
*/
|
|
100
|
+
type: DatasetType;
|
|
101
|
+
|
|
35
102
|
constructor(data?: PartialMessage<Dataset>);
|
|
36
103
|
|
|
37
104
|
static readonly runtime: typeof proto3;
|
|
@@ -63,6 +130,13 @@ export declare class CreateDatasetRequest extends Message<CreateDatasetRequest>
|
|
|
63
130
|
*/
|
|
64
131
|
organizationId: string;
|
|
65
132
|
|
|
133
|
+
/**
|
|
134
|
+
* type is the membership kind for the new dataset. Defaults to DATASET_TYPE_BINARY_DATA when unset.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: optional viam.app.dataset.v1.DatasetType type = 3;
|
|
137
|
+
*/
|
|
138
|
+
type?: DatasetType;
|
|
139
|
+
|
|
66
140
|
constructor(data?: PartialMessage<CreateDatasetRequest>);
|
|
67
141
|
|
|
68
142
|
static readonly runtime: typeof proto3;
|
|
@@ -200,7 +274,8 @@ export declare class RenameDatasetResponse extends Message<RenameDatasetResponse
|
|
|
200
274
|
}
|
|
201
275
|
|
|
202
276
|
/**
|
|
203
|
-
* ListDatasetsByOrganizationIDRequest requests all of the datasets for an organization
|
|
277
|
+
* ListDatasetsByOrganizationIDRequest requests all of the datasets for an organization,
|
|
278
|
+
* optionally filtering on DatasetType
|
|
204
279
|
*
|
|
205
280
|
* @generated from message viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest
|
|
206
281
|
*/
|
|
@@ -210,6 +285,14 @@ export declare class ListDatasetsByOrganizationIDRequest extends Message<ListDat
|
|
|
210
285
|
*/
|
|
211
286
|
organizationId: string;
|
|
212
287
|
|
|
288
|
+
/**
|
|
289
|
+
* Optional DataseType to filter on.
|
|
290
|
+
* If unset, will return all types.
|
|
291
|
+
*
|
|
292
|
+
* @generated from field: optional viam.app.dataset.v1.DatasetType type = 2;
|
|
293
|
+
*/
|
|
294
|
+
type?: DatasetType;
|
|
295
|
+
|
|
213
296
|
constructor(data?: PartialMessage<ListDatasetsByOrganizationIDRequest>);
|
|
214
297
|
|
|
215
298
|
static readonly runtime: typeof proto3;
|
|
@@ -365,3 +448,146 @@ export declare class MergeDatasetsResponse extends Message<MergeDatasetsResponse
|
|
|
365
448
|
static equals(a: MergeDatasetsResponse | PlainMessage<MergeDatasetsResponse> | undefined, b: MergeDatasetsResponse | PlainMessage<MergeDatasetsResponse> | undefined): boolean;
|
|
366
449
|
}
|
|
367
450
|
|
|
451
|
+
/**
|
|
452
|
+
* StartSequenceDatasetExportRequest specifies the sequence dataset to export.
|
|
453
|
+
*
|
|
454
|
+
* @generated from message viam.app.dataset.v1.StartSequenceDatasetExportRequest
|
|
455
|
+
*/
|
|
456
|
+
export declare class StartSequenceDatasetExportRequest extends Message<StartSequenceDatasetExportRequest> {
|
|
457
|
+
/**
|
|
458
|
+
* @generated from field: string dataset_id = 1;
|
|
459
|
+
*/
|
|
460
|
+
datasetId: string;
|
|
461
|
+
|
|
462
|
+
constructor(data?: PartialMessage<StartSequenceDatasetExportRequest>);
|
|
463
|
+
|
|
464
|
+
static readonly runtime: typeof proto3;
|
|
465
|
+
static readonly typeName = "viam.app.dataset.v1.StartSequenceDatasetExportRequest";
|
|
466
|
+
static readonly fields: FieldList;
|
|
467
|
+
|
|
468
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartSequenceDatasetExportRequest;
|
|
469
|
+
|
|
470
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartSequenceDatasetExportRequest;
|
|
471
|
+
|
|
472
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartSequenceDatasetExportRequest;
|
|
473
|
+
|
|
474
|
+
static equals(a: StartSequenceDatasetExportRequest | PlainMessage<StartSequenceDatasetExportRequest> | undefined, b: StartSequenceDatasetExportRequest | PlainMessage<StartSequenceDatasetExportRequest> | undefined): boolean;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* StartSequenceDatasetExportResponse returns the job_id to poll with
|
|
479
|
+
*
|
|
480
|
+
* @generated from message viam.app.dataset.v1.StartSequenceDatasetExportResponse
|
|
481
|
+
*/
|
|
482
|
+
export declare class StartSequenceDatasetExportResponse extends Message<StartSequenceDatasetExportResponse> {
|
|
483
|
+
/**
|
|
484
|
+
* @generated from field: string job_id = 1;
|
|
485
|
+
*/
|
|
486
|
+
jobId: string;
|
|
487
|
+
|
|
488
|
+
constructor(data?: PartialMessage<StartSequenceDatasetExportResponse>);
|
|
489
|
+
|
|
490
|
+
static readonly runtime: typeof proto3;
|
|
491
|
+
static readonly typeName = "viam.app.dataset.v1.StartSequenceDatasetExportResponse";
|
|
492
|
+
static readonly fields: FieldList;
|
|
493
|
+
|
|
494
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StartSequenceDatasetExportResponse;
|
|
495
|
+
|
|
496
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StartSequenceDatasetExportResponse;
|
|
497
|
+
|
|
498
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StartSequenceDatasetExportResponse;
|
|
499
|
+
|
|
500
|
+
static equals(a: StartSequenceDatasetExportResponse | PlainMessage<StartSequenceDatasetExportResponse> | undefined, b: StartSequenceDatasetExportResponse | PlainMessage<StartSequenceDatasetExportResponse> | undefined): boolean;
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* GetSequenceDatasetExportRequest looks up an export job by its job_id.
|
|
505
|
+
*
|
|
506
|
+
* @generated from message viam.app.dataset.v1.GetSequenceDatasetExportRequest
|
|
507
|
+
*/
|
|
508
|
+
export declare class GetSequenceDatasetExportRequest extends Message<GetSequenceDatasetExportRequest> {
|
|
509
|
+
/**
|
|
510
|
+
* @generated from field: string job_id = 1;
|
|
511
|
+
*/
|
|
512
|
+
jobId: string;
|
|
513
|
+
|
|
514
|
+
constructor(data?: PartialMessage<GetSequenceDatasetExportRequest>);
|
|
515
|
+
|
|
516
|
+
static readonly runtime: typeof proto3;
|
|
517
|
+
static readonly typeName = "viam.app.dataset.v1.GetSequenceDatasetExportRequest";
|
|
518
|
+
static readonly fields: FieldList;
|
|
519
|
+
|
|
520
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSequenceDatasetExportRequest;
|
|
521
|
+
|
|
522
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSequenceDatasetExportRequest;
|
|
523
|
+
|
|
524
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSequenceDatasetExportRequest;
|
|
525
|
+
|
|
526
|
+
static equals(a: GetSequenceDatasetExportRequest | PlainMessage<GetSequenceDatasetExportRequest> | undefined, b: GetSequenceDatasetExportRequest | PlainMessage<GetSequenceDatasetExportRequest> | undefined): boolean;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* GetSequenceDatasetExportResponse reports the current status of an export
|
|
531
|
+
* job. download_url and expires_at are set only when status is COMPLETED;
|
|
532
|
+
* error_message is set only when status is FAILED.
|
|
533
|
+
*
|
|
534
|
+
* @generated from message viam.app.dataset.v1.GetSequenceDatasetExportResponse
|
|
535
|
+
*/
|
|
536
|
+
export declare class GetSequenceDatasetExportResponse extends Message<GetSequenceDatasetExportResponse> {
|
|
537
|
+
/**
|
|
538
|
+
* @generated from field: string job_id = 1;
|
|
539
|
+
*/
|
|
540
|
+
jobId: string;
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: viam.app.dataset.v1.SequenceDatasetExportStatus status = 2;
|
|
544
|
+
*/
|
|
545
|
+
status: SequenceDatasetExportStatus;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Short-lived (e.g. 1h) signed URL for direct download from backing
|
|
549
|
+
* storage. Empty unless status is COMPLETED.
|
|
550
|
+
*
|
|
551
|
+
* @generated from field: string download_url = 3;
|
|
552
|
+
*/
|
|
553
|
+
downloadUrl: string;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* When download_url stops working. Empty unless status is COMPLETED.
|
|
557
|
+
*
|
|
558
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 4;
|
|
559
|
+
*/
|
|
560
|
+
expiresAt?: Timestamp;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Human-readable cause; empty unless status is FAILED.
|
|
564
|
+
*
|
|
565
|
+
* @generated from field: string error_message = 5;
|
|
566
|
+
*/
|
|
567
|
+
errorMessage: string;
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
571
|
+
*/
|
|
572
|
+
createdAt?: Timestamp;
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* @generated from field: google.protobuf.Timestamp completed_at = 7;
|
|
576
|
+
*/
|
|
577
|
+
completedAt?: Timestamp;
|
|
578
|
+
|
|
579
|
+
constructor(data?: PartialMessage<GetSequenceDatasetExportResponse>);
|
|
580
|
+
|
|
581
|
+
static readonly runtime: typeof proto3;
|
|
582
|
+
static readonly typeName = "viam.app.dataset.v1.GetSequenceDatasetExportResponse";
|
|
583
|
+
static readonly fields: FieldList;
|
|
584
|
+
|
|
585
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSequenceDatasetExportResponse;
|
|
586
|
+
|
|
587
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSequenceDatasetExportResponse;
|
|
588
|
+
|
|
589
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSequenceDatasetExportResponse;
|
|
590
|
+
|
|
591
|
+
static equals(a: GetSequenceDatasetExportResponse | PlainMessage<GetSequenceDatasetExportResponse> | undefined, b: GetSequenceDatasetExportResponse | PlainMessage<GetSequenceDatasetExportResponse> | undefined): boolean;
|
|
592
|
+
}
|
|
593
|
+
|
|
@@ -1110,6 +1110,32 @@ export declare class Get3DModelsResponse extends Message<Get3DModelsResponse> {
|
|
|
1110
1110
|
static equals(a: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined, b: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined): boolean;
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
|
+
/**
|
|
1114
|
+
* @generated from message viam.common.v1.GetWorldPoseResponse
|
|
1115
|
+
*/
|
|
1116
|
+
export declare class GetWorldPoseResponse extends Message<GetWorldPoseResponse> {
|
|
1117
|
+
/**
|
|
1118
|
+
* Pose of the component in the world reference frame
|
|
1119
|
+
*
|
|
1120
|
+
* @generated from field: viam.common.v1.Pose pose = 1;
|
|
1121
|
+
*/
|
|
1122
|
+
pose?: Pose;
|
|
1123
|
+
|
|
1124
|
+
constructor(data?: PartialMessage<GetWorldPoseResponse>);
|
|
1125
|
+
|
|
1126
|
+
static readonly runtime: typeof proto3;
|
|
1127
|
+
static readonly typeName = "viam.common.v1.GetWorldPoseResponse";
|
|
1128
|
+
static readonly fields: FieldList;
|
|
1129
|
+
|
|
1130
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorldPoseResponse;
|
|
1131
|
+
|
|
1132
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorldPoseResponse;
|
|
1133
|
+
|
|
1134
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorldPoseResponse;
|
|
1135
|
+
|
|
1136
|
+
static equals(a: GetWorldPoseResponse | PlainMessage<GetWorldPoseResponse> | undefined, b: GetWorldPoseResponse | PlainMessage<GetWorldPoseResponse> | undefined): boolean;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1113
1139
|
/**
|
|
1114
1140
|
* @generated from message viam.common.v1.GetReadingsRequest
|
|
1115
1141
|
*/
|
|
@@ -477,11 +477,17 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
+
* MoveOptions specifies kinematic constraints for an arm motion. All fields
|
|
481
|
+
* are optional ceilings; any combination may be set. Every constraint that
|
|
482
|
+
* is set is respected at every point along the executed trajectory.
|
|
483
|
+
* The limiting constraint may change throughout execution.
|
|
484
|
+
*
|
|
480
485
|
* @generated from message viam.component.arm.v1.MoveOptions
|
|
481
486
|
*/
|
|
482
487
|
export declare class MoveOptions extends Message<MoveOptions> {
|
|
483
488
|
/**
|
|
484
489
|
* Maximum allowable velocity of an arm joint, in degrees per second.
|
|
490
|
+
* The arm driver will move as fast as possible up to the set value.
|
|
485
491
|
* Ignored when max_vel_degs_per_sec_joints is set.
|
|
486
492
|
*
|
|
487
493
|
* @generated from field: optional double max_vel_degs_per_sec = 1;
|
|
@@ -490,6 +496,7 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
490
496
|
|
|
491
497
|
/**
|
|
492
498
|
* Maximum allowable acceleration of an arm joint, in degrees per second squared.
|
|
499
|
+
* The arm driver will accelerate as fast as possible up to the set value.
|
|
493
500
|
* ignored when max_acc_degs_per_sec2_joints is set.
|
|
494
501
|
*
|
|
495
502
|
* @generated from field: optional double max_acc_degs_per_sec2 = 2;
|
|
@@ -498,6 +505,7 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
498
505
|
|
|
499
506
|
/**
|
|
500
507
|
* Per-joint maximum velocity in degrees per second.
|
|
508
|
+
* The arm driver will move each joint as fast as possible up to its respective set value.
|
|
501
509
|
*
|
|
502
510
|
* @generated from field: repeated double max_vel_degs_per_sec_joints = 3;
|
|
503
511
|
*/
|
|
@@ -505,11 +513,20 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
505
513
|
|
|
506
514
|
/**
|
|
507
515
|
* Per-joint maximum acceleration in degrees per second squared.
|
|
516
|
+
* The arm driver will accelerate each joint as fast as possible up to its respective set value.
|
|
508
517
|
*
|
|
509
518
|
* @generated from field: repeated double max_acc_degs_per_sec2_joints = 4;
|
|
510
519
|
*/
|
|
511
520
|
maxAccDegsPerSec2Joints: number[];
|
|
512
521
|
|
|
522
|
+
/**
|
|
523
|
+
* Maximum allowable speed of an arm's tool center point in meters per second.
|
|
524
|
+
* The arm driver will move the tool center point as fast as possible up to this set value.
|
|
525
|
+
*
|
|
526
|
+
* @generated from field: optional double max_tcp_speed = 5;
|
|
527
|
+
*/
|
|
528
|
+
maxTcpSpeed?: number;
|
|
529
|
+
|
|
513
530
|
constructor(data?: PartialMessage<MoveOptions>);
|
|
514
531
|
|
|
515
532
|
static readonly runtime: typeof proto3;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
2
|
// @generated from file component/audioout/v1/audioout.proto (package viam.component.audioout.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { PlayRequest, PlayResponse } from "./audioout_pb.js";
|
|
6
|
+
import { PlayRequest, PlayResponse, PlayStreamRequest, PlayStreamResponse } from "./audioout_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -26,6 +26,20 @@ export declare const AudioOutService: {
|
|
|
26
26
|
readonly O: typeof PlayResponse,
|
|
27
27
|
readonly kind: MethodKind.Unary,
|
|
28
28
|
},
|
|
29
|
+
/**
|
|
30
|
+
* PlayStream streams audio chunks to the audioout component for playback.
|
|
31
|
+
* The first message on the stream must be a PlayStreamInit containing the
|
|
32
|
+
* component name and AudioInfo describing the audio format; subsequent
|
|
33
|
+
* messages must be PlayStreamChunk payloads.
|
|
34
|
+
*
|
|
35
|
+
* @generated from rpc viam.component.audioout.v1.AudioOutService.PlayStream
|
|
36
|
+
*/
|
|
37
|
+
readonly playStream: {
|
|
38
|
+
readonly name: "PlayStream",
|
|
39
|
+
readonly I: typeof PlayStreamRequest,
|
|
40
|
+
readonly O: typeof PlayStreamResponse,
|
|
41
|
+
readonly kind: MethodKind.ClientStreaming,
|
|
42
|
+
},
|
|
29
43
|
/**
|
|
30
44
|
* GetProperties returns the properties of the audioout.
|
|
31
45
|
*
|
|
@@ -48,6 +48,102 @@ export declare class PlayRequest extends Message<PlayRequest> {
|
|
|
48
48
|
static equals(a: PlayRequest | PlainMessage<PlayRequest> | undefined, b: PlayRequest | PlainMessage<PlayRequest> | undefined): boolean;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* @generated from message viam.component.audioout.v1.PlayStreamRequest
|
|
53
|
+
*/
|
|
54
|
+
export declare class PlayStreamRequest extends Message<PlayStreamRequest> {
|
|
55
|
+
/**
|
|
56
|
+
* @generated from oneof viam.component.audioout.v1.PlayStreamRequest.payload
|
|
57
|
+
*/
|
|
58
|
+
payload: {
|
|
59
|
+
/**
|
|
60
|
+
* sent on first message
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: viam.component.audioout.v1.PlayStreamInit init = 1;
|
|
63
|
+
*/
|
|
64
|
+
value: PlayStreamInit;
|
|
65
|
+
case: "init";
|
|
66
|
+
} | {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from field: viam.component.audioout.v1.PlayStreamChunk audio_chunk = 2;
|
|
69
|
+
*/
|
|
70
|
+
value: PlayStreamChunk;
|
|
71
|
+
case: "audioChunk";
|
|
72
|
+
} | { case: undefined; value?: undefined };
|
|
73
|
+
|
|
74
|
+
constructor(data?: PartialMessage<PlayStreamRequest>);
|
|
75
|
+
|
|
76
|
+
static readonly runtime: typeof proto3;
|
|
77
|
+
static readonly typeName = "viam.component.audioout.v1.PlayStreamRequest";
|
|
78
|
+
static readonly fields: FieldList;
|
|
79
|
+
|
|
80
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayStreamRequest;
|
|
81
|
+
|
|
82
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayStreamRequest;
|
|
83
|
+
|
|
84
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayStreamRequest;
|
|
85
|
+
|
|
86
|
+
static equals(a: PlayStreamRequest | PlainMessage<PlayStreamRequest> | undefined, b: PlayStreamRequest | PlainMessage<PlayStreamRequest> | undefined): boolean;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @generated from message viam.component.audioout.v1.PlayStreamChunk
|
|
91
|
+
*/
|
|
92
|
+
export declare class PlayStreamChunk extends Message<PlayStreamChunk> {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from field: bytes audio_data = 1;
|
|
95
|
+
*/
|
|
96
|
+
audioData: Uint8Array;
|
|
97
|
+
|
|
98
|
+
constructor(data?: PartialMessage<PlayStreamChunk>);
|
|
99
|
+
|
|
100
|
+
static readonly runtime: typeof proto3;
|
|
101
|
+
static readonly typeName = "viam.component.audioout.v1.PlayStreamChunk";
|
|
102
|
+
static readonly fields: FieldList;
|
|
103
|
+
|
|
104
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayStreamChunk;
|
|
105
|
+
|
|
106
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayStreamChunk;
|
|
107
|
+
|
|
108
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayStreamChunk;
|
|
109
|
+
|
|
110
|
+
static equals(a: PlayStreamChunk | PlainMessage<PlayStreamChunk> | undefined, b: PlayStreamChunk | PlainMessage<PlayStreamChunk> | undefined): boolean;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* @generated from message viam.component.audioout.v1.PlayStreamInit
|
|
115
|
+
*/
|
|
116
|
+
export declare class PlayStreamInit extends Message<PlayStreamInit> {
|
|
117
|
+
/**
|
|
118
|
+
* @generated from field: string name = 1;
|
|
119
|
+
*/
|
|
120
|
+
name: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* @generated from field: viam.common.v1.AudioInfo audio_info = 2;
|
|
124
|
+
*/
|
|
125
|
+
audioInfo?: AudioInfo;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
129
|
+
*/
|
|
130
|
+
extra?: Struct;
|
|
131
|
+
|
|
132
|
+
constructor(data?: PartialMessage<PlayStreamInit>);
|
|
133
|
+
|
|
134
|
+
static readonly runtime: typeof proto3;
|
|
135
|
+
static readonly typeName = "viam.component.audioout.v1.PlayStreamInit";
|
|
136
|
+
static readonly fields: FieldList;
|
|
137
|
+
|
|
138
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayStreamInit;
|
|
139
|
+
|
|
140
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayStreamInit;
|
|
141
|
+
|
|
142
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayStreamInit;
|
|
143
|
+
|
|
144
|
+
static equals(a: PlayStreamInit | PlainMessage<PlayStreamInit> | undefined, b: PlayStreamInit | PlainMessage<PlayStreamInit> | undefined): boolean;
|
|
145
|
+
}
|
|
146
|
+
|
|
51
147
|
/**
|
|
52
148
|
* @generated from message viam.component.audioout.v1.PlayResponse
|
|
53
149
|
*/
|
|
@@ -67,3 +163,22 @@ export declare class PlayResponse extends Message<PlayResponse> {
|
|
|
67
163
|
static equals(a: PlayResponse | PlainMessage<PlayResponse> | undefined, b: PlayResponse | PlainMessage<PlayResponse> | undefined): boolean;
|
|
68
164
|
}
|
|
69
165
|
|
|
166
|
+
/**
|
|
167
|
+
* @generated from message viam.component.audioout.v1.PlayStreamResponse
|
|
168
|
+
*/
|
|
169
|
+
export declare class PlayStreamResponse extends Message<PlayStreamResponse> {
|
|
170
|
+
constructor(data?: PartialMessage<PlayStreamResponse>);
|
|
171
|
+
|
|
172
|
+
static readonly runtime: typeof proto3;
|
|
173
|
+
static readonly typeName = "viam.component.audioout.v1.PlayStreamResponse";
|
|
174
|
+
static readonly fields: FieldList;
|
|
175
|
+
|
|
176
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PlayStreamResponse;
|
|
177
|
+
|
|
178
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PlayStreamResponse;
|
|
179
|
+
|
|
180
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PlayStreamResponse;
|
|
181
|
+
|
|
182
|
+
static equals(a: PlayStreamResponse | PlainMessage<PlayStreamResponse> | undefined, b: PlayStreamResponse | PlainMessage<PlayStreamResponse> | undefined): boolean;
|
|
183
|
+
}
|
|
184
|
+
|