@viamrobotics/sdk 0.27.0 → 0.29.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.
@@ -478,6 +478,11 @@ export declare class ProcessConfig extends Message<ProcessConfig> {
478
478
  */
479
479
  env: { [key: string]: string };
480
480
 
481
+ /**
482
+ * @generated from field: string username = 10;
483
+ */
484
+ username: string;
485
+
481
486
  constructor(data?: PartialMessage<ProcessConfig>);
482
487
 
483
488
  static readonly runtime: typeof proto3;
@@ -1321,6 +1326,13 @@ export declare class AgentInfo extends Message<AgentInfo> {
1321
1326
  */
1322
1327
  platform?: string;
1323
1328
 
1329
+ /**
1330
+ * Optional tags to further constrain which artifact is returned for modules.
1331
+ *
1332
+ * @generated from field: repeated string platform_tags = 7;
1333
+ */
1334
+ platformTags: string[];
1335
+
1324
1336
  constructor(data?: PartialMessage<AgentInfo>);
1325
1337
 
1326
1338
  static readonly runtime: typeof proto3;
@@ -52,6 +52,16 @@ export declare class ResourceName extends Message<ResourceName> {
52
52
  */
53
53
  name: string;
54
54
 
55
+ /**
56
+ * @generated from field: repeated string remote_path = 5;
57
+ */
58
+ remotePath: string[];
59
+
60
+ /**
61
+ * @generated from field: string local_name = 6;
62
+ */
63
+ localName: string;
64
+
55
65
  constructor(data?: PartialMessage<ResourceName>);
56
66
 
57
67
  static readonly runtime: typeof proto3;
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
6
+ import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
  import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
9
9
 
@@ -61,6 +61,19 @@ export declare const ArmService: {
61
61
  readonly O: typeof MoveToJointPositionsResponse,
62
62
  readonly kind: MethodKind.Unary,
63
63
  },
64
+ /**
65
+ * MoveThroughJointPositions moves every joint on a robot's arm to the specified JointPositions in the order they are specified,
66
+ * obeying the specified velocity and acceleration limits.
67
+ * This will block until done or a new operation cancels this one
68
+ *
69
+ * @generated from rpc viam.component.arm.v1.ArmService.MoveThroughJointPositions
70
+ */
71
+ readonly moveThroughJointPositions: {
72
+ readonly name: "MoveThroughJointPositions",
73
+ readonly I: typeof MoveThroughJointPositionsRequest,
74
+ readonly O: typeof MoveThroughJointPositionsResponse,
75
+ readonly kind: MethodKind.Unary,
76
+ },
64
77
  /**
65
78
  * Stop stops a robot's arm
66
79
  *
@@ -73,8 +73,7 @@ export declare class GetEndPositionResponse extends Message<GetEndPositionRespon
73
73
  export declare class JointPositions extends Message<JointPositions> {
74
74
  /**
75
75
  * A list of joint positions. Rotations values are in degrees, translational values in mm.
76
- * The numbers are ordered spatially from the base toward the end effector
77
- * This is used in GetJointPositionsResponse and MoveToJointPositionsRequest
76
+ * There should be 1 entry in the list per joint DOF, ordered spatially from the base toward the end effector of the arm
78
77
  *
79
78
  * @generated from field: repeated double values = 1;
80
79
  */
@@ -277,6 +276,72 @@ export declare class MoveToJointPositionsResponse extends Message<MoveToJointPos
277
276
  static equals(a: MoveToJointPositionsResponse | PlainMessage<MoveToJointPositionsResponse> | undefined, b: MoveToJointPositionsResponse | PlainMessage<MoveToJointPositionsResponse> | undefined): boolean;
278
277
  }
279
278
 
279
+ /**
280
+ * @generated from message viam.component.arm.v1.MoveThroughJointPositionsRequest
281
+ */
282
+ export declare class MoveThroughJointPositionsRequest extends Message<MoveThroughJointPositionsRequest> {
283
+ /**
284
+ * Name of an arm
285
+ *
286
+ * @generated from field: string name = 1;
287
+ */
288
+ name: string;
289
+
290
+ /**
291
+ * A list of joint positions which will be moved to in the order they are specified
292
+ *
293
+ * @generated from field: repeated viam.component.arm.v1.JointPositions positions = 2;
294
+ */
295
+ positions: JointPositions[];
296
+
297
+ /**
298
+ * optional specifications to be obeyed during the motion
299
+ *
300
+ * @generated from field: optional viam.component.arm.v1.MoveOptions options = 3;
301
+ */
302
+ options?: MoveOptions;
303
+
304
+ /**
305
+ * Additional arguments to the method
306
+ *
307
+ * @generated from field: google.protobuf.Struct extra = 99;
308
+ */
309
+ extra?: Struct;
310
+
311
+ constructor(data?: PartialMessage<MoveThroughJointPositionsRequest>);
312
+
313
+ static readonly runtime: typeof proto3;
314
+ static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsRequest";
315
+ static readonly fields: FieldList;
316
+
317
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsRequest;
318
+
319
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsRequest;
320
+
321
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsRequest;
322
+
323
+ static equals(a: MoveThroughJointPositionsRequest | PlainMessage<MoveThroughJointPositionsRequest> | undefined, b: MoveThroughJointPositionsRequest | PlainMessage<MoveThroughJointPositionsRequest> | undefined): boolean;
324
+ }
325
+
326
+ /**
327
+ * @generated from message viam.component.arm.v1.MoveThroughJointPositionsResponse
328
+ */
329
+ export declare class MoveThroughJointPositionsResponse extends Message<MoveThroughJointPositionsResponse> {
330
+ constructor(data?: PartialMessage<MoveThroughJointPositionsResponse>);
331
+
332
+ static readonly runtime: typeof proto3;
333
+ static readonly typeName = "viam.component.arm.v1.MoveThroughJointPositionsResponse";
334
+ static readonly fields: FieldList;
335
+
336
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveThroughJointPositionsResponse;
337
+
338
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsResponse;
339
+
340
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveThroughJointPositionsResponse;
341
+
342
+ static equals(a: MoveThroughJointPositionsResponse | PlainMessage<MoveThroughJointPositionsResponse> | undefined, b: MoveThroughJointPositionsResponse | PlainMessage<MoveThroughJointPositionsResponse> | undefined): boolean;
343
+ }
344
+
280
345
  /**
281
346
  * @generated from message viam.component.arm.v1.StopRequest
282
347
  */
@@ -411,3 +476,36 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
411
476
  static equals(a: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined, b: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined): boolean;
412
477
  }
413
478
 
479
+ /**
480
+ * @generated from message viam.component.arm.v1.MoveOptions
481
+ */
482
+ export declare class MoveOptions extends Message<MoveOptions> {
483
+ /**
484
+ * Maximum allowable velocity of an arm joint, in degrees per second
485
+ *
486
+ * @generated from field: optional double max_vel_degs_per_sec = 1;
487
+ */
488
+ maxVelDegsPerSec?: number;
489
+
490
+ /**
491
+ * Maximum allowable acceleration of an arm joint, in degrees per second squared
492
+ *
493
+ * @generated from field: optional double max_acc_degs_per_sec2 = 2;
494
+ */
495
+ maxAccDegsPerSec2?: number;
496
+
497
+ constructor(data?: PartialMessage<MoveOptions>);
498
+
499
+ static readonly runtime: typeof proto3;
500
+ static readonly typeName = "viam.component.arm.v1.MoveOptions";
501
+ static readonly fields: FieldList;
502
+
503
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MoveOptions;
504
+
505
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MoveOptions;
506
+
507
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MoveOptions;
508
+
509
+ static equals(a: MoveOptions | PlainMessage<MoveOptions> | undefined, b: MoveOptions | PlainMessage<MoveOptions> | undefined): boolean;
510
+ }
511
+
@@ -137,6 +137,13 @@ export declare class CommonLanguageSettings extends Message<CommonLanguageSettin
137
137
  */
138
138
  destinations: ClientLibraryDestination[];
139
139
 
140
+ /**
141
+ * Configuration for which RPCs should be generated in the GAPIC client.
142
+ *
143
+ * @generated from field: google.api.SelectiveGapicGeneration selective_gapic_generation = 3;
144
+ */
145
+ selectiveGapicGeneration?: SelectiveGapicGeneration;
146
+
140
147
  constructor(data?: PartialMessage<CommonLanguageSettings>);
141
148
 
142
149
  static readonly runtime: typeof proto3;
@@ -538,6 +545,16 @@ export declare class PythonSettings_ExperimentalFeatures extends Message<PythonS
538
545
  */
539
546
  restAsyncIoEnabled: boolean;
540
547
 
548
+ /**
549
+ * Enables generation of protobuf code using new types that are more
550
+ * Pythonic which are included in `protobuf>=5.29.x`. This feature will be
551
+ * enabled by default 1 month after launching the feature in preview
552
+ * packages.
553
+ *
554
+ * @generated from field: bool protobuf_pythonic_types_enabled = 2;
555
+ */
556
+ protobufPythonicTypesEnabled: boolean;
557
+
541
558
  constructor(data?: PartialMessage<PythonSettings_ExperimentalFeatures>);
542
559
 
543
560
  static readonly runtime: typeof proto3;
@@ -846,6 +863,36 @@ export declare class MethodSettings_LongRunning extends Message<MethodSettings_L
846
863
  static equals(a: MethodSettings_LongRunning | PlainMessage<MethodSettings_LongRunning> | undefined, b: MethodSettings_LongRunning | PlainMessage<MethodSettings_LongRunning> | undefined): boolean;
847
864
  }
848
865
 
866
+ /**
867
+ * This message is used to configure the generation of a subset of the RPCs in
868
+ * a service for client libraries.
869
+ *
870
+ * @generated from message google.api.SelectiveGapicGeneration
871
+ */
872
+ export declare class SelectiveGapicGeneration extends Message<SelectiveGapicGeneration> {
873
+ /**
874
+ * An allowlist of the fully qualified names of RPCs that should be included
875
+ * on public client surfaces.
876
+ *
877
+ * @generated from field: repeated string methods = 1;
878
+ */
879
+ methods: string[];
880
+
881
+ constructor(data?: PartialMessage<SelectiveGapicGeneration>);
882
+
883
+ static readonly runtime: typeof proto3;
884
+ static readonly typeName = "google.api.SelectiveGapicGeneration";
885
+ static readonly fields: FieldList;
886
+
887
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SelectiveGapicGeneration;
888
+
889
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SelectiveGapicGeneration;
890
+
891
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SelectiveGapicGeneration;
892
+
893
+ static equals(a: SelectiveGapicGeneration | PlainMessage<SelectiveGapicGeneration> | undefined, b: SelectiveGapicGeneration | PlainMessage<SelectiveGapicGeneration> | undefined): boolean;
894
+ }
895
+
849
896
  /**
850
897
  * A definition of a client library method signature.
851
898
  *
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AddStreamRequest, AddStreamResponse, ListStreamsRequest, ListStreamsResponse, RemoveStreamRequest, RemoveStreamResponse } from "./stream_pb.js";
6
+ import { AddStreamRequest, AddStreamResponse, GetStreamOptionsRequest, GetStreamOptionsResponse, ListStreamsRequest, ListStreamsResponse, RemoveStreamRequest, RemoveStreamResponse, SetStreamOptionsRequest, SetStreamOptionsResponse } from "./stream_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -38,6 +38,28 @@ export declare const StreamService: {
38
38
  readonly O: typeof AddStreamResponse,
39
39
  readonly kind: MethodKind.Unary,
40
40
  },
41
+ /**
42
+ * GetStreamOptions returns the options for a particular stream.
43
+ *
44
+ * @generated from rpc proto.stream.v1.StreamService.GetStreamOptions
45
+ */
46
+ readonly getStreamOptions: {
47
+ readonly name: "GetStreamOptions",
48
+ readonly I: typeof GetStreamOptionsRequest,
49
+ readonly O: typeof GetStreamOptionsResponse,
50
+ readonly kind: MethodKind.Unary,
51
+ },
52
+ /**
53
+ * SetStreamOptions sets the options for a particular stream.
54
+ *
55
+ * @generated from rpc proto.stream.v1.StreamService.SetStreamOptions
56
+ */
57
+ readonly setStreamOptions: {
58
+ readonly name: "SetStreamOptions",
59
+ readonly I: typeof SetStreamOptionsRequest,
60
+ readonly O: typeof SetStreamOptionsResponse,
61
+ readonly kind: MethodKind.Unary,
62
+ },
41
63
  /**
42
64
  * RemoveStream requests a particular stream be removed. If the calling client
43
65
  * is the last to be receiving the stream, it will attempt to be stopped to
@@ -147,3 +147,138 @@ export declare class RemoveStreamResponse extends Message<RemoveStreamResponse>
147
147
  static equals(a: RemoveStreamResponse | PlainMessage<RemoveStreamResponse> | undefined, b: RemoveStreamResponse | PlainMessage<RemoveStreamResponse> | undefined): boolean;
148
148
  }
149
149
 
150
+ /**
151
+ * Resolution details the width and height of a stream.
152
+ *
153
+ * @generated from message proto.stream.v1.Resolution
154
+ */
155
+ export declare class Resolution extends Message<Resolution> {
156
+ /**
157
+ * @generated from field: int32 width = 1;
158
+ */
159
+ width: number;
160
+
161
+ /**
162
+ * @generated from field: int32 height = 2;
163
+ */
164
+ height: number;
165
+
166
+ constructor(data?: PartialMessage<Resolution>);
167
+
168
+ static readonly runtime: typeof proto3;
169
+ static readonly typeName = "proto.stream.v1.Resolution";
170
+ static readonly fields: FieldList;
171
+
172
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Resolution;
173
+
174
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Resolution;
175
+
176
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Resolution;
177
+
178
+ static equals(a: Resolution | PlainMessage<Resolution> | undefined, b: Resolution | PlainMessage<Resolution> | undefined): boolean;
179
+ }
180
+
181
+ /**
182
+ * GetStreamOptionsRequest requests the options for a particular stream.
183
+ *
184
+ * @generated from message proto.stream.v1.GetStreamOptionsRequest
185
+ */
186
+ export declare class GetStreamOptionsRequest extends Message<GetStreamOptionsRequest> {
187
+ /**
188
+ * @generated from field: string name = 1;
189
+ */
190
+ name: string;
191
+
192
+ constructor(data?: PartialMessage<GetStreamOptionsRequest>);
193
+
194
+ static readonly runtime: typeof proto3;
195
+ static readonly typeName = "proto.stream.v1.GetStreamOptionsRequest";
196
+ static readonly fields: FieldList;
197
+
198
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetStreamOptionsRequest;
199
+
200
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetStreamOptionsRequest;
201
+
202
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetStreamOptionsRequest;
203
+
204
+ static equals(a: GetStreamOptionsRequest | PlainMessage<GetStreamOptionsRequest> | undefined, b: GetStreamOptionsRequest | PlainMessage<GetStreamOptionsRequest> | undefined): boolean;
205
+ }
206
+
207
+ /**
208
+ * GetStreamOptionsResponse details the options for a particular stream.
209
+ *
210
+ * @generated from message proto.stream.v1.GetStreamOptionsResponse
211
+ */
212
+ export declare class GetStreamOptionsResponse extends Message<GetStreamOptionsResponse> {
213
+ /**
214
+ * @generated from field: repeated proto.stream.v1.Resolution resolutions = 1;
215
+ */
216
+ resolutions: Resolution[];
217
+
218
+ constructor(data?: PartialMessage<GetStreamOptionsResponse>);
219
+
220
+ static readonly runtime: typeof proto3;
221
+ static readonly typeName = "proto.stream.v1.GetStreamOptionsResponse";
222
+ static readonly fields: FieldList;
223
+
224
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetStreamOptionsResponse;
225
+
226
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetStreamOptionsResponse;
227
+
228
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetStreamOptionsResponse;
229
+
230
+ static equals(a: GetStreamOptionsResponse | PlainMessage<GetStreamOptionsResponse> | undefined, b: GetStreamOptionsResponse | PlainMessage<GetStreamOptionsResponse> | undefined): boolean;
231
+ }
232
+
233
+ /**
234
+ * SetStreamOptionsRequest sets the options for a particular stream.
235
+ *
236
+ * @generated from message proto.stream.v1.SetStreamOptionsRequest
237
+ */
238
+ export declare class SetStreamOptionsRequest extends Message<SetStreamOptionsRequest> {
239
+ /**
240
+ * @generated from field: string name = 1;
241
+ */
242
+ name: string;
243
+
244
+ /**
245
+ * @generated from field: proto.stream.v1.Resolution resolution = 2;
246
+ */
247
+ resolution?: Resolution;
248
+
249
+ constructor(data?: PartialMessage<SetStreamOptionsRequest>);
250
+
251
+ static readonly runtime: typeof proto3;
252
+ static readonly typeName = "proto.stream.v1.SetStreamOptionsRequest";
253
+ static readonly fields: FieldList;
254
+
255
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetStreamOptionsRequest;
256
+
257
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetStreamOptionsRequest;
258
+
259
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetStreamOptionsRequest;
260
+
261
+ static equals(a: SetStreamOptionsRequest | PlainMessage<SetStreamOptionsRequest> | undefined, b: SetStreamOptionsRequest | PlainMessage<SetStreamOptionsRequest> | undefined): boolean;
262
+ }
263
+
264
+ /**
265
+ * SetStreamOptionsResponse is returned after a successful SetStreamOptionsRequest.
266
+ *
267
+ * @generated from message proto.stream.v1.SetStreamOptionsResponse
268
+ */
269
+ export declare class SetStreamOptionsResponse extends Message<SetStreamOptionsResponse> {
270
+ constructor(data?: PartialMessage<SetStreamOptionsResponse>);
271
+
272
+ static readonly runtime: typeof proto3;
273
+ static readonly typeName = "proto.stream.v1.SetStreamOptionsResponse";
274
+ static readonly fields: FieldList;
275
+
276
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetStreamOptionsResponse;
277
+
278
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetStreamOptionsResponse;
279
+
280
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetStreamOptionsResponse;
281
+
282
+ static equals(a: SetStreamOptionsResponse | PlainMessage<SetStreamOptionsResponse> | undefined, b: SetStreamOptionsResponse | PlainMessage<SetStreamOptionsResponse> | undefined): boolean;
283
+ }
284
+