@viamrobotics/sdk 0.74.2 → 0.75.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.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/components/audio-in/audio-in.d.ts +12 -1
- package/dist/components/audio-in/client.d.ts +1 -0
- package/dist/components/audio-out/audio-out.d.ts +12 -1
- package/dist/components/audio-out/client.d.ts +1 -0
- package/dist/components/board/board.d.ts +15 -0
- package/dist/components/board/client.d.ts +1 -0
- package/dist/components/encoder/client.d.ts +1 -0
- package/dist/components/encoder/encoder.d.ts +15 -0
- package/dist/components/input-controller/client.d.ts +1 -0
- package/dist/components/input-controller/input-controller.d.ts +15 -0
- package/dist/components/motor/client.d.ts +1 -0
- package/dist/components/motor/motor.d.ts +15 -0
- package/dist/components/movement-sensor/client.d.ts +1 -0
- package/dist/components/movement-sensor/movement-sensor.d.ts +15 -0
- package/dist/components/sensor/client.d.ts +1 -0
- package/dist/components/servo/client.d.ts +1 -0
- package/dist/components/servo/servo.d.ts +15 -0
- 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/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/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +3 -3
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +79 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +125 -87
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +13 -1
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +266 -0
- package/dist/main.es.js +6048 -5523
- package/dist/main.umd.js +9 -9
- package/dist/robot/client.d.ts +24 -0
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
|
|
6
|
+
import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, GetManualModeRequest, GetManualModeResponse, GetPropertiesRequest, GetPropertiesResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveThroughJointPositionsStreamedRequest, MoveThroughJointPositionsStreamedResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, SetManualModeRequest, SetManualModeResponse, StopRequest, StopResponse } from "./arm_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, Get3DModelsRequest, Get3DModelsResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -74,6 +74,15 @@ export declare const ArmService: {
|
|
|
74
74
|
readonly O: typeof MoveThroughJointPositionsResponse,
|
|
75
75
|
readonly kind: MethodKind.Unary,
|
|
76
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
* @generated from rpc viam.component.arm.v1.ArmService.MoveThroughJointPositionsStreamed
|
|
79
|
+
*/
|
|
80
|
+
readonly moveThroughJointPositionsStreamed: {
|
|
81
|
+
readonly name: "MoveThroughJointPositionsStreamed",
|
|
82
|
+
readonly I: typeof MoveThroughJointPositionsStreamedRequest,
|
|
83
|
+
readonly O: typeof MoveThroughJointPositionsStreamedResponse,
|
|
84
|
+
readonly kind: MethodKind.BiDiStreaming,
|
|
85
|
+
},
|
|
77
86
|
/**
|
|
78
87
|
* Stop stops a robot's arm
|
|
79
88
|
*
|
|
@@ -151,6 +160,39 @@ export declare const ArmService: {
|
|
|
151
160
|
readonly O: typeof Get3DModelsResponse,
|
|
152
161
|
readonly kind: MethodKind.Unary,
|
|
153
162
|
},
|
|
163
|
+
/**
|
|
164
|
+
* SetManualMode enters or exits manual mode for an arm that supports it
|
|
165
|
+
*
|
|
166
|
+
* @generated from rpc viam.component.arm.v1.ArmService.SetManualMode
|
|
167
|
+
*/
|
|
168
|
+
readonly setManualMode: {
|
|
169
|
+
readonly name: "SetManualMode",
|
|
170
|
+
readonly I: typeof SetManualModeRequest,
|
|
171
|
+
readonly O: typeof SetManualModeResponse,
|
|
172
|
+
readonly kind: MethodKind.Unary,
|
|
173
|
+
},
|
|
174
|
+
/**
|
|
175
|
+
* GetManualMode returns whether the arm is currently in manual mode
|
|
176
|
+
*
|
|
177
|
+
* @generated from rpc viam.component.arm.v1.ArmService.GetManualMode
|
|
178
|
+
*/
|
|
179
|
+
readonly getManualMode: {
|
|
180
|
+
readonly name: "GetManualMode",
|
|
181
|
+
readonly I: typeof GetManualModeRequest,
|
|
182
|
+
readonly O: typeof GetManualModeResponse,
|
|
183
|
+
readonly kind: MethodKind.Unary,
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* GetProperties returns a message indicating which features the arm supports
|
|
187
|
+
*
|
|
188
|
+
* @generated from rpc viam.component.arm.v1.ArmService.GetProperties
|
|
189
|
+
*/
|
|
190
|
+
readonly getProperties: {
|
|
191
|
+
readonly name: "GetProperties",
|
|
192
|
+
readonly I: typeof GetPropertiesRequest,
|
|
193
|
+
readonly O: typeof GetPropertiesResponse,
|
|
194
|
+
readonly kind: MethodKind.Unary,
|
|
195
|
+
},
|
|
154
196
|
}
|
|
155
197
|
};
|
|
156
198
|
|
|
@@ -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
|
+
|
package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts
CHANGED
|
@@ -22,6 +22,8 @@ import { Message, proto3 } from "@bufbuild/protobuf";
|
|
|
22
22
|
import type { ProfilesDictionary, ResourceProfiles } from "../../../profiles/v1development/profiles_pb.js";
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
+
* Status: [Alpha]
|
|
26
|
+
*
|
|
25
27
|
* @generated from message opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceRequest
|
|
26
28
|
*/
|
|
27
29
|
export declare class ExportProfilesServiceRequest extends Message<ExportProfilesServiceRequest> {
|
|
@@ -59,6 +61,8 @@ export declare class ExportProfilesServiceRequest extends Message<ExportProfiles
|
|
|
59
61
|
}
|
|
60
62
|
|
|
61
63
|
/**
|
|
64
|
+
* Status: [Alpha]
|
|
65
|
+
*
|
|
62
66
|
* @generated from message opentelemetry.proto.collector.profiles.v1development.ExportProfilesServiceResponse
|
|
63
67
|
*/
|
|
64
68
|
export declare class ExportProfilesServiceResponse extends Message<ExportProfilesServiceResponse> {
|
|
@@ -99,6 +103,8 @@ export declare class ExportProfilesServiceResponse extends Message<ExportProfile
|
|
|
99
103
|
}
|
|
100
104
|
|
|
101
105
|
/**
|
|
106
|
+
* Status: [Alpha]
|
|
107
|
+
*
|
|
102
108
|
* @generated from message opentelemetry.proto.collector.profiles.v1development.ExportProfilesPartialSuccess
|
|
103
109
|
*/
|
|
104
110
|
export declare class ExportProfilesPartialSuccess extends Message<ExportProfilesPartialSuccess> {
|
|
@@ -87,7 +87,7 @@ export declare class AnyValue extends Message<AnyValue> {
|
|
|
87
87
|
* Profiling signal and process the data as if this value were absent or
|
|
88
88
|
* empty, ignoring its semantic content for the non-Profiling signal.
|
|
89
89
|
*
|
|
90
|
-
* Status: [
|
|
90
|
+
* Status: [Alpha]
|
|
91
91
|
*
|
|
92
92
|
* @generated from field: int32 string_value_strindex = 8;
|
|
93
93
|
*/
|
|
@@ -185,7 +185,7 @@ export declare class KeyValueList extends Message<KeyValueList> {
|
|
|
185
185
|
export declare class KeyValue extends Message<KeyValue> {
|
|
186
186
|
/**
|
|
187
187
|
* The key name of the pair.
|
|
188
|
-
*
|
|
188
|
+
* key_strindex MUST NOT be set if key is used.
|
|
189
189
|
*
|
|
190
190
|
* @generated from field: string key = 1;
|
|
191
191
|
*/
|
|
@@ -209,7 +209,7 @@ export declare class KeyValue extends Message<KeyValue> {
|
|
|
209
209
|
* Profiling signal and process the data as if this value were absent or
|
|
210
210
|
* empty, ignoring its semantic content for the non-Profiling signal.
|
|
211
211
|
*
|
|
212
|
-
* Status: [
|
|
212
|
+
* Status: [Alpha]
|
|
213
213
|
*
|
|
214
214
|
* @generated from field: int32 key_strindex = 3;
|
|
215
215
|
*/
|
|
@@ -400,7 +400,7 @@ export declare class Metric extends Message<Metric> {
|
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* The unit in which the metric value is reported. Follows the format
|
|
403
|
-
* described by https://
|
|
403
|
+
* described by https://ucum.org/ucum and https://units-of-measurement.org/
|
|
404
404
|
*
|
|
405
405
|
* @generated from field: string unit = 3;
|
|
406
406
|
*/
|