@viamrobotics/sdk 0.76.0 → 0.78.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/README.md +1 -1
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +108 -102
- package/dist/app/billing-client.d.ts +4 -5
- package/dist/app/data-client.d.ts +31 -31
- package/dist/app/ml-training-client.d.ts +6 -6
- package/dist/components/arm/arm.d.ts +8 -9
- package/dist/components/base/base.d.ts +8 -8
- package/dist/components/board/board.d.ts +12 -13
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +2 -2
- package/dist/components/encoder/encoder.d.ts +4 -4
- package/dist/components/gantry/gantry.d.ts +8 -8
- package/dist/components/generic/generic.d.ts +1 -1
- package/dist/components/gripper/gripper.d.ts +6 -6
- package/dist/components/input-controller/input-controller.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -11
- package/dist/components/movement-sensor/movement-sensor.d.ts +10 -10
- package/dist/components/pose-tracker/pose-tracker.d.ts +1 -1
- package/dist/components/power-sensor/power-sensor.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +1 -1
- package/dist/components/servo/servo.d.ts +5 -5
- package/dist/components/switch/switch.d.ts +3 -3
- package/dist/debug.d.ts +4 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
- package/dist/gen/app/v1/app_connect.d.ts +45 -1
- package/dist/gen/app/v1/app_pb.d.ts +340 -1
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +588 -6
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +9 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +25 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +67 -3
- package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
- package/dist/gen/service/motion/v1/motion_pb.d.ts +198 -0
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +324 -43
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +2350 -229
- package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
- package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.es.js +10919 -8671
- package/dist/main.umd.js +9 -9
- package/dist/robot/client.d.ts +168 -30
- package/dist/services/data-manager/client.d.ts +2 -2
- package/dist/services/motion/motion.d.ts +7 -7
- package/dist/services/navigation/client.d.ts +32 -11
- package/dist/services/navigation/navigation.d.ts +162 -110
- package/dist/services/navigation/types.d.ts +36 -5
- package/dist/services/navigation.d.ts +1 -1
- package/dist/services/slam/slam.d.ts +4 -4
- package/dist/services/vision/client.d.ts +4 -1
- package/dist/services/vision/types.d.ts +7 -1
- package/dist/services/vision/vision.d.ts +29 -8
- package/dist/services/vision.d.ts +1 -1
- package/package.json +5 -2
|
@@ -38,6 +38,8 @@ import type { InstrumentationScope, KeyValue } from "../../common/v1/common_pb.j
|
|
|
38
38
|
* field, consequently consumers should not rely on the absence of a
|
|
39
39
|
* particular flag bit to indicate the presence of a particular feature.
|
|
40
40
|
*
|
|
41
|
+
* [Since v1.1.0]
|
|
42
|
+
*
|
|
41
43
|
* @generated from enum opentelemetry.proto.trace.v1.SpanFlags
|
|
42
44
|
*/
|
|
43
45
|
export declare enum SpanFlags {
|
|
@@ -61,11 +63,15 @@ export declare enum SpanFlags {
|
|
|
61
63
|
* Bit 8 (`HAS_IS_REMOTE`) indicates whether the value is known.
|
|
62
64
|
* Bit 9 (`IS_REMOTE`) indicates whether the span or link is remote.
|
|
63
65
|
*
|
|
66
|
+
* [Since v1.2.0]
|
|
67
|
+
*
|
|
64
68
|
* @generated from enum value: SPAN_FLAGS_CONTEXT_HAS_IS_REMOTE_MASK = 256;
|
|
65
69
|
*/
|
|
66
70
|
CONTEXT_HAS_IS_REMOTE_MASK = 256,
|
|
67
71
|
|
|
68
72
|
/**
|
|
73
|
+
* [Since v1.2.0]
|
|
74
|
+
*
|
|
69
75
|
* @generated from enum value: SPAN_FLAGS_CONTEXT_IS_REMOTE_MASK = 512;
|
|
70
76
|
*/
|
|
71
77
|
CONTEXT_IS_REMOTE_MASK = 512,
|
|
@@ -281,6 +287,8 @@ export declare class Span extends Message<Span> {
|
|
|
281
287
|
*
|
|
282
288
|
* [Optional].
|
|
283
289
|
*
|
|
290
|
+
* [Since v1.1.0]
|
|
291
|
+
*
|
|
284
292
|
* @generated from field: fixed32 flags = 16;
|
|
285
293
|
*/
|
|
286
294
|
flags: number;
|
|
@@ -337,12 +345,12 @@ export declare class Span extends Message<Span> {
|
|
|
337
345
|
|
|
338
346
|
/**
|
|
339
347
|
* A collection of key/value pairs. Note, global attributes
|
|
340
|
-
* like
|
|
348
|
+
* like service name can be set using the resource API. Examples of attributes:
|
|
341
349
|
*
|
|
342
|
-
* "
|
|
343
|
-
* "
|
|
344
|
-
* "example.
|
|
345
|
-
* "example.
|
|
350
|
+
* "user_agent.original": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36"
|
|
351
|
+
* "http.response.status_code": 200
|
|
352
|
+
* "com.example.myattribute": true
|
|
353
|
+
* "com.example.score": 10.239
|
|
346
354
|
*
|
|
347
355
|
* Attribute keys MUST be unique (it is not allowed to have more than one
|
|
348
356
|
* attribute with the same key).
|
|
@@ -596,6 +604,8 @@ export declare class Span_Link extends Message<Span_Link> {
|
|
|
596
604
|
*
|
|
597
605
|
* [Optional].
|
|
598
606
|
*
|
|
607
|
+
* [Since v1.1.0]
|
|
608
|
+
*
|
|
599
609
|
* @generated from field: fixed32 flags = 6;
|
|
600
610
|
*/
|
|
601
611
|
flags: number;
|
|
@@ -101,6 +101,15 @@ export declare class Request extends Message<Request> {
|
|
|
101
101
|
*/
|
|
102
102
|
value: boolean;
|
|
103
103
|
case: "rstStream";
|
|
104
|
+
} | {
|
|
105
|
+
/**
|
|
106
|
+
* api_token lets a client authenticate with the answerer over the PeerConnection when
|
|
107
|
+
* the signaling server could not authenticate it. In the form `<api-key-id>:<api-key>`.
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: string api_token = 5;
|
|
110
|
+
*/
|
|
111
|
+
value: string;
|
|
112
|
+
case: "apiToken";
|
|
104
113
|
} | { case: undefined; value?: undefined };
|
|
105
114
|
|
|
106
115
|
constructor(data?: PartialMessage<Request>);
|
|
@@ -227,6 +227,14 @@ export declare class CallResponseInitStage extends Message<CallResponseInitStage
|
|
|
227
227
|
*/
|
|
228
228
|
sdp: string;
|
|
229
229
|
|
|
230
|
+
/**
|
|
231
|
+
* must_auth_against_answerer tells the caller that the signaling server could not
|
|
232
|
+
* authenticate it, so it must authenticate with the answerer over the PeerConnection.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: bool must_auth_against_answerer = 2;
|
|
235
|
+
*/
|
|
236
|
+
mustAuthAgainstAnswerer: boolean;
|
|
237
|
+
|
|
230
238
|
constructor(data?: PartialMessage<CallResponseInitStage>);
|
|
231
239
|
|
|
232
240
|
static readonly runtime: typeof proto3;
|
|
@@ -492,6 +500,15 @@ export declare class AnswerRequestInitStage extends Message<AnswerRequestInitSta
|
|
|
492
500
|
*/
|
|
493
501
|
callerAuthMetadata: { [key: string]: string };
|
|
494
502
|
|
|
503
|
+
/**
|
|
504
|
+
* a warning from the signaling server that the signaling server
|
|
505
|
+
* could not auth the caller. if this flag is true, the answerer
|
|
506
|
+
* must auth the caller itself
|
|
507
|
+
*
|
|
508
|
+
* @generated from field: bool must_auth_caller = 6;
|
|
509
|
+
*/
|
|
510
|
+
mustAuthCaller: boolean;
|
|
511
|
+
|
|
495
512
|
constructor(data?: PartialMessage<AnswerRequestInitStage>);
|
|
496
513
|
|
|
497
514
|
static readonly runtime: typeof proto3;
|
|
@@ -682,6 +699,14 @@ export declare class AnswerResponseInitStage extends Message<AnswerResponseInitS
|
|
|
682
699
|
*/
|
|
683
700
|
sdp: string;
|
|
684
701
|
|
|
702
|
+
/**
|
|
703
|
+
* can_auth_callers tells the signaling server that this answerer can authenticate
|
|
704
|
+
* callers itself, so it may receive callers the signaling server could not authenticate.
|
|
705
|
+
*
|
|
706
|
+
* @generated from field: bool can_auth_callers = 2;
|
|
707
|
+
*/
|
|
708
|
+
canAuthCallers: boolean;
|
|
709
|
+
|
|
685
710
|
constructor(data?: PartialMessage<AnswerResponseInitStage>);
|
|
686
711
|
|
|
687
712
|
static readonly runtime: typeof proto3;
|
|
@@ -7,7 +7,7 @@ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue
|
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { ResourceSpans } from "../../opentelemetry/proto/trace/v1/trace_pb.js";
|
|
9
9
|
import type { UploadMetadata } from "../../app/datasync/v1/data_sync_pb.js";
|
|
10
|
-
import type { LogEntry, PoseInFrame, ResourceName, Transform } from "../../common/v1/common_pb.js";
|
|
10
|
+
import type { KinematicModel, LogEntry, PoseInFrame, ResourceName, Transform } from "../../common/v1/common_pb.js";
|
|
11
11
|
import type { PackageType } from "../../app/packages/v1/packages_pb.js";
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -304,10 +304,18 @@ export declare class FrameSystemConfig extends Message<FrameSystemConfig> {
|
|
|
304
304
|
frame?: Transform;
|
|
305
305
|
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* Deprecated: use model
|
|
308
|
+
*
|
|
309
|
+
* @generated from field: google.protobuf.Struct kinematics = 2 [deprecated = true];
|
|
310
|
+
* @deprecated
|
|
308
311
|
*/
|
|
309
312
|
kinematics?: Struct;
|
|
310
313
|
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: viam.common.v1.KinematicModel model = 3;
|
|
316
|
+
*/
|
|
317
|
+
model?: KinematicModel;
|
|
318
|
+
|
|
311
319
|
constructor(data?: PartialMessage<FrameSystemConfig>);
|
|
312
320
|
|
|
313
321
|
static readonly runtime: typeof proto3;
|
|
@@ -1662,6 +1670,21 @@ export declare class ResourceStatus extends Message<ResourceStatus> {
|
|
|
1662
1670
|
*/
|
|
1663
1671
|
cloudMetadata?: GetCloudMetadataResponse;
|
|
1664
1672
|
|
|
1673
|
+
/**
|
|
1674
|
+
* whether calls to this resource by name can be routed through this machine.
|
|
1675
|
+
*
|
|
1676
|
+
* @generated from field: viam.robot.v1.ResourceStatus.Reachability reachability = 7;
|
|
1677
|
+
*/
|
|
1678
|
+
reachability: ResourceStatus_Reachability;
|
|
1679
|
+
|
|
1680
|
+
/**
|
|
1681
|
+
* name of the remote, as configured on this machine, that this resource is reached through;
|
|
1682
|
+
* for a resource on a remote's remote, this is the first hop. Unset for local resources.
|
|
1683
|
+
*
|
|
1684
|
+
* @generated from field: optional string remote = 8;
|
|
1685
|
+
*/
|
|
1686
|
+
remote?: string;
|
|
1687
|
+
|
|
1665
1688
|
constructor(data?: PartialMessage<ResourceStatus>);
|
|
1666
1689
|
|
|
1667
1690
|
static readonly runtime: typeof proto3;
|
|
@@ -1723,6 +1746,47 @@ export declare enum ResourceStatus_State {
|
|
|
1723
1746
|
UNHEALTHY = 5,
|
|
1724
1747
|
}
|
|
1725
1748
|
|
|
1749
|
+
/**
|
|
1750
|
+
* whether calls to the resource by name can be routed through this machine.
|
|
1751
|
+
* Independent of state, which for an unreachable resource is its last known state.
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from enum viam.robot.v1.ResourceStatus.Reachability
|
|
1754
|
+
*/
|
|
1755
|
+
export declare enum ResourceStatus_Reachability {
|
|
1756
|
+
/**
|
|
1757
|
+
* set by machines that predate this field; treat as reachable.
|
|
1758
|
+
*
|
|
1759
|
+
* @generated from enum value: REACHABILITY_UNSPECIFIED = 0;
|
|
1760
|
+
*/
|
|
1761
|
+
UNSPECIFIED = 0,
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* @generated from enum value: REACHABILITY_REACHABLE = 1;
|
|
1765
|
+
*/
|
|
1766
|
+
REACHABLE = 1,
|
|
1767
|
+
|
|
1768
|
+
/**
|
|
1769
|
+
* the remote machine this resource is on is disconnected.
|
|
1770
|
+
*
|
|
1771
|
+
* @generated from enum value: REACHABILITY_REMOTE_DISCONNECTED = 2;
|
|
1772
|
+
*/
|
|
1773
|
+
REMOTE_DISCONNECTED = 2,
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* a local resource has the same name, so calls by name go to the local resource.
|
|
1777
|
+
*
|
|
1778
|
+
* @generated from enum value: REACHABILITY_SHADOWED_BY_LOCAL = 3;
|
|
1779
|
+
*/
|
|
1780
|
+
SHADOWED_BY_LOCAL = 3,
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* multiple remote resources have the same name and no local resource claims it.
|
|
1784
|
+
*
|
|
1785
|
+
* @generated from enum value: REACHABILITY_AMBIGUOUS_REMOTE = 4;
|
|
1786
|
+
*/
|
|
1787
|
+
AMBIGUOUS_REMOTE = 4,
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1726
1790
|
/**
|
|
1727
1791
|
* @generated from message viam.robot.v1.ModuleStatus
|
|
1728
1792
|
*/
|
|
@@ -1838,7 +1902,7 @@ export declare enum ModuleStatus_State {
|
|
|
1838
1902
|
*/
|
|
1839
1903
|
export declare class PackageStatus extends Message<PackageStatus> {
|
|
1840
1904
|
/**
|
|
1841
|
-
* the package name as declared in the robot config (PackageConfig.Name)
|
|
1905
|
+
* the package name as declared in the robot config (`PackageConfig.Name`)
|
|
1842
1906
|
*
|
|
1843
1907
|
* @generated from field: string name = 1;
|
|
1844
1908
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetPlanRequest, GetPlanResponse, GetPoseRequest, GetPoseResponse, ListPlanStatusesRequest, ListPlanStatusesResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, MoveResponse, StopPlanRequest, StopPlanResponse } from "./motion_pb.js";
|
|
6
|
+
import { GetPlanRequest, GetPlanResponse, GetPoseRequest, GetPoseResponse, ListPlanStatusesRequest, ListPlanStatusesResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, MoveResponse, StopPlanRequest, StopPlanResponse, TempStreamArmJointPositionsRequest, TempStreamArmJointPositionsResponse } from "./motion_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -103,6 +103,23 @@ export declare const MotionService: {
|
|
|
103
103
|
readonly O: typeof GetPlanResponse,
|
|
104
104
|
readonly kind: MethodKind.Unary,
|
|
105
105
|
},
|
|
106
|
+
/**
|
|
107
|
+
* Streams joint-space waypoints to an arm. The first message on the stream must
|
|
108
|
+
* be an Init; every subsequent message must be a Targets batch. Closing the
|
|
109
|
+
* request stream drains any buffered trajectory to the arm before ending the
|
|
110
|
+
* call; canceling the call's context aborts the session immediately.
|
|
111
|
+
*
|
|
112
|
+
* This method and its associated types are named as Temp because this API is
|
|
113
|
+
* under active development, and its current shape should not be depended on.
|
|
114
|
+
*
|
|
115
|
+
* @generated from rpc viam.service.motion.v1.MotionService.TempStreamArmJointPositions
|
|
116
|
+
*/
|
|
117
|
+
readonly tempStreamArmJointPositions: {
|
|
118
|
+
readonly name: "TempStreamArmJointPositions",
|
|
119
|
+
readonly I: typeof TempStreamArmJointPositionsRequest,
|
|
120
|
+
readonly O: typeof TempStreamArmJointPositionsResponse,
|
|
121
|
+
readonly kind: MethodKind.BiDiStreaming,
|
|
122
|
+
},
|
|
106
123
|
/**
|
|
107
124
|
* DoCommand sends/receives arbitrary commands
|
|
108
125
|
*
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { GeoGeometry, Geometry, GeoPoint, Pose, PoseInFrame, ResourceName, Transform, WorldState } from "../../../common/v1/common_pb.js";
|
|
9
|
+
import type { JointPositions, MoveOptions } from "../../../component/arm/v1/arm_pb.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* The states that a plan can be in.
|
|
@@ -935,6 +936,16 @@ export declare class OrientationConstraint extends Message<OrientationConstraint
|
|
|
935
936
|
*/
|
|
936
937
|
orientationToleranceDegs?: number;
|
|
937
938
|
|
|
939
|
+
/**
|
|
940
|
+
* When true, deviation is measured between orientation vectors alone, disregarding rotation about the
|
|
941
|
+
* component's own pointing axis. Set this for payloads that are symmetric about that axis - an open
|
|
942
|
+
* container spills when tipped, not when spun - so the tolerance does not pin a rotation that cannot
|
|
943
|
+
* matter. Defaults to false, measuring the full orientation.
|
|
944
|
+
*
|
|
945
|
+
* @generated from field: optional bool ignore_theta = 2;
|
|
946
|
+
*/
|
|
947
|
+
ignoreTheta?: boolean;
|
|
948
|
+
|
|
938
949
|
constructor(data?: PartialMessage<OrientationConstraint>);
|
|
939
950
|
|
|
940
951
|
static readonly runtime: typeof proto3;
|
|
@@ -1275,3 +1286,190 @@ export declare class ComponentState extends Message<ComponentState> {
|
|
|
1275
1286
|
static equals(a: ComponentState | PlainMessage<ComponentState> | undefined, b: ComponentState | PlainMessage<ComponentState> | undefined): boolean;
|
|
1276
1287
|
}
|
|
1277
1288
|
|
|
1289
|
+
/**
|
|
1290
|
+
* @generated from message viam.service.motion.v1.TempStreamOptions
|
|
1291
|
+
*/
|
|
1292
|
+
export declare class TempStreamOptions extends Message<TempStreamOptions> {
|
|
1293
|
+
/**
|
|
1294
|
+
* How much trajectory the motion service tries to keep buffered on the arm's side.
|
|
1295
|
+
*
|
|
1296
|
+
* @generated from field: optional int32 arm_side_target_runway_ms = 1;
|
|
1297
|
+
*/
|
|
1298
|
+
armSideTargetRunwayMs?: number;
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* How often the motion service aims to top up the arm's buffered runway.
|
|
1302
|
+
*
|
|
1303
|
+
* @generated from field: optional int32 send_to_arm_interval_ms = 2;
|
|
1304
|
+
*/
|
|
1305
|
+
sendToArmIntervalMs?: number;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Size of the detailed diagnostics window.
|
|
1309
|
+
*
|
|
1310
|
+
* @generated from field: optional int32 diagnostics_window_secs = 3;
|
|
1311
|
+
*/
|
|
1312
|
+
diagnosticsWindowSecs?: number;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Kinematic limits for the session's trajectory.
|
|
1316
|
+
*
|
|
1317
|
+
* @generated from field: optional viam.component.arm.v1.MoveOptions move_options = 4;
|
|
1318
|
+
*/
|
|
1319
|
+
moveOptions?: MoveOptions;
|
|
1320
|
+
|
|
1321
|
+
constructor(data?: PartialMessage<TempStreamOptions>);
|
|
1322
|
+
|
|
1323
|
+
static readonly runtime: typeof proto3;
|
|
1324
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamOptions";
|
|
1325
|
+
static readonly fields: FieldList;
|
|
1326
|
+
|
|
1327
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamOptions;
|
|
1328
|
+
|
|
1329
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamOptions;
|
|
1330
|
+
|
|
1331
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamOptions;
|
|
1332
|
+
|
|
1333
|
+
static equals(a: TempStreamOptions | PlainMessage<TempStreamOptions> | undefined, b: TempStreamOptions | PlainMessage<TempStreamOptions> | undefined): boolean;
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsRequest
|
|
1338
|
+
*/
|
|
1339
|
+
export declare class TempStreamArmJointPositionsRequest extends Message<TempStreamArmJointPositionsRequest> {
|
|
1340
|
+
/**
|
|
1341
|
+
* Name of the motion service.
|
|
1342
|
+
*
|
|
1343
|
+
* @generated from field: string name = 1;
|
|
1344
|
+
*/
|
|
1345
|
+
name: string;
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
* @generated from oneof viam.service.motion.v1.TempStreamArmJointPositionsRequest.message
|
|
1349
|
+
*/
|
|
1350
|
+
message: {
|
|
1351
|
+
/**
|
|
1352
|
+
* Session initiation. Sent exactly once and must be the first message on the stream.
|
|
1353
|
+
*
|
|
1354
|
+
* @generated from field: viam.service.motion.v1.TempStreamArmJointPositionsRequest.Init init = 2;
|
|
1355
|
+
*/
|
|
1356
|
+
value: TempStreamArmJointPositionsRequest_Init;
|
|
1357
|
+
case: "init";
|
|
1358
|
+
} | {
|
|
1359
|
+
/**
|
|
1360
|
+
* A batch of targets to append to the running session. Sent N times after init.
|
|
1361
|
+
*
|
|
1362
|
+
* @generated from field: viam.service.motion.v1.TempStreamArmJointPositionsRequest.Targets targets = 3;
|
|
1363
|
+
*/
|
|
1364
|
+
value: TempStreamArmJointPositionsRequest_Targets;
|
|
1365
|
+
case: "targets";
|
|
1366
|
+
} | { case: undefined; value?: undefined };
|
|
1367
|
+
|
|
1368
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsRequest>);
|
|
1369
|
+
|
|
1370
|
+
static readonly runtime: typeof proto3;
|
|
1371
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsRequest";
|
|
1372
|
+
static readonly fields: FieldList;
|
|
1373
|
+
|
|
1374
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsRequest;
|
|
1375
|
+
|
|
1376
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest;
|
|
1377
|
+
|
|
1378
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest;
|
|
1379
|
+
|
|
1380
|
+
static equals(a: TempStreamArmJointPositionsRequest | PlainMessage<TempStreamArmJointPositionsRequest> | undefined, b: TempStreamArmJointPositionsRequest | PlainMessage<TempStreamArmJointPositionsRequest> | undefined): boolean;
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsRequest.Init
|
|
1385
|
+
*/
|
|
1386
|
+
export declare class TempStreamArmJointPositionsRequest_Init extends Message<TempStreamArmJointPositionsRequest_Init> {
|
|
1387
|
+
/**
|
|
1388
|
+
* Name of the arm to stream joint positions to.
|
|
1389
|
+
*
|
|
1390
|
+
* @generated from field: string component_name = 1;
|
|
1391
|
+
*/
|
|
1392
|
+
componentName: string;
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* Configuration for this streaming session.
|
|
1396
|
+
*
|
|
1397
|
+
* @generated from field: optional viam.service.motion.v1.TempStreamOptions options = 2;
|
|
1398
|
+
*/
|
|
1399
|
+
options?: TempStreamOptions;
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Additional arguments.
|
|
1403
|
+
*
|
|
1404
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
1405
|
+
*/
|
|
1406
|
+
extra?: Struct;
|
|
1407
|
+
|
|
1408
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsRequest_Init>);
|
|
1409
|
+
|
|
1410
|
+
static readonly runtime: typeof proto3;
|
|
1411
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsRequest.Init";
|
|
1412
|
+
static readonly fields: FieldList;
|
|
1413
|
+
|
|
1414
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsRequest_Init;
|
|
1415
|
+
|
|
1416
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Init;
|
|
1417
|
+
|
|
1418
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Init;
|
|
1419
|
+
|
|
1420
|
+
static equals(a: TempStreamArmJointPositionsRequest_Init | PlainMessage<TempStreamArmJointPositionsRequest_Init> | undefined, b: TempStreamArmJointPositionsRequest_Init | PlainMessage<TempStreamArmJointPositionsRequest_Init> | undefined): boolean;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsRequest.Targets
|
|
1425
|
+
*/
|
|
1426
|
+
export declare class TempStreamArmJointPositionsRequest_Targets extends Message<TempStreamArmJointPositionsRequest_Targets> {
|
|
1427
|
+
/**
|
|
1428
|
+
* Target joint positions to append to the session, in order.
|
|
1429
|
+
*
|
|
1430
|
+
* @generated from field: repeated viam.component.arm.v1.JointPositions positions = 1;
|
|
1431
|
+
*/
|
|
1432
|
+
positions: JointPositions[];
|
|
1433
|
+
|
|
1434
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsRequest_Targets>);
|
|
1435
|
+
|
|
1436
|
+
static readonly runtime: typeof proto3;
|
|
1437
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsRequest.Targets";
|
|
1438
|
+
static readonly fields: FieldList;
|
|
1439
|
+
|
|
1440
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsRequest_Targets;
|
|
1441
|
+
|
|
1442
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Targets;
|
|
1443
|
+
|
|
1444
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsRequest_Targets;
|
|
1445
|
+
|
|
1446
|
+
static equals(a: TempStreamArmJointPositionsRequest_Targets | PlainMessage<TempStreamArmJointPositionsRequest_Targets> | undefined, b: TempStreamArmJointPositionsRequest_Targets | PlainMessage<TempStreamArmJointPositionsRequest_Targets> | undefined): boolean;
|
|
1447
|
+
}
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* @generated from message viam.service.motion.v1.TempStreamArmJointPositionsResponse
|
|
1451
|
+
*/
|
|
1452
|
+
export declare class TempStreamArmJointPositionsResponse extends Message<TempStreamArmJointPositionsResponse> {
|
|
1453
|
+
/**
|
|
1454
|
+
* motion_side_current_runway_ms is sent once per target, right after the service adds it. It is how much
|
|
1455
|
+
* motion, in milliseconds, the service has accepted but not yet handed to the arm at that moment.
|
|
1456
|
+
*
|
|
1457
|
+
* @generated from field: optional int32 motion_side_current_runway_ms = 1;
|
|
1458
|
+
*/
|
|
1459
|
+
motionSideCurrentRunwayMs?: number;
|
|
1460
|
+
|
|
1461
|
+
constructor(data?: PartialMessage<TempStreamArmJointPositionsResponse>);
|
|
1462
|
+
|
|
1463
|
+
static readonly runtime: typeof proto3;
|
|
1464
|
+
static readonly typeName = "viam.service.motion.v1.TempStreamArmJointPositionsResponse";
|
|
1465
|
+
static readonly fields: FieldList;
|
|
1466
|
+
|
|
1467
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TempStreamArmJointPositionsResponse;
|
|
1468
|
+
|
|
1469
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsResponse;
|
|
1470
|
+
|
|
1471
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TempStreamArmJointPositionsResponse;
|
|
1472
|
+
|
|
1473
|
+
static equals(a: TempStreamArmJointPositionsResponse | PlainMessage<TempStreamArmJointPositionsResponse> | undefined, b: TempStreamArmJointPositionsResponse | PlainMessage<TempStreamArmJointPositionsResponse> | undefined): boolean;
|
|
1474
|
+
}
|
|
1475
|
+
|