@viamrobotics/sdk 0.39.0 → 0.40.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.
@@ -39,6 +39,19 @@ export declare class DataClient {
39
39
  /**
40
40
  * Obtain unified tabular data and metadata from the specified data source.
41
41
  *
42
+ * @example
43
+ *
44
+ * ```ts
45
+ * const data = await dataClient.exportTabularData(
46
+ * '123abc45-1234-5678-90ab-cdef12345678',
47
+ * 'my-sensor',
48
+ * 'rdk:component:sensor',
49
+ * 'Readings',
50
+ * new Date('2025-03-25'),
51
+ * new Date('2024-03-27')
52
+ * );
53
+ * ```
54
+ *
42
55
  * @param partId The ID of the part that owns the data
43
56
  * @param resourceName The name of the requested resource that captured the
44
57
  * data
@@ -55,6 +68,15 @@ export declare class DataClient {
55
68
  /**
56
69
  * Obtain unified tabular data and metadata, queried with SQL.
57
70
  *
71
+ * @example
72
+ *
73
+ * ```ts
74
+ * const data = await dataClient.tabularDataBySQL(
75
+ * '123abc45-1234-5678-90ab-cdef12345678',
76
+ * 'SELECT * FROM readings LIMIT 5'
77
+ * );
78
+ * ```
79
+ *
58
80
  * @param organizationId The ID of the organization that owns the data
59
81
  * @param query The SQL query to run
60
82
  * @returns An array of data objects
@@ -63,6 +85,33 @@ export declare class DataClient {
63
85
  /**
64
86
  * Obtain unified tabular data and metadata, queried with MQL.
65
87
  *
88
+ * @example
89
+ *
90
+ * ```ts
91
+ * type JsonValue =
92
+ * | string
93
+ * | number
94
+ * | boolean
95
+ * | null
96
+ * | JsonValue[]
97
+ * | { [key: string]: JsonValue };
98
+ * const mqlQuery: Record<string, JsonValue>[] = [
99
+ * {
100
+ * $match: {
101
+ * component_name: 'sensor-1',
102
+ * },
103
+ * },
104
+ * {
105
+ * $limit: 5,
106
+ * },
107
+ * ];
108
+ *
109
+ * const data = await dataClient.tabularDataByMQL(
110
+ * '123abc45-1234-5678-90ab-cdef12345678',
111
+ * mqlQuery
112
+ * );
113
+ * ```
114
+ *
66
115
  * @param organizationId The ID of the organization that owns the data
67
116
  * @param query The MQL query to run as a list of BSON documents
68
117
  * @param useRecentData Whether to query blob storage or your recent data
@@ -76,6 +125,18 @@ export declare class DataClient {
76
125
  * metadata list. The data will be paginated into pages of `limit` items, and
77
126
  * the pagination ID will be included in the returned tuple.
78
127
  *
128
+ * @example
129
+ *
130
+ * ```ts
131
+ * const data = await dataClient.tabularDataByFilter(
132
+ * {
133
+ * componentName: 'sensor-1',
134
+ * componentType: 'rdk:component:sensor',
135
+ * } as Filter,
136
+ * 5
137
+ * );
138
+ * ```
139
+ *
79
140
  * @param filter Optional `pb.Filter` specifying tabular data to retrieve. No
80
141
  * `filter` implies all tabular data.
81
142
  * @param limit The maximum number of entries to include in a page. Defaults
@@ -102,6 +163,18 @@ export declare class DataClient {
102
163
  * metadata list. The data will be paginated into pages of `limit` items, and
103
164
  * the pagination ID will be included in the returned tuple.
104
165
  *
166
+ * @example
167
+ *
168
+ * ```ts
169
+ * const data = await dataClient.binaryDataByFilter(
170
+ * {
171
+ * componentName: 'camera-1',
172
+ * componentType: 'rdk:component:camera',
173
+ * } as Filter,
174
+ * 1
175
+ * );
176
+ * ```
177
+ *
105
178
  * @param filter Optional `pb.Filter` specifying binary data to retrieve. No
106
179
  * `filter` implies all binary data.
107
180
  * @param limit The maximum number of entries to include in a page. Defaults
@@ -127,6 +200,14 @@ export declare class DataClient {
127
200
  /**
128
201
  * Get binary data using the binary data ID.
129
202
  *
203
+ * @example
204
+ *
205
+ * ```ts
206
+ * const data = await dataClient.binaryDataByIds([
207
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
208
+ * ]);
209
+ * ```
210
+ *
130
211
  * @param ids The IDs of the requested binary data
131
212
  * @returns An array of data objects
132
213
  */
@@ -134,6 +215,15 @@ export declare class DataClient {
134
215
  /**
135
216
  * Delete tabular data older than a specified number of days.
136
217
  *
218
+ * @example
219
+ *
220
+ * ```ts
221
+ * const data = await dataClient.deleteTabularData(
222
+ * '123abc45-1234-5678-90ab-cdef12345678',
223
+ * 10
224
+ * );
225
+ * ```
226
+ *
137
227
  * @param organizationId The ID of organization to delete data from
138
228
  * @param deleteOlderThanDays Delete data that was captured more than this
139
229
  * many days ago. For example if `deleteOlderThanDays` is 10, this deletes
@@ -145,6 +235,18 @@ export declare class DataClient {
145
235
  /**
146
236
  * Filter and delete binary data.
147
237
  *
238
+ * @example
239
+ *
240
+ * ```ts
241
+ * const data = await dataClient.deleteBinaryDataByFilter({
242
+ * componentName: 'camera-1',
243
+ * componentType: 'rdk:component:camera',
244
+ * organizationIds: ['123abc45-1234-5678-90ab-cdef12345678'],
245
+ * startTime: new Date('2025-03-19'),
246
+ * endTime: new Date('2025-03-20'),
247
+ * } as Filter);
248
+ * ```
249
+ *
148
250
  * @param filter Optional `pb.Filter` specifying binary data to delete. No
149
251
  * `filter` implies all binary data.
150
252
  * @param includeInternalData Whether or not to delete internal data. Default
@@ -155,6 +257,14 @@ export declare class DataClient {
155
257
  /**
156
258
  * Delete binary data, specified by ID.
157
259
  *
260
+ * @example
261
+ *
262
+ * ```ts
263
+ * const data = await dataClient.deleteBinaryDataByIds([
264
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
265
+ * ]);
266
+ * ```
267
+ *
158
268
  * @param ids The IDs of the data to be deleted. Must be non-empty.
159
269
  * @returns The number of items deleted
160
270
  */
@@ -162,6 +272,17 @@ export declare class DataClient {
162
272
  /**
163
273
  * Add tags to binary data, specified by ID.
164
274
  *
275
+ * @example
276
+ *
277
+ * ```ts
278
+ * const data = await dataClient.addTagsToBinaryDataByIds(
279
+ * ['tag1', 'tag2'],
280
+ * [
281
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
282
+ * ]
283
+ * );
284
+ * ```
285
+ *
165
286
  * @param tags The list of tags to add to specified binary data. Must be
166
287
  * non-empty.
167
288
  * @param ids The IDs of the data to be tagged. Must be non-empty.
@@ -170,6 +291,19 @@ export declare class DataClient {
170
291
  /**
171
292
  * Add tags to binary data, specified by filter.
172
293
  *
294
+ * @example
295
+ *
296
+ * ```ts
297
+ * const data = await dataClient.addTagsToBinaryDataByFilter(
298
+ * ['tag1', 'tag2'],
299
+ * [
300
+ * {
301
+ * componentName: 'camera-1',
302
+ * } as Filter,
303
+ * ]
304
+ * );
305
+ * ```
306
+ *
173
307
  * @param tags The tags to add to the data
174
308
  * @param filter Optional `pb.Filter` specifying binary data to add tags to.
175
309
  * No `filter` implies all binary data.
@@ -178,6 +312,17 @@ export declare class DataClient {
178
312
  /**
179
313
  * Remove tags from binary data, specified by ID.
180
314
  *
315
+ * @example
316
+ *
317
+ * ```ts
318
+ * const data = await dataClient.removeTagsFromBinaryDataByIds(
319
+ * ['tag1', 'tag2'],
320
+ * [
321
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
322
+ * ]
323
+ * );
324
+ * ```
325
+ *
181
326
  * @param tags List of tags to remove from specified binary data. Must be
182
327
  * non-empty.
183
328
  * @param ids The IDs of the data to be edited. Must be non-empty.
@@ -187,6 +332,21 @@ export declare class DataClient {
187
332
  /**
188
333
  * Remove tags from binary data, specified by filter.
189
334
  *
335
+ * @example
336
+ *
337
+ * ```ts
338
+ * const data = await dataClient.removeTagsFromBinaryDataByFilter(
339
+ * ['tag1', 'tag2'],
340
+ * {
341
+ * componentName: 'camera-1',
342
+ * componentType: 'rdk:component:camera',
343
+ * organizationIds: ['123abc45-1234-5678-90ab-cdef12345678'],
344
+ * startTime: new Date('2025-03-19'),
345
+ * endTime: new Date('2025-03-20'),
346
+ * } as Filter
347
+ * );
348
+ * ```
349
+ *
190
350
  * @param tags List of tags to remove from specified binary data. Must be
191
351
  * non-empty.
192
352
  * @param filter Optional `pb.Filter` specifying binary data to add tags to.
@@ -197,6 +357,14 @@ export declare class DataClient {
197
357
  /**
198
358
  * Get a list of tags using a filter.
199
359
  *
360
+ * @example
361
+ *
362
+ * ```ts
363
+ * const data = await dataClient.tagsByFilter({
364
+ * componentName: 'camera-1',
365
+ * } as Filter);
366
+ * ```
367
+ *
200
368
  * @param filter Optional `pb.Filter` specifying what data to get tags from.
201
369
  * No `filter` implies all data.
202
370
  * @returns The list of tags
@@ -205,6 +373,19 @@ export declare class DataClient {
205
373
  /**
206
374
  * Add bounding box to an image.
207
375
  *
376
+ * @example
377
+ *
378
+ * ```ts
379
+ * const bboxId = await dataClient.addBoundingBoxToImageById(
380
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
381
+ * 'label1',
382
+ * 0.3,
383
+ * 0.3,
384
+ * 0.6,
385
+ * 0.6
386
+ * );
387
+ * ```
388
+ *
208
389
  * @param binaryId The ID of the image to add the bounding box to
209
390
  * @param label A label for the bounding box
210
391
  * @param xMinNormalized The min X value of the bounding box normalized from 0
@@ -221,6 +402,16 @@ export declare class DataClient {
221
402
  /**
222
403
  * Remove a bounding box from an image.
223
404
  *
405
+ * @example
406
+ *
407
+ * ```ts
408
+ * // TODO(UNTESTED)
409
+ * await dataClient.removeBoundingBoxFromImageById(
410
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
411
+ * '5Z9ryhkW7ULaXROjJO6ghPYulNllnH20QImda1iZFroZpQbjahK6igQ1WbYigXED'
412
+ * );
413
+ * ```
414
+ *
224
415
  * @param binId The ID of the image to remove the bounding box from
225
416
  * @param bboxId The ID of the bounding box to remove
226
417
  */
@@ -228,6 +419,14 @@ export declare class DataClient {
228
419
  /**
229
420
  * Get a list of bounding box labels using a Filter.
230
421
  *
422
+ * @example
423
+ *
424
+ * ```ts
425
+ * const data = await dataClient.boundingBoxLabelsByFilter({
426
+ * componentName: 'camera-1',
427
+ * } as Filter);
428
+ * ```
429
+ *
231
430
  * @param filter Optional `pb.Filter` specifying what data to get tags from.
232
431
  * No `filter` implies all labels.
233
432
  * @returns The list of bounding box labels
@@ -238,6 +437,15 @@ export declare class DataClient {
238
437
  * Federation instance. It can also be used to reset the password of the
239
438
  * existing database user.
240
439
  *
440
+ * @example
441
+ *
442
+ * ```ts
443
+ * await dataClient.configureDatabaseUser(
444
+ * '123abc45-1234-5678-90ab-cdef12345678',
445
+ * 'Password01!'
446
+ * );
447
+ * ```
448
+ *
241
449
  * @param organizationId The ID of the organization
242
450
  * @param password The password of the user
243
451
  */
@@ -245,6 +453,14 @@ export declare class DataClient {
245
453
  /**
246
454
  * Get a connection to access a MongoDB Atlas Data federation instance.
247
455
  *
456
+ * @example
457
+ *
458
+ * ```ts
459
+ * const hostname = await dataClient.getDatabaseConnection(
460
+ * '123abc45-1234-5678-90ab-cdef12345678'
461
+ * );
462
+ * ```
463
+ *
248
464
  * @param organizationId Organization to retrieve connection for
249
465
  * @returns Hostname of the federated database
250
466
  */
@@ -252,6 +468,17 @@ export declare class DataClient {
252
468
  /**
253
469
  * Add BinaryData to the provided dataset.
254
470
  *
471
+ * @example
472
+ *
473
+ * ```ts
474
+ * await dataClient.addBinaryDataToDatasetByIds(
475
+ * [
476
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
477
+ * ],
478
+ * '12ab3de4f56a7bcd89ef0ab1'
479
+ * );
480
+ * ```
481
+ *
255
482
  * @param ids The IDs of binary data to add to dataset
256
483
  * @param datasetId The ID of the dataset to be added to
257
484
  */
@@ -259,6 +486,17 @@ export declare class DataClient {
259
486
  /**
260
487
  * Remove BinaryData from the provided dataset.
261
488
  *
489
+ * @example
490
+ *
491
+ * ```ts
492
+ * await dataClient.removeBinaryDataFromDatasetByIds(
493
+ * [
494
+ * 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh',
495
+ * ],
496
+ * '12ab3de4f56a7bcd89ef0ab1'
497
+ * );
498
+ * ```
499
+ *
262
500
  * @param ids The IDs of the binary data to remove from dataset
263
501
  * @param datasetId The ID of the dataset to be removed from
264
502
  */
@@ -266,6 +504,15 @@ export declare class DataClient {
266
504
  /**
267
505
  * Create a new dataset.
268
506
  *
507
+ * @example
508
+ *
509
+ * ```ts
510
+ * const datasetId = await dataClient.createDataset(
511
+ * 'my-new-dataset',
512
+ * '123abc45-1234-5678-90ab-cdef12345678'
513
+ * );
514
+ * ```
515
+ *
269
516
  * @param name The name of the new dataset
270
517
  * @param organizationId The ID of the organization the dataset is being
271
518
  * created in
@@ -275,12 +522,27 @@ export declare class DataClient {
275
522
  /**
276
523
  * Delete a dataset.
277
524
  *
525
+ * @example
526
+ *
527
+ * ```ts
528
+ * await dataClient.deleteDataset('12ab3de4f56a7bcd89ef0ab1');
529
+ * ```
530
+ *
278
531
  * @param id The ID of the dataset.
279
532
  */
280
533
  deleteDataset(id: string): Promise<void>;
281
534
  /**
282
535
  * Rename a dataset.
283
536
  *
537
+ * @example
538
+ *
539
+ * ```ts
540
+ * await dataClient.renameDataset(
541
+ * '12ab3de4f56a7bcd89ef0ab1',
542
+ * 'my-new-dataset'
543
+ * );
544
+ * ```
545
+ *
284
546
  * @param id The ID of the dataset
285
547
  * @param name The new name of the dataset
286
548
  */
@@ -288,6 +550,14 @@ export declare class DataClient {
288
550
  /**
289
551
  * List all of the datasets for an organization.
290
552
  *
553
+ * @example
554
+ *
555
+ * ```ts
556
+ * const datasets = await dataClient.listDatasetsByOrganizationID(
557
+ * '123abc45-1234-5678-90ab-cdef12345678'
558
+ * );
559
+ * ```
560
+ *
291
561
  * @param organizationId The ID of the organization
292
562
  * @returns The list of datasets in the organization
293
563
  */
@@ -295,6 +565,14 @@ export declare class DataClient {
295
565
  /**
296
566
  * List all of the datasets specified by the given dataset IDs.
297
567
  *
568
+ * @example
569
+ *
570
+ * ```ts
571
+ * const datasets = await dataClient.listDatasetsByIds([
572
+ * '12ab3de4f56a7bcd89ef0ab1',
573
+ * ]);
574
+ * ```
575
+ *
298
576
  * @param ids The list of IDs of the datasets
299
577
  * @returns The list of datasets
300
578
  */
@@ -307,6 +585,29 @@ export declare class DataClient {
307
585
  * data can be found under the "Sensors" subtab of the Data tab on
308
586
  * app.viam.com.
309
587
  *
588
+ * @example
589
+ *
590
+ * ```ts
591
+ * const fileId = await dataClient.tabularDataCaptureUpload(
592
+ * [
593
+ * {
594
+ * timestamp: '2025-03-26T10:00:00Z',
595
+ * value: 10,
596
+ * },
597
+ * ],
598
+ * '123abc45-1234-5678-90ab-cdef12345678',
599
+ * 'rdk:component:sensor',
600
+ * 'my-sensor',
601
+ * 'Readings',
602
+ * [
603
+ * [
604
+ * new Date('2025-03-26T10:00:00Z'),
605
+ * new Date('2025-03-26T10:00:00Z'),
606
+ * ],
607
+ * ]
608
+ * );
609
+ * ```
610
+ *
310
611
  * @param tabularData The list of data to be uploaded, represented tabularly
311
612
  * as an array.
312
613
  * @param partId The part ID of the component used to capture the data
@@ -331,6 +632,20 @@ export declare class DataClient {
331
632
  * a motor) along with the relevant metadata to app.viam.com. binary data can
332
633
  * be found under the "Sensors" subtab of the Data tab on app.viam.com.
333
634
  *
635
+ * @example
636
+ *
637
+ * ```ts
638
+ * const binaryDataId = await dataClient.binaryDataCaptureUpload(
639
+ * binaryData,
640
+ * '123abc45-1234-5678-90ab-cdef12345678',
641
+ * 'rdk:component:camera',
642
+ * 'my-camera',
643
+ * 'ReadImage',
644
+ * '.jpg',
645
+ * [new Date('2025-03-19'), new Date('2025-03-19')]
646
+ * );
647
+ * ```
648
+ *
334
649
  * @param binaryData The data to be uploaded, represented in bytes
335
650
  * @param partId The part ID of the component used to capture the data
336
651
  * @param componentType The type of the component used to capture the data
@@ -354,6 +669,17 @@ export declare class DataClient {
354
669
  * Gets the most recent tabular data captured from the specified data source,
355
670
  * as long as it was synced within the last year.
356
671
  *
672
+ * @example
673
+ *
674
+ * ```ts
675
+ * const data = await dataClient.getLatestTabularData(
676
+ * '123abc45-1234-5678-90ab-cdef12345678',
677
+ * 'my-sensor',
678
+ * 'rdk:component:sensor',
679
+ * 'Readings'
680
+ * );
681
+ * ```
682
+ *
357
683
  * @param partId The ID of the part that owns the data
358
684
  * @param resourceName The name of the requested resource that captured the
359
685
  * data. Ex: "my-sensor"
@@ -6,27 +6,102 @@ export type ArmJointPositions = PlainMessage<armApi.JointPositions>;
6
6
  export declare const ArmJointPositions: typeof armApi.JointPositions;
7
7
  /** Represents a physical robot arm that exists in three-dimensional space. */
8
8
  export interface Arm extends Resource {
9
- /** Get the position of the end of the arm expressed as a pose */
9
+ /**
10
+ * Get the position of the end of the arm expressed as a pose
11
+ *
12
+ * @example
13
+ *
14
+ * ```ts
15
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
16
+ * const pose = await arm.getEndPosition();
17
+ * ```
18
+ */
10
19
  getEndPosition: (extra?: Struct) => Promise<Pose>;
11
- /** Get the geometries of the component in their current configuration */
20
+ /**
21
+ * Get the geometries of the component in their current configuration
22
+ *
23
+ * @example
24
+ *
25
+ * ```ts
26
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
27
+ * const geometries = await arm.getGeometries();
28
+ * console.log(geometries);
29
+ * ```
30
+ */
12
31
  getGeometries: (extra?: Struct) => Promise<Geometry[]>;
13
32
  /**
14
33
  * Move the end of the arm to the pose.
15
34
  *
35
+ * @example
36
+ *
37
+ * ```ts
38
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
39
+ *
40
+ * // Create a pose for the arm to move to
41
+ * const pose: Pose = {
42
+ * x: -500,
43
+ * y: -200,
44
+ * z: 62,
45
+ * oX: 1,
46
+ * oY: 0,
47
+ * oZ: 1,
48
+ * theta: 90,
49
+ * };
50
+ *
51
+ * // Move the arm to the pose
52
+ * await arm.moveToPosition(pose);
53
+ * ```
54
+ *
16
55
  * @param pose - The destination pose for the arm.
17
56
  */
18
57
  moveToPosition: (pose: Pose, extra?: Struct) => Promise<void>;
19
58
  /**
20
- * Move each joint of the arm based on the angles on the joint poisitons.
21
- * parameter
59
+ * Move each joint of the arm based on the angles on the joint positions.
60
+ *
61
+ * @example
62
+ *
63
+ * ```ts
64
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
65
+ *
66
+ * // Move an arm with 6 joints (6 DoF)
67
+ * await arm.moveToJointPositions([90, 0, 0, 0, 15, 0]);
68
+ * ```
22
69
  *
23
70
  * @param jointPositionsList - List of angles (0-360) to move each joint to.
24
71
  */
25
72
  moveToJointPositions: (jointPositionsList: number[], extra?: Struct) => Promise<void>;
26
- /** Gets the current position of each joint. */
73
+ /**
74
+ * Gets the current position of each joint.
75
+ *
76
+ * @example
77
+ *
78
+ * ```ts
79
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
80
+ * const jointPositions = await arm.getJointPositions();
81
+ * ```
82
+ */
27
83
  getJointPositions: (extra?: Struct) => Promise<ArmJointPositions>;
28
- /** Stops the motion of the arm. */
84
+ /**
85
+ * Stop the motion of the arm.
86
+ *
87
+ * @example
88
+ *
89
+ * ```ts
90
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
91
+ * await arm.stop();
92
+ * ```
93
+ */
29
94
  stop: (extra?: Struct) => Promise<void>;
30
- /** Get if the arm is currently moving. */
95
+ /**
96
+ * Get if the arm is currently moving.
97
+ *
98
+ * @example
99
+ *
100
+ * ```ts
101
+ * const arm = new VIAM.ArmClient(machine, 'my_arm');
102
+ * const isMoving = await arm.isMoving();
103
+ * console.log(isMoving);
104
+ * ```
105
+ */
31
106
  isMoving: () => Promise<boolean>;
32
107
  }