@viamrobotics/sdk 0.26.2 → 0.28.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.
@@ -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;
@@ -846,6 +853,36 @@ export declare class MethodSettings_LongRunning extends Message<MethodSettings_L
846
853
  static equals(a: MethodSettings_LongRunning | PlainMessage<MethodSettings_LongRunning> | undefined, b: MethodSettings_LongRunning | PlainMessage<MethodSettings_LongRunning> | undefined): boolean;
847
854
  }
848
855
 
856
+ /**
857
+ * This message is used to configure the generation of a subset of the RPCs in
858
+ * a service for client libraries.
859
+ *
860
+ * @generated from message google.api.SelectiveGapicGeneration
861
+ */
862
+ export declare class SelectiveGapicGeneration extends Message<SelectiveGapicGeneration> {
863
+ /**
864
+ * An allowlist of the fully qualified names of RPCs that should be included
865
+ * on public client surfaces.
866
+ *
867
+ * @generated from field: repeated string methods = 1;
868
+ */
869
+ methods: string[];
870
+
871
+ constructor(data?: PartialMessage<SelectiveGapicGeneration>);
872
+
873
+ static readonly runtime: typeof proto3;
874
+ static readonly typeName = "google.api.SelectiveGapicGeneration";
875
+ static readonly fields: FieldList;
876
+
877
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SelectiveGapicGeneration;
878
+
879
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SelectiveGapicGeneration;
880
+
881
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SelectiveGapicGeneration;
882
+
883
+ static equals(a: SelectiveGapicGeneration | PlainMessage<SelectiveGapicGeneration> | undefined, b: SelectiveGapicGeneration | PlainMessage<SelectiveGapicGeneration> | undefined): boolean;
884
+ }
885
+
849
886
  /**
850
887
  * A definition of a client library method signature.
851
888
  *
@@ -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
+