@viamrobotics/sdk 0.75.0 → 0.76.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/ml-training-client.d.ts +1 -1
- package/dist/components/arm/arm.d.ts +42 -0
- package/dist/components/arm/client.d.ts +3 -0
- package/dist/components/arm.d.ts +1 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +10 -0
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +8 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +66 -0
- package/dist/gen/app/v1/app_pb.d.ts +47 -0
- package/dist/gen/app/v1/robot_pb.d.ts +118 -0
- package/dist/gen/component/arm/v1/arm_connect.d.ts +43 -1
- package/dist/gen/component/arm/v1/arm_pb.d.ts +499 -1
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +18 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +3627 -3262
- package/dist/main.umd.js +5 -5
- package/dist/robot/client.d.ts +24 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
6
|
+
import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { Pose } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -94,6 +94,60 @@ export declare class JointPositions extends Message<JointPositions> {
|
|
|
94
94
|
static equals(a: JointPositions | PlainMessage<JointPositions> | undefined, b: JointPositions | PlainMessage<JointPositions> | undefined): boolean;
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
+
/**
|
|
98
|
+
* @generated from message viam.component.arm.v1.JointVelocities
|
|
99
|
+
*/
|
|
100
|
+
export declare class JointVelocities extends Message<JointVelocities> {
|
|
101
|
+
/**
|
|
102
|
+
* A list of joint velocities. Rotational values are in degrees per second, translational values in mm per second.
|
|
103
|
+
* There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: repeated double values = 1;
|
|
106
|
+
*/
|
|
107
|
+
values: number[];
|
|
108
|
+
|
|
109
|
+
constructor(data?: PartialMessage<JointVelocities>);
|
|
110
|
+
|
|
111
|
+
static readonly runtime: typeof proto3;
|
|
112
|
+
static readonly typeName = "viam.component.arm.v1.JointVelocities";
|
|
113
|
+
static readonly fields: FieldList;
|
|
114
|
+
|
|
115
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JointVelocities;
|
|
116
|
+
|
|
117
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JointVelocities;
|
|
118
|
+
|
|
119
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JointVelocities;
|
|
120
|
+
|
|
121
|
+
static equals(a: JointVelocities | PlainMessage<JointVelocities> | undefined, b: JointVelocities | PlainMessage<JointVelocities> | undefined): boolean;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from message viam.component.arm.v1.JointAccelerations
|
|
126
|
+
*/
|
|
127
|
+
export declare class JointAccelerations extends Message<JointAccelerations> {
|
|
128
|
+
/**
|
|
129
|
+
* A list of joint accelerations. Rotational values are in degrees per second squared, translational values in mm per second squared.
|
|
130
|
+
* There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm.
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: repeated double values = 1;
|
|
133
|
+
*/
|
|
134
|
+
values: number[];
|
|
135
|
+
|
|
136
|
+
constructor(data?: PartialMessage<JointAccelerations>);
|
|
137
|
+
|
|
138
|
+
static readonly runtime: typeof proto3;
|
|
139
|
+
static readonly typeName = "viam.component.arm.v1.JointAccelerations";
|
|
140
|
+
static readonly fields: FieldList;
|
|
141
|
+
|
|
142
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JointAccelerations;
|
|
143
|
+
|
|
144
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JointAccelerations;
|
|
145
|
+
|
|
146
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JointAccelerations;
|
|
147
|
+
|
|
148
|
+
static equals(a: JointAccelerations | PlainMessage<JointAccelerations> | undefined, b: JointAccelerations | PlainMessage<JointAccelerations> | undefined): boolean;
|
|
149
|
+
}
|
|
150
|
+
|
|
97
151
|
/**
|
|
98
152
|
* @generated from message viam.component.arm.v1.GetJointPositionsRequest
|
|
99
153
|
*/
|
|
@@ -342,6 +396,259 @@ export declare class MoveThroughJointPositionsResponse extends Message<MoveThrou
|
|
|
342
396
|
static equals(a: MoveThroughJointPositionsResponse | PlainMessage<MoveThroughJointPositionsResponse> | undefined, b: MoveThroughJointPositionsResponse | PlainMessage<MoveThroughJointPositionsResponse> | undefined): boolean;
|
|
343
397
|
}
|
|
344
398
|
|
|
399
|
+
/**
|
|
400
|
+
* One waypoint in a streamed joint-space trajectory.
|
|
401
|
+
*
|
|
402
|
+
* @generated from message viam.component.arm.v1.TrajectoryPoint
|
|
403
|
+
*/
|
|
404
|
+
export declare class TrajectoryPoint extends Message<TrajectoryPoint> {
|
|
405
|
+
/**
|
|
406
|
+
* Time from the start of the motion at which this waypoint should be reached. Must be zero
|
|
407
|
+
* for the first point of the stream and strictly increasing thereafter. Server implementations
|
|
408
|
+
* should validate these constraints.
|
|
409
|
+
*
|
|
410
|
+
* @generated from field: google.protobuf.Duration time = 1;
|
|
411
|
+
*/
|
|
412
|
+
time?: Duration;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* Joint positions at this waypoint.
|
|
416
|
+
*
|
|
417
|
+
* @generated from field: viam.component.arm.v1.JointPositions positions = 2;
|
|
418
|
+
*/
|
|
419
|
+
positions?: JointPositions;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Optional target kinematic constraints at this waypoint.
|
|
423
|
+
*
|
|
424
|
+
* @generated from field: optional viam.component.arm.v1.TrajectoryPoint.KinematicConstraints constraints = 3;
|
|
425
|
+
*/
|
|
426
|
+
constraints?: TrajectoryPoint_KinematicConstraints;
|
|
427
|
+
|
|
428
|
+
constructor(data?: PartialMessage<TrajectoryPoint>);
|
|
429
|
+
|
|
430
|
+
static readonly runtime: typeof proto3;
|
|
431
|
+
static readonly typeName = "viam.component.arm.v1.TrajectoryPoint";
|
|
432
|
+
static readonly fields: FieldList;
|
|
433
|
+
|
|
434
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrajectoryPoint;
|
|
435
|
+
|
|
436
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrajectoryPoint;
|
|
437
|
+
|
|
438
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrajectoryPoint;
|
|
439
|
+
|
|
440
|
+
static equals(a: TrajectoryPoint | PlainMessage<TrajectoryPoint> | undefined, b: TrajectoryPoint | PlainMessage<TrajectoryPoint> | undefined): boolean;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
/**
|
|
444
|
+
* @generated from message viam.component.arm.v1.TrajectoryPoint.KinematicConstraints
|
|
445
|
+
*/
|
|
446
|
+
export declare class TrajectoryPoint_KinematicConstraints extends Message<TrajectoryPoint_KinematicConstraints> {
|
|
447
|
+
/**
|
|
448
|
+
* Target joint velocities at this waypoint. If provided, the first point of the stream (the t=0 sample)
|
|
449
|
+
* must have zero velocity. Server implementations should validate this constraint.
|
|
450
|
+
*
|
|
451
|
+
* @generated from field: viam.component.arm.v1.JointVelocities velocities = 1;
|
|
452
|
+
*/
|
|
453
|
+
velocities?: JointVelocities;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* Optional target joint accelerations at this waypoint.
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: optional viam.component.arm.v1.JointAccelerations accelerations = 2;
|
|
459
|
+
*/
|
|
460
|
+
accelerations?: JointAccelerations;
|
|
461
|
+
|
|
462
|
+
constructor(data?: PartialMessage<TrajectoryPoint_KinematicConstraints>);
|
|
463
|
+
|
|
464
|
+
static readonly runtime: typeof proto3;
|
|
465
|
+
static readonly typeName = "viam.component.arm.v1.TrajectoryPoint.KinematicConstraints";
|
|
466
|
+
static readonly fields: FieldList;
|
|
467
|
+
|
|
468
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TrajectoryPoint_KinematicConstraints;
|
|
469
|
+
|
|
470
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TrajectoryPoint_KinematicConstraints;
|
|
471
|
+
|
|
472
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TrajectoryPoint_KinematicConstraints;
|
|
473
|
+
|
|
474
|
+
static equals(a: TrajectoryPoint_KinematicConstraints | PlainMessage<TrajectoryPoint_KinematicConstraints> | undefined, b: TrajectoryPoint_KinematicConstraints | PlainMessage<TrajectoryPoint_KinematicConstraints> | undefined): boolean;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/**
|
|
478
|
+
* @generated from message viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest
|
|
479
|
+
*/
|
|
480
|
+
export declare class MoveThroughJointPositionsStreamedRequest extends Message<MoveThroughJointPositionsStreamedRequest> {
|
|
481
|
+
/**
|
|
482
|
+
* Name of the arm to control.
|
|
483
|
+
*
|
|
484
|
+
* @generated from field: string name = 1;
|
|
485
|
+
*/
|
|
486
|
+
name: string;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* @generated from oneof viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.message
|
|
490
|
+
*/
|
|
491
|
+
message: {
|
|
492
|
+
/**
|
|
493
|
+
* Stream initiation. Sent exactly once and must be the first message on the stream.
|
|
494
|
+
*
|
|
495
|
+
* @generated from field: viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.Init init = 2;
|
|
496
|
+
*/
|
|
497
|
+
value: MoveThroughJointPositionsStreamedRequest_Init;
|
|
498
|
+
case: "init";
|
|
499
|
+
} | {
|
|
500
|
+
/**
|
|
501
|
+
* A batch of trajectory points to append to the running motion. Sent N times after init.
|
|
502
|
+
*
|
|
503
|
+
* @generated from field: viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.TrajectoryBatch batch = 3;
|
|
504
|
+
*/
|
|
505
|
+
value: MoveThroughJointPositionsStreamedRequest_TrajectoryBatch;
|
|
506
|
+
case: "batch";
|
|
507
|
+
} | { case: undefined; value?: undefined };
|
|
508
|
+
|
|
509
|
+
constructor(data?: PartialMessage<MoveThroughJointPositionsStreamedRequest>);
|
|
510
|
+
|
|
511
|
+
static readonly runtime: typeof proto3;
|
|
512
|
+
static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest";
|
|
513
|
+
static readonly fields: FieldList;
|
|
514
|
+
|
|
515
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsStreamedRequest;
|
|
516
|
+
|
|
517
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedRequest;
|
|
518
|
+
|
|
519
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedRequest;
|
|
520
|
+
|
|
521
|
+
static equals(a: MoveThroughJointPositionsStreamedRequest | PlainMessage<MoveThroughJointPositionsStreamedRequest> | undefined, b: MoveThroughJointPositionsStreamedRequest | PlainMessage<MoveThroughJointPositionsStreamedRequest> | undefined): boolean;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* @generated from message viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.Init
|
|
526
|
+
*/
|
|
527
|
+
export declare class MoveThroughJointPositionsStreamedRequest_Init extends Message<MoveThroughJointPositionsStreamedRequest_Init> {
|
|
528
|
+
/**
|
|
529
|
+
* Additional sticky arguments to the method.
|
|
530
|
+
*
|
|
531
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
532
|
+
*/
|
|
533
|
+
extra?: Struct;
|
|
534
|
+
|
|
535
|
+
constructor(data?: PartialMessage<MoveThroughJointPositionsStreamedRequest_Init>);
|
|
536
|
+
|
|
537
|
+
static readonly runtime: typeof proto3;
|
|
538
|
+
static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.Init";
|
|
539
|
+
static readonly fields: FieldList;
|
|
540
|
+
|
|
541
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsStreamedRequest_Init;
|
|
542
|
+
|
|
543
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedRequest_Init;
|
|
544
|
+
|
|
545
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedRequest_Init;
|
|
546
|
+
|
|
547
|
+
static equals(a: MoveThroughJointPositionsStreamedRequest_Init | PlainMessage<MoveThroughJointPositionsStreamedRequest_Init> | undefined, b: MoveThroughJointPositionsStreamedRequest_Init | PlainMessage<MoveThroughJointPositionsStreamedRequest_Init> | undefined): boolean;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/**
|
|
551
|
+
* @generated from message viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.TrajectoryBatch
|
|
552
|
+
*/
|
|
553
|
+
export declare class MoveThroughJointPositionsStreamedRequest_TrajectoryBatch extends Message<MoveThroughJointPositionsStreamedRequest_TrajectoryBatch> {
|
|
554
|
+
/**
|
|
555
|
+
* Trajectory points to append to the motion, in order. Append-only; points cannot be
|
|
556
|
+
* replaced or revoked.
|
|
557
|
+
*
|
|
558
|
+
* @generated from field: repeated viam.component.arm.v1.TrajectoryPoint points = 1;
|
|
559
|
+
*/
|
|
560
|
+
points: TrajectoryPoint[];
|
|
561
|
+
|
|
562
|
+
constructor(data?: PartialMessage<MoveThroughJointPositionsStreamedRequest_TrajectoryBatch>);
|
|
563
|
+
|
|
564
|
+
static readonly runtime: typeof proto3;
|
|
565
|
+
static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsStreamedRequest.TrajectoryBatch";
|
|
566
|
+
static readonly fields: FieldList;
|
|
567
|
+
|
|
568
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsStreamedRequest_TrajectoryBatch;
|
|
569
|
+
|
|
570
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedRequest_TrajectoryBatch;
|
|
571
|
+
|
|
572
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedRequest_TrajectoryBatch;
|
|
573
|
+
|
|
574
|
+
static equals(a: MoveThroughJointPositionsStreamedRequest_TrajectoryBatch | PlainMessage<MoveThroughJointPositionsStreamedRequest_TrajectoryBatch> | undefined, b: MoveThroughJointPositionsStreamedRequest_TrajectoryBatch | PlainMessage<MoveThroughJointPositionsStreamedRequest_TrajectoryBatch> | undefined): boolean;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
* Streamed back to the client while an arm is performing a streaming move.
|
|
579
|
+
*
|
|
580
|
+
* @generated from message viam.component.arm.v1.MoveThroughJointPositionsStreamedResponse
|
|
581
|
+
*/
|
|
582
|
+
export declare class MoveThroughJointPositionsStreamedResponse extends Message<MoveThroughJointPositionsStreamedResponse> {
|
|
583
|
+
/**
|
|
584
|
+
* This single-member `oneof` exists to future proof clients. We
|
|
585
|
+
* anticipate that arm implementations may in the future elect to
|
|
586
|
+
* return a wider variety of status updates during streaming, beyond
|
|
587
|
+
* simply ack'ing batches. Using a `oneof` here ensures that the
|
|
588
|
+
* addition of new update messages does not break existing clients.
|
|
589
|
+
*
|
|
590
|
+
* @generated from oneof viam.component.arm.v1.MoveThroughJointPositionsStreamedResponse.message
|
|
591
|
+
*/
|
|
592
|
+
message: {
|
|
593
|
+
/**
|
|
594
|
+
* @generated from field: viam.component.arm.v1.MoveThroughJointPositionsStreamedResponse.BatchAck ack = 1;
|
|
595
|
+
*/
|
|
596
|
+
value: MoveThroughJointPositionsStreamedResponse_BatchAck;
|
|
597
|
+
case: "ack";
|
|
598
|
+
} | { case: undefined; value?: undefined };
|
|
599
|
+
|
|
600
|
+
constructor(data?: PartialMessage<MoveThroughJointPositionsStreamedResponse>);
|
|
601
|
+
|
|
602
|
+
static readonly runtime: typeof proto3;
|
|
603
|
+
static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsStreamedResponse";
|
|
604
|
+
static readonly fields: FieldList;
|
|
605
|
+
|
|
606
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsStreamedResponse;
|
|
607
|
+
|
|
608
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedResponse;
|
|
609
|
+
|
|
610
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedResponse;
|
|
611
|
+
|
|
612
|
+
static equals(a: MoveThroughJointPositionsStreamedResponse | PlainMessage<MoveThroughJointPositionsStreamedResponse> | undefined, b: MoveThroughJointPositionsStreamedResponse | PlainMessage<MoveThroughJointPositionsStreamedResponse> | undefined): boolean;
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* BatchAck is returned by arm implementations to ack a
|
|
617
|
+
* `TrajectoryBatch`. Due to the lack of actionable payload in
|
|
618
|
+
* `BatchAck`, Arm implementations are not currently obligated to
|
|
619
|
+
* ack every batch, or even any batch. It is currently unspecified
|
|
620
|
+
* whether ack'ing a batch indicates its acceptance, issue to the
|
|
621
|
+
* arm, or completion. These very relaxed requirements may become
|
|
622
|
+
* tighter if and when `BatchAck` messages begin carrying meaningful
|
|
623
|
+
* payloads back to the client. For now, the recommended practice
|
|
624
|
+
* for arm implementors is to ack each batch that has been
|
|
625
|
+
* successfully issued/enqueued to the arm.
|
|
626
|
+
*
|
|
627
|
+
* @generated from message viam.component.arm.v1.MoveThroughJointPositionsStreamedResponse.BatchAck
|
|
628
|
+
*/
|
|
629
|
+
export declare class MoveThroughJointPositionsStreamedResponse_BatchAck extends Message<MoveThroughJointPositionsStreamedResponse_BatchAck> {
|
|
630
|
+
/**
|
|
631
|
+
* Additional reply data
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
634
|
+
*/
|
|
635
|
+
extra?: Struct;
|
|
636
|
+
|
|
637
|
+
constructor(data?: PartialMessage<MoveThroughJointPositionsStreamedResponse_BatchAck>);
|
|
638
|
+
|
|
639
|
+
static readonly runtime: typeof proto3;
|
|
640
|
+
static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsStreamedResponse.BatchAck";
|
|
641
|
+
static readonly fields: FieldList;
|
|
642
|
+
|
|
643
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsStreamedResponse_BatchAck;
|
|
644
|
+
|
|
645
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedResponse_BatchAck;
|
|
646
|
+
|
|
647
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsStreamedResponse_BatchAck;
|
|
648
|
+
|
|
649
|
+
static equals(a: MoveThroughJointPositionsStreamedResponse_BatchAck | PlainMessage<MoveThroughJointPositionsStreamedResponse_BatchAck> | undefined, b: MoveThroughJointPositionsStreamedResponse_BatchAck | PlainMessage<MoveThroughJointPositionsStreamedResponse_BatchAck> | undefined): boolean;
|
|
650
|
+
}
|
|
651
|
+
|
|
345
652
|
/**
|
|
346
653
|
* @generated from message viam.component.arm.v1.StopRequest
|
|
347
654
|
*/
|
|
@@ -542,3 +849,194 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
542
849
|
static equals(a: MoveOptions | PlainMessage<MoveOptions> | undefined, b: MoveOptions | PlainMessage<MoveOptions> | undefined): boolean;
|
|
543
850
|
}
|
|
544
851
|
|
|
852
|
+
/**
|
|
853
|
+
* @generated from message viam.component.arm.v1.SetManualModeRequest
|
|
854
|
+
*/
|
|
855
|
+
export declare class SetManualModeRequest extends Message<SetManualModeRequest> {
|
|
856
|
+
/**
|
|
857
|
+
* Name of an arm
|
|
858
|
+
*
|
|
859
|
+
* @generated from field: string name = 1;
|
|
860
|
+
*/
|
|
861
|
+
name: string;
|
|
862
|
+
|
|
863
|
+
/**
|
|
864
|
+
* True to enter manual mode, false to exit it
|
|
865
|
+
*
|
|
866
|
+
* @generated from field: bool manual_mode = 2;
|
|
867
|
+
*/
|
|
868
|
+
manualMode: boolean;
|
|
869
|
+
|
|
870
|
+
/**
|
|
871
|
+
* How long to stay in manual mode, in seconds; 0 means no time limit
|
|
872
|
+
*
|
|
873
|
+
* @generated from field: int32 enabled_for = 3;
|
|
874
|
+
*/
|
|
875
|
+
enabledFor: number;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Additional arguments to the method
|
|
879
|
+
*
|
|
880
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
881
|
+
*/
|
|
882
|
+
extra?: Struct;
|
|
883
|
+
|
|
884
|
+
constructor(data?: PartialMessage<SetManualModeRequest>);
|
|
885
|
+
|
|
886
|
+
static readonly runtime: typeof proto3;
|
|
887
|
+
static readonly typeName = "viam.component.arm.v1.SetManualModeRequest";
|
|
888
|
+
static readonly fields: FieldList;
|
|
889
|
+
|
|
890
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetManualModeRequest;
|
|
891
|
+
|
|
892
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetManualModeRequest;
|
|
893
|
+
|
|
894
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetManualModeRequest;
|
|
895
|
+
|
|
896
|
+
static equals(a: SetManualModeRequest | PlainMessage<SetManualModeRequest> | undefined, b: SetManualModeRequest | PlainMessage<SetManualModeRequest> | undefined): boolean;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* @generated from message viam.component.arm.v1.SetManualModeResponse
|
|
901
|
+
*/
|
|
902
|
+
export declare class SetManualModeResponse extends Message<SetManualModeResponse> {
|
|
903
|
+
constructor(data?: PartialMessage<SetManualModeResponse>);
|
|
904
|
+
|
|
905
|
+
static readonly runtime: typeof proto3;
|
|
906
|
+
static readonly typeName = "viam.component.arm.v1.SetManualModeResponse";
|
|
907
|
+
static readonly fields: FieldList;
|
|
908
|
+
|
|
909
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetManualModeResponse;
|
|
910
|
+
|
|
911
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetManualModeResponse;
|
|
912
|
+
|
|
913
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetManualModeResponse;
|
|
914
|
+
|
|
915
|
+
static equals(a: SetManualModeResponse | PlainMessage<SetManualModeResponse> | undefined, b: SetManualModeResponse | PlainMessage<SetManualModeResponse> | undefined): boolean;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* @generated from message viam.component.arm.v1.GetManualModeRequest
|
|
920
|
+
*/
|
|
921
|
+
export declare class GetManualModeRequest extends Message<GetManualModeRequest> {
|
|
922
|
+
/**
|
|
923
|
+
* Name of an arm
|
|
924
|
+
*
|
|
925
|
+
* @generated from field: string name = 1;
|
|
926
|
+
*/
|
|
927
|
+
name: string;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Additional arguments to the method
|
|
931
|
+
*
|
|
932
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
933
|
+
*/
|
|
934
|
+
extra?: Struct;
|
|
935
|
+
|
|
936
|
+
constructor(data?: PartialMessage<GetManualModeRequest>);
|
|
937
|
+
|
|
938
|
+
static readonly runtime: typeof proto3;
|
|
939
|
+
static readonly typeName = "viam.component.arm.v1.GetManualModeRequest";
|
|
940
|
+
static readonly fields: FieldList;
|
|
941
|
+
|
|
942
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetManualModeRequest;
|
|
943
|
+
|
|
944
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetManualModeRequest;
|
|
945
|
+
|
|
946
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetManualModeRequest;
|
|
947
|
+
|
|
948
|
+
static equals(a: GetManualModeRequest | PlainMessage<GetManualModeRequest> | undefined, b: GetManualModeRequest | PlainMessage<GetManualModeRequest> | undefined): boolean;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* @generated from message viam.component.arm.v1.GetManualModeResponse
|
|
953
|
+
*/
|
|
954
|
+
export declare class GetManualModeResponse extends Message<GetManualModeResponse> {
|
|
955
|
+
/**
|
|
956
|
+
* True if the arm is in manual mode
|
|
957
|
+
*
|
|
958
|
+
* @generated from field: bool manual_mode = 1;
|
|
959
|
+
*/
|
|
960
|
+
manualMode: boolean;
|
|
961
|
+
|
|
962
|
+
constructor(data?: PartialMessage<GetManualModeResponse>);
|
|
963
|
+
|
|
964
|
+
static readonly runtime: typeof proto3;
|
|
965
|
+
static readonly typeName = "viam.component.arm.v1.GetManualModeResponse";
|
|
966
|
+
static readonly fields: FieldList;
|
|
967
|
+
|
|
968
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetManualModeResponse;
|
|
969
|
+
|
|
970
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetManualModeResponse;
|
|
971
|
+
|
|
972
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetManualModeResponse;
|
|
973
|
+
|
|
974
|
+
static equals(a: GetManualModeResponse | PlainMessage<GetManualModeResponse> | undefined, b: GetManualModeResponse | PlainMessage<GetManualModeResponse> | undefined): boolean;
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* @generated from message viam.component.arm.v1.GetPropertiesRequest
|
|
979
|
+
*/
|
|
980
|
+
export declare class GetPropertiesRequest extends Message<GetPropertiesRequest> {
|
|
981
|
+
/**
|
|
982
|
+
* Name of an arm
|
|
983
|
+
*
|
|
984
|
+
* @generated from field: string name = 1;
|
|
985
|
+
*/
|
|
986
|
+
name: string;
|
|
987
|
+
|
|
988
|
+
/**
|
|
989
|
+
* Additional arguments to the method
|
|
990
|
+
*
|
|
991
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
992
|
+
*/
|
|
993
|
+
extra?: Struct;
|
|
994
|
+
|
|
995
|
+
constructor(data?: PartialMessage<GetPropertiesRequest>);
|
|
996
|
+
|
|
997
|
+
static readonly runtime: typeof proto3;
|
|
998
|
+
static readonly typeName = "viam.component.arm.v1.GetPropertiesRequest";
|
|
999
|
+
static readonly fields: FieldList;
|
|
1000
|
+
|
|
1001
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPropertiesRequest;
|
|
1002
|
+
|
|
1003
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPropertiesRequest;
|
|
1004
|
+
|
|
1005
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPropertiesRequest;
|
|
1006
|
+
|
|
1007
|
+
static equals(a: GetPropertiesRequest | PlainMessage<GetPropertiesRequest> | undefined, b: GetPropertiesRequest | PlainMessage<GetPropertiesRequest> | undefined): boolean;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from message viam.component.arm.v1.GetPropertiesResponse
|
|
1012
|
+
*/
|
|
1013
|
+
export declare class GetPropertiesResponse extends Message<GetPropertiesResponse> {
|
|
1014
|
+
/**
|
|
1015
|
+
* True if the arm supports software-enabled manual mode
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: bool support_manual_mode = 1;
|
|
1018
|
+
*/
|
|
1019
|
+
supportManualMode: boolean;
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* True if the arm supports direct cartesian commands (MoveToPosition is implemented)
|
|
1023
|
+
*
|
|
1024
|
+
* @generated from field: bool support_cartesian_commands = 2;
|
|
1025
|
+
*/
|
|
1026
|
+
supportCartesianCommands: boolean;
|
|
1027
|
+
|
|
1028
|
+
constructor(data?: PartialMessage<GetPropertiesResponse>);
|
|
1029
|
+
|
|
1030
|
+
static readonly runtime: typeof proto3;
|
|
1031
|
+
static readonly typeName = "viam.component.arm.v1.GetPropertiesResponse";
|
|
1032
|
+
static readonly fields: FieldList;
|
|
1033
|
+
|
|
1034
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPropertiesResponse;
|
|
1035
|
+
|
|
1036
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPropertiesResponse;
|
|
1037
|
+
|
|
1038
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPropertiesResponse;
|
|
1039
|
+
|
|
1040
|
+
static equals(a: GetPropertiesResponse | PlainMessage<GetPropertiesResponse> | undefined, b: GetPropertiesResponse | PlainMessage<GetPropertiesResponse> | undefined): boolean;
|
|
1041
|
+
}
|
|
1042
|
+
|
|
@@ -474,6 +474,24 @@ export declare class AnswerRequestInitStage extends Message<AnswerRequestInitSta
|
|
|
474
474
|
*/
|
|
475
475
|
deadline?: Timestamp;
|
|
476
476
|
|
|
477
|
+
/**
|
|
478
|
+
* caller_auth_entity is the caller's authenticated entity (its JWT subject), extracted
|
|
479
|
+
* from the caller's auth token by the signaling server. Only the caller's identity is
|
|
480
|
+
* forwarded to the answerer, not its bearer token. Empty when the caller was
|
|
481
|
+
* unauthenticated.
|
|
482
|
+
*
|
|
483
|
+
* @generated from field: string caller_auth_entity = 4;
|
|
484
|
+
*/
|
|
485
|
+
callerAuthEntity: string;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* caller_auth_metadata is the caller's auth metadata (its rpc_auth_md claim), extracted
|
|
489
|
+
* from the caller's auth token by the signaling server.
|
|
490
|
+
*
|
|
491
|
+
* @generated from field: map<string, string> caller_auth_metadata = 5;
|
|
492
|
+
*/
|
|
493
|
+
callerAuthMetadata: { [key: string]: string };
|
|
494
|
+
|
|
477
495
|
constructor(data?: PartialMessage<AnswerRequestInitStage>);
|
|
478
496
|
|
|
479
497
|
static readonly runtime: typeof proto3;
|
package/dist/main.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export { type AppClient } from './app/app-client';
|
|
|
32
32
|
*/
|
|
33
33
|
export * as appApi from './gen/app/v1/app_pb';
|
|
34
34
|
export * as appRobotApi from './gen/app/v1/robot_pb';
|
|
35
|
-
export { ModelType, TrainingStatus, type MlTrainingClient } from './app/ml-training-client';
|
|
35
|
+
export { ModelType, TrainingStatus, Visibility, type MlTrainingClient, } from './app/ml-training-client';
|
|
36
36
|
/**
|
|
37
37
|
* Raw Protobuf interfaces for ML Training.
|
|
38
38
|
*
|