@zaber/motion 7.15.0-beta.1 → 8.0.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.
Files changed (91) hide show
  1. package/LICENSE +504 -7
  2. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  3. package/dist/lib/ascii/axis.d.ts +10 -0
  4. package/dist/lib/ascii/axis.d.ts.map +1 -1
  5. package/dist/lib/ascii/axis.js +22 -0
  6. package/dist/lib/ascii/axis.js.map +1 -1
  7. package/dist/lib/ascii/axis_settings.d.ts +8 -0
  8. package/dist/lib/ascii/axis_settings.d.ts.map +1 -1
  9. package/dist/lib/ascii/axis_settings.js +21 -0
  10. package/dist/lib/ascii/axis_settings.js.map +1 -1
  11. package/dist/lib/ascii/device.d.ts +10 -0
  12. package/dist/lib/ascii/device.d.ts.map +1 -1
  13. package/dist/lib/ascii/device.js +21 -0
  14. package/dist/lib/ascii/device.js.map +1 -1
  15. package/dist/lib/ascii/device_settings.d.ts +8 -0
  16. package/dist/lib/ascii/device_settings.d.ts.map +1 -1
  17. package/dist/lib/ascii/device_settings.js +20 -0
  18. package/dist/lib/ascii/device_settings.js.map +1 -1
  19. package/dist/lib/ascii/index.d.ts +0 -1
  20. package/dist/lib/ascii/index.d.ts.map +1 -1
  21. package/dist/lib/ascii/index.js +0 -1
  22. package/dist/lib/ascii/index.js.map +1 -1
  23. package/dist/lib/ascii/lockstep.d.ts +0 -8
  24. package/dist/lib/ascii/lockstep.d.ts.map +1 -1
  25. package/dist/lib/ascii/lockstep.js +0 -20
  26. package/dist/lib/ascii/lockstep.js.map +1 -1
  27. package/dist/lib/ascii/pvt_sequence.d.ts +0 -31
  28. package/dist/lib/ascii/pvt_sequence.d.ts.map +1 -1
  29. package/dist/lib/ascii/pvt_sequence.js +0 -84
  30. package/dist/lib/ascii/pvt_sequence.js.map +1 -1
  31. package/dist/lib/ascii/response.d.ts +4 -1
  32. package/dist/lib/ascii/response.d.ts.map +1 -1
  33. package/dist/lib/ascii/response.js.map +1 -1
  34. package/dist/lib/ascii/servo_tuner.d.ts +11 -30
  35. package/dist/lib/ascii/servo_tuner.d.ts.map +1 -1
  36. package/dist/lib/ascii/servo_tuner.js +12 -42
  37. package/dist/lib/ascii/servo_tuner.js.map +1 -1
  38. package/dist/lib/ascii/simple_tuning.d.ts +5 -4
  39. package/dist/lib/ascii/simple_tuning.d.ts.map +1 -1
  40. package/dist/lib/ascii/simple_tuning.js +6 -6
  41. package/dist/lib/ascii/simple_tuning.js.map +1 -1
  42. package/dist/lib/ascii/stream.d.ts +0 -50
  43. package/dist/lib/ascii/stream.d.ts.map +1 -1
  44. package/dist/lib/ascii/stream.js +0 -126
  45. package/dist/lib/ascii/stream.js.map +1 -1
  46. package/dist/lib/ascii/unknown_response_event.d.ts +4 -1
  47. package/dist/lib/ascii/unknown_response_event.d.ts.map +1 -1
  48. package/dist/lib/ascii/unknown_response_event.js.map +1 -1
  49. package/dist/lib/binary/connection.d.ts +17 -2
  50. package/dist/lib/binary/connection.d.ts.map +1 -1
  51. package/dist/lib/binary/connection.js +14 -3
  52. package/dist/lib/binary/connection.js.map +1 -1
  53. package/dist/lib/index.d.ts +1 -0
  54. package/dist/lib/index.d.ts.map +1 -1
  55. package/dist/lib/index.js +1 -0
  56. package/dist/lib/index.js.map +1 -1
  57. package/dist/lib/library.js +1 -1
  58. package/dist/lib/library.js.map +1 -1
  59. package/dist/lib/microscopy/objective_changer.d.ts +0 -23
  60. package/dist/lib/microscopy/objective_changer.d.ts.map +1 -1
  61. package/dist/lib/microscopy/objective_changer.js +0 -27
  62. package/dist/lib/microscopy/objective_changer.js.map +1 -1
  63. package/dist/lib/requests/get_command_unit_conversion_response.d.ts +13 -0
  64. package/dist/lib/requests/get_command_unit_conversion_response.d.ts.map +1 -0
  65. package/dist/lib/requests/get_command_unit_conversion_response.js +28 -0
  66. package/dist/lib/requests/get_command_unit_conversion_response.js.map +1 -0
  67. package/dist/lib/requests/index.d.ts +2 -0
  68. package/dist/lib/requests/index.d.ts.map +1 -1
  69. package/dist/lib/requests/index.js +2 -0
  70. package/dist/lib/requests/index.js.map +1 -1
  71. package/dist/lib/requests/set_simple_tuning.d.ts +4 -4
  72. package/dist/lib/requests/set_simple_tuning.d.ts.map +1 -1
  73. package/dist/lib/requests/set_simple_tuning.js +12 -12
  74. package/dist/lib/requests/set_simple_tuning.js.map +1 -1
  75. package/dist/lib/requests/unit_convert_native_request.d.ts +17 -0
  76. package/dist/lib/requests/unit_convert_native_request.d.ts.map +1 -0
  77. package/dist/lib/requests/unit_convert_native_request.js +39 -0
  78. package/dist/lib/requests/unit_convert_native_request.js.map +1 -0
  79. package/dist/lib/unit_conversion_descriptor.d.ts +30 -0
  80. package/dist/lib/unit_conversion_descriptor.d.ts.map +1 -0
  81. package/dist/lib/unit_conversion_descriptor.js +37 -0
  82. package/dist/lib/unit_conversion_descriptor.js.map +1 -0
  83. package/dist/lib/unit_table.d.ts +33 -0
  84. package/dist/lib/unit_table.d.ts.map +1 -1
  85. package/dist/lib/unit_table.js +80 -0
  86. package/dist/lib/unit_table.js.map +1 -1
  87. package/package.json +1 -1
  88. package/dist/lib/ascii/lockstep_axes.d.ts +0 -30
  89. package/dist/lib/ascii/lockstep_axes.d.ts.map +0 -1
  90. package/dist/lib/ascii/lockstep_axes.js +0 -37
  91. package/dist/lib/ascii/lockstep_axes.js.map +0 -1
package/LICENSE CHANGED
@@ -291,6 +291,31 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
291
291
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
292
292
  SOFTWARE.
293
293
 
294
+ ------------------
295
+ github.com/json-iterator/go v1.1.12
296
+ ------------------
297
+ MIT License
298
+
299
+ Copyright (c) 2016 json-iterator
300
+
301
+ Permission is hereby granted, free of charge, to any person obtaining a copy
302
+ of this software and associated documentation files (the "Software"), to deal
303
+ in the Software without restriction, including without limitation the rights
304
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
305
+ copies of the Software, and to permit persons to whom the Software is
306
+ furnished to do so, subject to the following conditions:
307
+
308
+ The above copyright notice and this permission notice shall be included in all
309
+ copies or substantial portions of the Software.
310
+
311
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
312
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
313
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
314
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
315
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
316
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
317
+ SOFTWARE.
318
+
294
319
  ------------------
295
320
  github.com/mattn/go-sqlite3 v1.14.28
296
321
  ------------------
@@ -316,6 +341,416 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
316
341
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
317
342
  SOFTWARE.
318
343
 
344
+ ------------------
345
+ github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421
346
+ ------------------
347
+ Apache License
348
+ Version 2.0, January 2004
349
+ http://www.apache.org/licenses/
350
+
351
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
352
+
353
+ 1. Definitions.
354
+
355
+ "License" shall mean the terms and conditions for use, reproduction,
356
+ and distribution as defined by Sections 1 through 9 of this document.
357
+
358
+ "Licensor" shall mean the copyright owner or entity authorized by
359
+ the copyright owner that is granting the License.
360
+
361
+ "Legal Entity" shall mean the union of the acting entity and all
362
+ other entities that control, are controlled by, or are under common
363
+ control with that entity. For the purposes of this definition,
364
+ "control" means (i) the power, direct or indirect, to cause the
365
+ direction or management of such entity, whether by contract or
366
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
367
+ outstanding shares, or (iii) beneficial ownership of such entity.
368
+
369
+ "You" (or "Your") shall mean an individual or Legal Entity
370
+ exercising permissions granted by this License.
371
+
372
+ "Source" form shall mean the preferred form for making modifications,
373
+ including but not limited to software source code, documentation
374
+ source, and configuration files.
375
+
376
+ "Object" form shall mean any form resulting from mechanical
377
+ transformation or translation of a Source form, including but
378
+ not limited to compiled object code, generated documentation,
379
+ and conversions to other media types.
380
+
381
+ "Work" shall mean the work of authorship, whether in Source or
382
+ Object form, made available under the License, as indicated by a
383
+ copyright notice that is included in or attached to the work
384
+ (an example is provided in the Appendix below).
385
+
386
+ "Derivative Works" shall mean any work, whether in Source or Object
387
+ form, that is based on (or derived from) the Work and for which the
388
+ editorial revisions, annotations, elaborations, or other modifications
389
+ represent, as a whole, an original work of authorship. For the purposes
390
+ of this License, Derivative Works shall not include works that remain
391
+ separable from, or merely link (or bind by name) to the interfaces of,
392
+ the Work and Derivative Works thereof.
393
+
394
+ "Contribution" shall mean any work of authorship, including
395
+ the original version of the Work and any modifications or additions
396
+ to that Work or Derivative Works thereof, that is intentionally
397
+ submitted to Licensor for inclusion in the Work by the copyright owner
398
+ or by an individual or Legal Entity authorized to submit on behalf of
399
+ the copyright owner. For the purposes of this definition, "submitted"
400
+ means any form of electronic, verbal, or written communication sent
401
+ to the Licensor or its representatives, including but not limited to
402
+ communication on electronic mailing lists, source code control systems,
403
+ and issue tracking systems that are managed by, or on behalf of, the
404
+ Licensor for the purpose of discussing and improving the Work, but
405
+ excluding communication that is conspicuously marked or otherwise
406
+ designated in writing by the copyright owner as "Not a Contribution."
407
+
408
+ "Contributor" shall mean Licensor and any individual or Legal Entity
409
+ on behalf of whom a Contribution has been received by Licensor and
410
+ subsequently incorporated within the Work.
411
+
412
+ 2. Grant of Copyright License. Subject to the terms and conditions of
413
+ this License, each Contributor hereby grants to You a perpetual,
414
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
415
+ copyright license to reproduce, prepare Derivative Works of,
416
+ publicly display, publicly perform, sublicense, and distribute the
417
+ Work and such Derivative Works in Source or Object form.
418
+
419
+ 3. Grant of Patent License. Subject to the terms and conditions of
420
+ this License, each Contributor hereby grants to You a perpetual,
421
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
422
+ (except as stated in this section) patent license to make, have made,
423
+ use, offer to sell, sell, import, and otherwise transfer the Work,
424
+ where such license applies only to those patent claims licensable
425
+ by such Contributor that are necessarily infringed by their
426
+ Contribution(s) alone or by combination of their Contribution(s)
427
+ with the Work to which such Contribution(s) was submitted. If You
428
+ institute patent litigation against any entity (including a
429
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
430
+ or a Contribution incorporated within the Work constitutes direct
431
+ or contributory patent infringement, then any patent licenses
432
+ granted to You under this License for that Work shall terminate
433
+ as of the date such litigation is filed.
434
+
435
+ 4. Redistribution. You may reproduce and distribute copies of the
436
+ Work or Derivative Works thereof in any medium, with or without
437
+ modifications, and in Source or Object form, provided that You
438
+ meet the following conditions:
439
+
440
+ (a) You must give any other recipients of the Work or
441
+ Derivative Works a copy of this License; and
442
+
443
+ (b) You must cause any modified files to carry prominent notices
444
+ stating that You changed the files; and
445
+
446
+ (c) You must retain, in the Source form of any Derivative Works
447
+ that You distribute, all copyright, patent, trademark, and
448
+ attribution notices from the Source form of the Work,
449
+ excluding those notices that do not pertain to any part of
450
+ the Derivative Works; and
451
+
452
+ (d) If the Work includes a "NOTICE" text file as part of its
453
+ distribution, then any Derivative Works that You distribute must
454
+ include a readable copy of the attribution notices contained
455
+ within such NOTICE file, excluding those notices that do not
456
+ pertain to any part of the Derivative Works, in at least one
457
+ of the following places: within a NOTICE text file distributed
458
+ as part of the Derivative Works; within the Source form or
459
+ documentation, if provided along with the Derivative Works; or,
460
+ within a display generated by the Derivative Works, if and
461
+ wherever such third-party notices normally appear. The contents
462
+ of the NOTICE file are for informational purposes only and
463
+ do not modify the License. You may add Your own attribution
464
+ notices within Derivative Works that You distribute, alongside
465
+ or as an addendum to the NOTICE text from the Work, provided
466
+ that such additional attribution notices cannot be construed
467
+ as modifying the License.
468
+
469
+ You may add Your own copyright statement to Your modifications and
470
+ may provide additional or different license terms and conditions
471
+ for use, reproduction, or distribution of Your modifications, or
472
+ for any such Derivative Works as a whole, provided Your use,
473
+ reproduction, and distribution of the Work otherwise complies with
474
+ the conditions stated in this License.
475
+
476
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
477
+ any Contribution intentionally submitted for inclusion in the Work
478
+ by You to the Licensor shall be under the terms and conditions of
479
+ this License, without any additional terms or conditions.
480
+ Notwithstanding the above, nothing herein shall supersede or modify
481
+ the terms of any separate license agreement you may have executed
482
+ with Licensor regarding such Contributions.
483
+
484
+ 6. Trademarks. This License does not grant permission to use the trade
485
+ names, trademarks, service marks, or product names of the Licensor,
486
+ except as required for reasonable and customary use in describing the
487
+ origin of the Work and reproducing the content of the NOTICE file.
488
+
489
+ 7. Disclaimer of Warranty. Unless required by applicable law or
490
+ agreed to in writing, Licensor provides the Work (and each
491
+ Contributor provides its Contributions) on an "AS IS" BASIS,
492
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
493
+ implied, including, without limitation, any warranties or conditions
494
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
495
+ PARTICULAR PURPOSE. You are solely responsible for determining the
496
+ appropriateness of using or redistributing the Work and assume any
497
+ risks associated with Your exercise of permissions under this License.
498
+
499
+ 8. Limitation of Liability. In no event and under no legal theory,
500
+ whether in tort (including negligence), contract, or otherwise,
501
+ unless required by applicable law (such as deliberate and grossly
502
+ negligent acts) or agreed to in writing, shall any Contributor be
503
+ liable to You for damages, including any direct, indirect, special,
504
+ incidental, or consequential damages of any character arising as a
505
+ result of this License or out of the use or inability to use the
506
+ Work (including but not limited to damages for loss of goodwill,
507
+ work stoppage, computer failure or malfunction, or any and all
508
+ other commercial damages or losses), even if such Contributor
509
+ has been advised of the possibility of such damages.
510
+
511
+ 9. Accepting Warranty or Additional Liability. While redistributing
512
+ the Work or Derivative Works thereof, You may choose to offer,
513
+ and charge a fee for, acceptance of support, warranty, indemnity,
514
+ or other liability obligations and/or rights consistent with this
515
+ License. However, in accepting such obligations, You may act only
516
+ on Your own behalf and on Your sole responsibility, not on behalf
517
+ of any other Contributor, and only if You agree to indemnify,
518
+ defend, and hold each Contributor harmless for any liability
519
+ incurred by, or claims asserted against, such Contributor by reason
520
+ of your accepting any such warranty or additional liability.
521
+
522
+ END OF TERMS AND CONDITIONS
523
+
524
+ APPENDIX: How to apply the Apache License to your work.
525
+
526
+ To apply the Apache License to your work, attach the following
527
+ boilerplate notice, with the fields enclosed by brackets "[]"
528
+ replaced with your own identifying information. (Don't include
529
+ the brackets!) The text should be enclosed in the appropriate
530
+ comment syntax for the file format. We also recommend that a
531
+ file or class name and description of purpose be included on the
532
+ same "printed page" as the copyright notice for easier
533
+ identification within third-party archives.
534
+
535
+ Copyright [yyyy] [name of copyright owner]
536
+
537
+ Licensed under the Apache License, Version 2.0 (the "License");
538
+ you may not use this file except in compliance with the License.
539
+ You may obtain a copy of the License at
540
+
541
+ http://www.apache.org/licenses/LICENSE-2.0
542
+
543
+ Unless required by applicable law or agreed to in writing, software
544
+ distributed under the License is distributed on an "AS IS" BASIS,
545
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
546
+ See the License for the specific language governing permissions and
547
+ limitations under the License.
548
+
549
+ ------------------
550
+ github.com/modern-go/reflect2 v1.0.2
551
+ ------------------
552
+ Apache License
553
+ Version 2.0, January 2004
554
+ http://www.apache.org/licenses/
555
+
556
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
557
+
558
+ 1. Definitions.
559
+
560
+ "License" shall mean the terms and conditions for use, reproduction,
561
+ and distribution as defined by Sections 1 through 9 of this document.
562
+
563
+ "Licensor" shall mean the copyright owner or entity authorized by
564
+ the copyright owner that is granting the License.
565
+
566
+ "Legal Entity" shall mean the union of the acting entity and all
567
+ other entities that control, are controlled by, or are under common
568
+ control with that entity. For the purposes of this definition,
569
+ "control" means (i) the power, direct or indirect, to cause the
570
+ direction or management of such entity, whether by contract or
571
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
572
+ outstanding shares, or (iii) beneficial ownership of such entity.
573
+
574
+ "You" (or "Your") shall mean an individual or Legal Entity
575
+ exercising permissions granted by this License.
576
+
577
+ "Source" form shall mean the preferred form for making modifications,
578
+ including but not limited to software source code, documentation
579
+ source, and configuration files.
580
+
581
+ "Object" form shall mean any form resulting from mechanical
582
+ transformation or translation of a Source form, including but
583
+ not limited to compiled object code, generated documentation,
584
+ and conversions to other media types.
585
+
586
+ "Work" shall mean the work of authorship, whether in Source or
587
+ Object form, made available under the License, as indicated by a
588
+ copyright notice that is included in or attached to the work
589
+ (an example is provided in the Appendix below).
590
+
591
+ "Derivative Works" shall mean any work, whether in Source or Object
592
+ form, that is based on (or derived from) the Work and for which the
593
+ editorial revisions, annotations, elaborations, or other modifications
594
+ represent, as a whole, an original work of authorship. For the purposes
595
+ of this License, Derivative Works shall not include works that remain
596
+ separable from, or merely link (or bind by name) to the interfaces of,
597
+ the Work and Derivative Works thereof.
598
+
599
+ "Contribution" shall mean any work of authorship, including
600
+ the original version of the Work and any modifications or additions
601
+ to that Work or Derivative Works thereof, that is intentionally
602
+ submitted to Licensor for inclusion in the Work by the copyright owner
603
+ or by an individual or Legal Entity authorized to submit on behalf of
604
+ the copyright owner. For the purposes of this definition, "submitted"
605
+ means any form of electronic, verbal, or written communication sent
606
+ to the Licensor or its representatives, including but not limited to
607
+ communication on electronic mailing lists, source code control systems,
608
+ and issue tracking systems that are managed by, or on behalf of, the
609
+ Licensor for the purpose of discussing and improving the Work, but
610
+ excluding communication that is conspicuously marked or otherwise
611
+ designated in writing by the copyright owner as "Not a Contribution."
612
+
613
+ "Contributor" shall mean Licensor and any individual or Legal Entity
614
+ on behalf of whom a Contribution has been received by Licensor and
615
+ subsequently incorporated within the Work.
616
+
617
+ 2. Grant of Copyright License. Subject to the terms and conditions of
618
+ this License, each Contributor hereby grants to You a perpetual,
619
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
620
+ copyright license to reproduce, prepare Derivative Works of,
621
+ publicly display, publicly perform, sublicense, and distribute the
622
+ Work and such Derivative Works in Source or Object form.
623
+
624
+ 3. Grant of Patent License. Subject to the terms and conditions of
625
+ this License, each Contributor hereby grants to You a perpetual,
626
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
627
+ (except as stated in this section) patent license to make, have made,
628
+ use, offer to sell, sell, import, and otherwise transfer the Work,
629
+ where such license applies only to those patent claims licensable
630
+ by such Contributor that are necessarily infringed by their
631
+ Contribution(s) alone or by combination of their Contribution(s)
632
+ with the Work to which such Contribution(s) was submitted. If You
633
+ institute patent litigation against any entity (including a
634
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
635
+ or a Contribution incorporated within the Work constitutes direct
636
+ or contributory patent infringement, then any patent licenses
637
+ granted to You under this License for that Work shall terminate
638
+ as of the date such litigation is filed.
639
+
640
+ 4. Redistribution. You may reproduce and distribute copies of the
641
+ Work or Derivative Works thereof in any medium, with or without
642
+ modifications, and in Source or Object form, provided that You
643
+ meet the following conditions:
644
+
645
+ (a) You must give any other recipients of the Work or
646
+ Derivative Works a copy of this License; and
647
+
648
+ (b) You must cause any modified files to carry prominent notices
649
+ stating that You changed the files; and
650
+
651
+ (c) You must retain, in the Source form of any Derivative Works
652
+ that You distribute, all copyright, patent, trademark, and
653
+ attribution notices from the Source form of the Work,
654
+ excluding those notices that do not pertain to any part of
655
+ the Derivative Works; and
656
+
657
+ (d) If the Work includes a "NOTICE" text file as part of its
658
+ distribution, then any Derivative Works that You distribute must
659
+ include a readable copy of the attribution notices contained
660
+ within such NOTICE file, excluding those notices that do not
661
+ pertain to any part of the Derivative Works, in at least one
662
+ of the following places: within a NOTICE text file distributed
663
+ as part of the Derivative Works; within the Source form or
664
+ documentation, if provided along with the Derivative Works; or,
665
+ within a display generated by the Derivative Works, if and
666
+ wherever such third-party notices normally appear. The contents
667
+ of the NOTICE file are for informational purposes only and
668
+ do not modify the License. You may add Your own attribution
669
+ notices within Derivative Works that You distribute, alongside
670
+ or as an addendum to the NOTICE text from the Work, provided
671
+ that such additional attribution notices cannot be construed
672
+ as modifying the License.
673
+
674
+ You may add Your own copyright statement to Your modifications and
675
+ may provide additional or different license terms and conditions
676
+ for use, reproduction, or distribution of Your modifications, or
677
+ for any such Derivative Works as a whole, provided Your use,
678
+ reproduction, and distribution of the Work otherwise complies with
679
+ the conditions stated in this License.
680
+
681
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
682
+ any Contribution intentionally submitted for inclusion in the Work
683
+ by You to the Licensor shall be under the terms and conditions of
684
+ this License, without any additional terms or conditions.
685
+ Notwithstanding the above, nothing herein shall supersede or modify
686
+ the terms of any separate license agreement you may have executed
687
+ with Licensor regarding such Contributions.
688
+
689
+ 6. Trademarks. This License does not grant permission to use the trade
690
+ names, trademarks, service marks, or product names of the Licensor,
691
+ except as required for reasonable and customary use in describing the
692
+ origin of the Work and reproducing the content of the NOTICE file.
693
+
694
+ 7. Disclaimer of Warranty. Unless required by applicable law or
695
+ agreed to in writing, Licensor provides the Work (and each
696
+ Contributor provides its Contributions) on an "AS IS" BASIS,
697
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
698
+ implied, including, without limitation, any warranties or conditions
699
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
700
+ PARTICULAR PURPOSE. You are solely responsible for determining the
701
+ appropriateness of using or redistributing the Work and assume any
702
+ risks associated with Your exercise of permissions under this License.
703
+
704
+ 8. Limitation of Liability. In no event and under no legal theory,
705
+ whether in tort (including negligence), contract, or otherwise,
706
+ unless required by applicable law (such as deliberate and grossly
707
+ negligent acts) or agreed to in writing, shall any Contributor be
708
+ liable to You for damages, including any direct, indirect, special,
709
+ incidental, or consequential damages of any character arising as a
710
+ result of this License or out of the use or inability to use the
711
+ Work (including but not limited to damages for loss of goodwill,
712
+ work stoppage, computer failure or malfunction, or any and all
713
+ other commercial damages or losses), even if such Contributor
714
+ has been advised of the possibility of such damages.
715
+
716
+ 9. Accepting Warranty or Additional Liability. While redistributing
717
+ the Work or Derivative Works thereof, You may choose to offer,
718
+ and charge a fee for, acceptance of support, warranty, indemnity,
719
+ or other liability obligations and/or rights consistent with this
720
+ License. However, in accepting such obligations, You may act only
721
+ on Your own behalf and on Your sole responsibility, not on behalf
722
+ of any other Contributor, and only if You agree to indemnify,
723
+ defend, and hold each Contributor harmless for any liability
724
+ incurred by, or claims asserted against, such Contributor by reason
725
+ of your accepting any such warranty or additional liability.
726
+
727
+ END OF TERMS AND CONDITIONS
728
+
729
+ APPENDIX: How to apply the Apache License to your work.
730
+
731
+ To apply the Apache License to your work, attach the following
732
+ boilerplate notice, with the fields enclosed by brackets "[]"
733
+ replaced with your own identifying information. (Don't include
734
+ the brackets!) The text should be enclosed in the appropriate
735
+ comment syntax for the file format. We also recommend that a
736
+ file or class name and description of purpose be included on the
737
+ same "printed page" as the copyright notice for easier
738
+ identification within third-party archives.
739
+
740
+ Copyright [yyyy] [name of copyright owner]
741
+
742
+ Licensed under the Apache License, Version 2.0 (the "License");
743
+ you may not use this file except in compliance with the License.
744
+ You may obtain a copy of the License at
745
+
746
+ http://www.apache.org/licenses/LICENSE-2.0
747
+
748
+ Unless required by applicable law or agreed to in writing, software
749
+ distributed under the License is distributed on an "AS IS" BASIS,
750
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
751
+ See the License for the specific language governing permissions and
752
+ limitations under the License.
753
+
319
754
  ------------------
320
755
  github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d
321
756
  ------------------
@@ -1162,7 +1597,7 @@ POSSIBILITY OF SUCH DAMAGE.
1162
1597
 
1163
1598
 
1164
1599
  ------------------
1165
- gitlab.com/ZaberTech/zaber-device-db-service v0.0.0-20250731204611-5cd79ada4afd
1600
+ gitlab.com/ZaberTech/zaber-device-db-service v0.0.0-20251031203245-14effe2b4703
1166
1601
  ------------------
1167
1602
  Copyright 2022 Zaber Technologies Inc.
1168
1603
 
@@ -1389,9 +1824,9 @@ go.mongodb.org/mongo-driver v1.14.0
1389
1824
  limitations under the License.
1390
1825
 
1391
1826
  ------------------
1392
- golang.org/x/crypto v0.28.0
1827
+ golang.org/x/crypto v0.11.0
1393
1828
  ------------------
1394
- Copyright 2009 The Go Authors.
1829
+ Copyright (c) 2009 The Go Authors. All rights reserved.
1395
1830
 
1396
1831
  Redistribution and use in source and binary forms, with or without
1397
1832
  modification, are permitted provided that the following conditions are
@@ -1403,7 +1838,7 @@ notice, this list of conditions and the following disclaimer.
1403
1838
  copyright notice, this list of conditions and the following disclaimer
1404
1839
  in the documentation and/or other materials provided with the
1405
1840
  distribution.
1406
- * Neither the name of Google LLC nor the names of its
1841
+ * Neither the name of Google Inc. nor the names of its
1407
1842
  contributors may be used to endorse or promote products derived from
1408
1843
  this software without specific prior written permission.
1409
1844
 
@@ -1481,6 +1916,37 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1481
1916
  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1482
1917
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1483
1918
 
1919
+ ------------------
1920
+ golang.org/x/mod v0.12.0
1921
+ ------------------
1922
+ Copyright (c) 2009 The Go Authors. All rights reserved.
1923
+
1924
+ Redistribution and use in source and binary forms, with or without
1925
+ modification, are permitted provided that the following conditions are
1926
+ met:
1927
+
1928
+ * Redistributions of source code must retain the above copyright
1929
+ notice, this list of conditions and the following disclaimer.
1930
+ * Redistributions in binary form must reproduce the above
1931
+ copyright notice, this list of conditions and the following disclaimer
1932
+ in the documentation and/or other materials provided with the
1933
+ distribution.
1934
+ * Neither the name of Google Inc. nor the names of its
1935
+ contributors may be used to endorse or promote products derived from
1936
+ this software without specific prior written permission.
1937
+
1938
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1939
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1940
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1941
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1942
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
1943
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
1944
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1945
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1946
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1947
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
1948
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1949
+
1484
1950
  ------------------
1485
1951
  golang.org/x/net v0.0.0-20190620200207-3b0461eec859
1486
1952
  ------------------
@@ -1513,9 +1979,9 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1513
1979
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1514
1980
 
1515
1981
  ------------------
1516
- golang.org/x/sys v0.34.0
1982
+ golang.org/x/sync v0.3.0
1517
1983
  ------------------
1518
- Copyright 2009 The Go Authors.
1984
+ Copyright (c) 2009 The Go Authors. All rights reserved.
1519
1985
 
1520
1986
  Redistribution and use in source and binary forms, with or without
1521
1987
  modification, are permitted provided that the following conditions are
@@ -1527,7 +1993,38 @@ notice, this list of conditions and the following disclaimer.
1527
1993
  copyright notice, this list of conditions and the following disclaimer
1528
1994
  in the documentation and/or other materials provided with the
1529
1995
  distribution.
1530
- * Neither the name of Google LLC nor the names of its
1996
+ * Neither the name of Google Inc. nor the names of its
1997
+ contributors may be used to endorse or promote products derived from
1998
+ this software without specific prior written permission.
1999
+
2000
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
2001
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
2002
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
2003
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
2004
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2005
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2006
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2007
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2008
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2009
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2010
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2011
+
2012
+ ------------------
2013
+ golang.org/x/sys v0.10.0
2014
+ ------------------
2015
+ Copyright (c) 2009 The Go Authors. All rights reserved.
2016
+
2017
+ Redistribution and use in source and binary forms, with or without
2018
+ modification, are permitted provided that the following conditions are
2019
+ met:
2020
+
2021
+ * Redistributions of source code must retain the above copyright
2022
+ notice, this list of conditions and the following disclaimer.
2023
+ * Redistributions in binary form must reproduce the above
2024
+ copyright notice, this list of conditions and the following disclaimer
2025
+ in the documentation and/or other materials provided with the
2026
+ distribution.
2027
+ * Neither the name of Google Inc. nor the names of its
1531
2028
  contributors may be used to endorse or promote products derived from
1532
2029
  this software without specific prior written permission.
1533
2030
 
@@ -9,6 +9,7 @@ import { Measurement } from '../measurement';
9
9
  import { AxisStorage } from './storage';
10
10
  import { SetStateAxisResponse } from './set_state_axis_response';
11
11
  import { FirmwareVersion } from '../firmware_version';
12
+ import { UnitConversionDescriptor } from '../unit_conversion_descriptor';
12
13
  /**
13
14
  * Represents an axis of motion associated with a device.
14
15
  */
@@ -245,6 +246,15 @@ export declare class Axis {
245
246
  * @returns Command with converted parameters.
246
247
  */
247
248
  prepareCommand(commandTemplate: string, ...parameters: Measurement[]): string;
249
+ /**
250
+ * Retrieves unit conversion descriptors for a command, allowing unit conversion without a device.
251
+ * The descriptors can be used with the ConvertTo/FromNativeUnits methods of the UnitTable class.
252
+ * Parameters in the command template are denoted by a question mark.
253
+ * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).
254
+ * @param commandTemplate Template of the command. Parameters are denoted by question marks.
255
+ * @returns Unit conversion descriptor for each parameter in the command. Nil if a parameter does not have conversion.
256
+ */
257
+ getCommandUnitConversionDescriptors(commandTemplate: string): (UnitConversionDescriptor | null)[];
248
258
  /**
249
259
  * Sets the user-assigned peripheral label.
250
260
  * The label is stored on the controller and recognized by other software.
@@ -1 +1 @@
1
- {"version":3,"file":"axis.d.ts","sourceRoot":"","sources":["../../../src/ascii/axis.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,E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B;;WAEG;QACH,gBAAgB,CAAC,EAAE,YAAY,GAAG,mBAAmB,GAAG,MAAM,CAAC;KAClE;IACD,UAAiB,mBAAmB;QAChC;;;;WAIG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;WAEG;QACH,gBAAgB,CAAC,EAAE,YAAY,GAAG,mBAAmB,GAAG,MAAM,CAAC;KAClE;IACD,UAAiB,gBAAgB;QAC7B;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;QACxB;;;;WAIG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;WAEG;QACH,YAAY,CAAC,EAAE,QAAQ,GAAG,eAAe,GAAG,MAAM,CAAC;QACnD;;;;WAIG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB;;WAEG;QACH,gBAAgB,CAAC,EAAE,YAAY,GAAG,mBAAmB,GAAG,MAAM,CAAC;KAClE;IACD,UAAiB,qBAAqB;QAClC;;WAEG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB;IACD,UAAiB,kCAAkC;QAC/C;;WAEG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB;IACD,UAAiB,kBAAkB;QAC/B;;;WAGG;QACH,eAAe,CAAC,EAAE,eAAe,CAAC;KACrC;IACD,UAAiB,mBAAmB;QAChC;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KACpB;IACD,UAAiB,cAAc;QAC3B;;;;WAIG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KAC3B;IACD,UAAiB,kBAAkB;QAC/B;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KAC3B;CACF"}
@@ -603,6 +603,28 @@ class Axis {
603
603
  const response = gateway.callSync('device/prepare_command', request, requests.StringResponse.fromBinary);
604
604
  return response.value;
605
605
  }
606
+ /**
607
+ * Retrieves unit conversion descriptors for a command, allowing unit conversion without a device.
608
+ * The descriptors can be used with the ConvertTo/FromNativeUnits methods of the UnitTable class.
609
+ * Parameters in the command template are denoted by a question mark.
610
+ * For more information refer to: [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_commands).
611
+ * @param commandTemplate Template of the command. Parameters are denoted by question marks.
612
+ * @returns Unit conversion descriptor for each parameter in the command. Nil if a parameter does not have conversion.
613
+ */
614
+ getCommandUnitConversionDescriptors(commandTemplate) {
615
+ const request = {
616
+ ...requests.PrepareCommandRequest.DEFAULT,
617
+ interfaceId: this.device.connection.interfaceId,
618
+ device: this.device.deviceAddress,
619
+ axis: this.axisNumber,
620
+ commandTemplate: commandTemplate,
621
+ toBinary() {
622
+ return requests.PrepareCommandRequest.toBinary(this);
623
+ },
624
+ };
625
+ const response = gateway.callSync('device/get_command_unit_conversion', request, requests.GetCommandUnitConversionResponse.fromBinary);
626
+ return response.value;
627
+ }
606
628
  /**
607
629
  * Sets the user-assigned peripheral label.
608
630
  * The label is stored on the controller and recognized by other software.