@zaber/motion 9.0.1 → 9.1.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 (189) hide show
  1. package/LICENSE +2 -81
  2. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  3. package/dist/lib/ascii/setting_constants.d.ts +12 -0
  4. package/dist/lib/ascii/setting_constants.d.ts.map +1 -1
  5. package/dist/lib/ascii/setting_constants.js +12 -0
  6. package/dist/lib/ascii/setting_constants.js.map +1 -1
  7. package/dist/lib/ascii/simple_tuning.d.ts +4 -0
  8. package/dist/lib/ascii/simple_tuning.d.ts.map +1 -1
  9. package/dist/lib/ascii/simple_tuning.js +5 -1
  10. package/dist/lib/ascii/simple_tuning.js.map +1 -1
  11. package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.d.ts → ge_1_x_gripper_movement_failed_exception.d.ts} +2 -2
  12. package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.d.ts.map +1 -0
  13. package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.js → ge_1_x_gripper_movement_failed_exception.js} +5 -5
  14. package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.js.map +1 -0
  15. package/dist/lib/exceptions/index.d.ts +1 -1
  16. package/dist/lib/exceptions/index.d.ts.map +1 -1
  17. package/dist/lib/exceptions/index.js +1 -1
  18. package/dist/lib/exceptions/index.js.map +1 -1
  19. package/dist/lib/gateway/constants.js +1 -1
  20. package/dist/lib/gateway/constants.js.map +1 -1
  21. package/dist/lib/gateway/convert_exceptions.js +1 -1
  22. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  23. package/dist/lib/product/{ge_1_gripper.d.ts → ge_1_x_gripper.d.ts} +24 -24
  24. package/dist/lib/product/ge_1_x_gripper.d.ts.map +1 -0
  25. package/dist/lib/product/{ge_1_gripper.js → ge_1_x_gripper.js} +99 -99
  26. package/dist/lib/product/ge_1_x_gripper.js.map +1 -0
  27. package/dist/lib/product/{ge_1_gripper_direction.d.ts → ge_1_x_gripper_direction.d.ts} +4 -4
  28. package/dist/lib/product/ge_1_x_gripper_direction.d.ts.map +1 -0
  29. package/dist/lib/product/ge_1_x_gripper_direction.js +24 -0
  30. package/dist/lib/product/ge_1_x_gripper_direction.js.map +1 -0
  31. package/dist/lib/product/{ge_1_gripper_error.d.ts → ge_1_x_gripper_error.d.ts} +4 -4
  32. package/dist/lib/product/ge_1_x_gripper_error.d.ts.map +1 -0
  33. package/dist/lib/product/ge_1_x_gripper_error.js +46 -0
  34. package/dist/lib/product/ge_1_x_gripper_error.js.map +1 -0
  35. package/dist/lib/product/{ge_1_gripper_state.d.ts → ge_1_x_gripper_state.d.ts} +4 -4
  36. package/dist/lib/product/ge_1_x_gripper_state.d.ts.map +1 -0
  37. package/dist/lib/product/ge_1_x_gripper_state.js +32 -0
  38. package/dist/lib/product/ge_1_x_gripper_state.js.map +1 -0
  39. package/dist/lib/product/index.d.ts +4 -4
  40. package/dist/lib/product/index.d.ts.map +1 -1
  41. package/dist/lib/product/index.js +4 -4
  42. package/dist/lib/product/index.js.map +1 -1
  43. package/dist/lib/requests/errors.d.ts +2 -2
  44. package/dist/lib/requests/errors.d.ts.map +1 -1
  45. package/dist/lib/requests/errors.js +2 -2
  46. package/dist/lib/requests/errors.js.map +1 -1
  47. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts +15 -0
  48. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts.map +1 -0
  49. package/dist/lib/requests/{ge_1_gripper_activate_preset_request.js → ge_1_x_gripper_activate_preset_request.js} +7 -7
  50. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.js.map +1 -0
  51. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts +14 -0
  52. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts.map +1 -0
  53. package/dist/lib/requests/{ge_1_gripper_calibrate_request.js → ge_1_x_gripper_calibrate_request.js} +7 -7
  54. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js.map +1 -0
  55. package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts +13 -0
  56. package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts.map +1 -0
  57. package/dist/lib/requests/{ge_1_gripper_empty_request.js → ge_1_x_gripper_empty_request.js} +7 -7
  58. package/dist/lib/requests/ge_1_x_gripper_empty_request.js.map +1 -0
  59. package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts +14 -0
  60. package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts.map +1 -0
  61. package/dist/lib/requests/ge_1_x_gripper_get_error_response.js +36 -0
  62. package/dist/lib/requests/ge_1_x_gripper_get_error_response.js.map +1 -0
  63. package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts +14 -0
  64. package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts.map +1 -0
  65. package/dist/lib/requests/ge_1_x_gripper_get_state_response.js +36 -0
  66. package/dist/lib/requests/ge_1_x_gripper_get_state_response.js.map +1 -0
  67. package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts +15 -0
  68. package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts.map +1 -0
  69. package/dist/lib/requests/{ge_1_gripper_move_request.js → ge_1_x_gripper_move_request.js} +7 -7
  70. package/dist/lib/requests/ge_1_x_gripper_move_request.js.map +1 -0
  71. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts +15 -0
  72. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts.map +1 -0
  73. package/dist/lib/requests/{ge_1_gripper_open_connection_request.js → ge_1_x_gripper_open_connection_request.js} +7 -7
  74. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.js.map +1 -0
  75. package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts +14 -0
  76. package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts.map +1 -0
  77. package/dist/lib/requests/{ge_1_gripper_read_register_request.js → ge_1_x_gripper_read_register_request.js} +7 -7
  78. package/dist/lib/requests/ge_1_x_gripper_read_register_request.js.map +1 -0
  79. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts +15 -0
  80. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts.map +1 -0
  81. package/dist/lib/requests/{ge_1_gripper_set_io_enabled_request.js → ge_1_x_gripper_set_auto_home_request.js} +7 -7
  82. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.js.map +1 -0
  83. package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts +14 -0
  84. package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts.map +1 -0
  85. package/dist/lib/requests/{ge_1_gripper_set_force_request.js → ge_1_x_gripper_set_force_request.js} +7 -7
  86. package/dist/lib/requests/ge_1_x_gripper_set_force_request.js.map +1 -0
  87. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts +16 -0
  88. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts.map +1 -0
  89. package/dist/lib/requests/{ge_1_gripper_set_home_direction_request.js → ge_1_x_gripper_set_home_direction_request.js} +10 -10
  90. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.js.map +1 -0
  91. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts +15 -0
  92. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts.map +1 -0
  93. package/dist/lib/requests/{ge_1_gripper_set_auto_home_request.js → ge_1_x_gripper_set_io_enabled_request.js} +7 -7
  94. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.js.map +1 -0
  95. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts +15 -0
  96. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts.map +1 -0
  97. package/dist/lib/requests/{ge_1_gripper_set_io_input_filter_request.js → ge_1_x_gripper_set_io_input_filter_request.js} +7 -7
  98. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.js.map +1 -0
  99. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts +18 -0
  100. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts.map +1 -0
  101. package/dist/lib/requests/{ge_1_gripper_set_preset_request.js → ge_1_x_gripper_set_preset_request.js} +7 -7
  102. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.js.map +1 -0
  103. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts +14 -0
  104. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts.map +1 -0
  105. package/dist/lib/requests/{ge_1_gripper_set_speed_request.js → ge_1_x_gripper_set_speed_request.js} +7 -7
  106. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.js.map +1 -0
  107. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts +14 -0
  108. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts.map +1 -0
  109. package/dist/lib/requests/{ge_1_gripper_wait_until_idle_request.js → ge_1_x_gripper_wait_until_idle_request.js} +7 -7
  110. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.js.map +1 -0
  111. package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts +15 -0
  112. package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts.map +1 -0
  113. package/dist/lib/requests/{ge_1_gripper_write_register_request.js → ge_1_x_gripper_write_register_request.js} +7 -7
  114. package/dist/lib/requests/ge_1_x_gripper_write_register_request.js.map +1 -0
  115. package/dist/lib/requests/index.d.ts +17 -17
  116. package/dist/lib/requests/index.d.ts.map +1 -1
  117. package/dist/lib/requests/index.js +17 -17
  118. package/dist/lib/requests/index.js.map +1 -1
  119. package/dist/lib/requests/test_request_complex.d.ts +2 -0
  120. package/dist/lib/requests/test_request_complex.d.ts.map +1 -1
  121. package/dist/lib/requests/test_request_complex.js +13 -2
  122. package/dist/lib/requests/test_request_complex.js.map +1 -1
  123. package/package.json +1 -1
  124. package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.d.ts.map +0 -1
  125. package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.js.map +0 -1
  126. package/dist/lib/product/ge_1_gripper.d.ts.map +0 -1
  127. package/dist/lib/product/ge_1_gripper.js.map +0 -1
  128. package/dist/lib/product/ge_1_gripper_direction.d.ts.map +0 -1
  129. package/dist/lib/product/ge_1_gripper_direction.js +0 -24
  130. package/dist/lib/product/ge_1_gripper_direction.js.map +0 -1
  131. package/dist/lib/product/ge_1_gripper_error.d.ts.map +0 -1
  132. package/dist/lib/product/ge_1_gripper_error.js +0 -46
  133. package/dist/lib/product/ge_1_gripper_error.js.map +0 -1
  134. package/dist/lib/product/ge_1_gripper_state.d.ts.map +0 -1
  135. package/dist/lib/product/ge_1_gripper_state.js +0 -32
  136. package/dist/lib/product/ge_1_gripper_state.js.map +0 -1
  137. package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts +0 -15
  138. package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts.map +0 -1
  139. package/dist/lib/requests/ge_1_gripper_activate_preset_request.js.map +0 -1
  140. package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts +0 -14
  141. package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts.map +0 -1
  142. package/dist/lib/requests/ge_1_gripper_calibrate_request.js.map +0 -1
  143. package/dist/lib/requests/ge_1_gripper_empty_request.d.ts +0 -13
  144. package/dist/lib/requests/ge_1_gripper_empty_request.d.ts.map +0 -1
  145. package/dist/lib/requests/ge_1_gripper_empty_request.js.map +0 -1
  146. package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts +0 -14
  147. package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts.map +0 -1
  148. package/dist/lib/requests/ge_1_gripper_get_error_response.js +0 -36
  149. package/dist/lib/requests/ge_1_gripper_get_error_response.js.map +0 -1
  150. package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts +0 -14
  151. package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts.map +0 -1
  152. package/dist/lib/requests/ge_1_gripper_get_state_response.js +0 -36
  153. package/dist/lib/requests/ge_1_gripper_get_state_response.js.map +0 -1
  154. package/dist/lib/requests/ge_1_gripper_move_request.d.ts +0 -15
  155. package/dist/lib/requests/ge_1_gripper_move_request.d.ts.map +0 -1
  156. package/dist/lib/requests/ge_1_gripper_move_request.js.map +0 -1
  157. package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts +0 -15
  158. package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts.map +0 -1
  159. package/dist/lib/requests/ge_1_gripper_open_connection_request.js.map +0 -1
  160. package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts +0 -14
  161. package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts.map +0 -1
  162. package/dist/lib/requests/ge_1_gripper_read_register_request.js.map +0 -1
  163. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts +0 -15
  164. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts.map +0 -1
  165. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.js.map +0 -1
  166. package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts +0 -14
  167. package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts.map +0 -1
  168. package/dist/lib/requests/ge_1_gripper_set_force_request.js.map +0 -1
  169. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts +0 -16
  170. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts.map +0 -1
  171. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.js.map +0 -1
  172. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts +0 -15
  173. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts.map +0 -1
  174. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.js.map +0 -1
  175. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts +0 -15
  176. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts.map +0 -1
  177. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.js.map +0 -1
  178. package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts +0 -18
  179. package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts.map +0 -1
  180. package/dist/lib/requests/ge_1_gripper_set_preset_request.js.map +0 -1
  181. package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts +0 -14
  182. package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts.map +0 -1
  183. package/dist/lib/requests/ge_1_gripper_set_speed_request.js.map +0 -1
  184. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts +0 -14
  185. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts.map +0 -1
  186. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.js.map +0 -1
  187. package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts +0 -15
  188. package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts.map +0 -1
  189. package/dist/lib/requests/ge_1_gripper_write_register_request.js.map +0 -1
@@ -42,7 +42,7 @@ __exportStar(require("./g_code_execution_exception"), exports);
42
42
  __exportStar(require("./g_code_execution_exception_data"), exports);
43
43
  __exportStar(require("./g_code_syntax_exception"), exports);
44
44
  __exportStar(require("./g_code_syntax_exception_data"), exports);
45
- __exportStar(require("./ge_1_gripper_movement_failed_exception"), exports);
45
+ __exportStar(require("./ge_1_x_gripper_movement_failed_exception"), exports);
46
46
  __exportStar(require("./incompatible_shared_library_exception"), exports);
47
47
  __exportStar(require("./internal_error_exception"), exports);
48
48
  __exportStar(require("./invalid_argument_exception"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exceptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,0DAAwC;AACxC,uDAAqC;AACrC,oEAAkD;AAClD,yEAAuD;AACvD,6DAA2C;AAC3C,kEAAgD;AAChD,gEAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAClD,gEAA8C;AAC9C,gEAA8C;AAC9C,gEAA8C;AAC9C,sEAAoD;AACpD,2EAAyD;AACzD,0DAAwC;AACxC,+DAA6C;AAC7C,oEAAkD;AAClD,0DAAwC;AACxC,sEAAoD;AACpD,4DAA0C;AAC1C,oEAAkD;AAClD,8DAA4C;AAC5C,+DAA6C;AAC7C,oEAAkD;AAClD,4DAA0C;AAC1C,iEAA+C;AAC/C,2EAAyD;AACzD,0EAAwD;AACxD,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,2DAAyC;AACzC,gEAA8C;AAC9C,6DAA2C;AAC3C,kEAAgD;AAChD,iEAA+C;AAC/C,sDAAoC;AACpC,mEAAiD;AACjD,+DAA6C;AAC7C,oEAAkD;AAClD,sEAAoD;AACpD,wDAAsC;AACtC,+DAA6C;AAC7C,mEAAiD;AACjD,yDAAuC;AACvC,8DAA4C;AAC5C,mEAAiD;AACjD,mEAAiD;AACjD,wEAAsD;AACtD,8DAA4C;AAC5C,+DAA6C;AAC7C,4DAA0C;AAC1C,+DAA6C;AAC7C,oEAAkD;AAClD,wDAAsC;AACtC,iEAA+C;AAC/C,gEAA8C;AAC9C,4DAA0C;AAC1C,iEAA+C;AAC/C,uDAAqC;AACrC,kEAAgD;AAChD,uEAAqD;AACrD,uEAAqD;AACrD,4EAA0D;AAC1D,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,oEAAkD;AAClD,sEAAoD;AACpD,wEAAsD;AACtD,0EAAwD;AACxD,mEAAiD;AACjD,+DAA6C;AAC7C,oEAAkD;AAClD,0DAAwC;AACxC,qEAAmD;AACnD,0EAAwD;AACxD,0EAAwD;AACxD,+EAA6D;AAC7D,kEAAgD;AAChD,sDAAoC;AACpC,qEAAmD;AACnD,8DAA4C","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport * from './bad_command_exception';\nexport * from './bad_data_exception';\nexport * from './binary_command_failed_exception';\nexport * from './binary_command_failed_exception_data';\nexport * from './command_failed_exception';\nexport * from './command_failed_exception_data';\nexport * from './command_preempted_exception';\nexport * from './command_too_long_exception';\nexport * from './command_too_long_exception_data';\nexport * from './connection_closed_exception';\nexport * from './connection_failed_exception';\nexport * from './conversion_failed_exception';\nexport * from './device_address_conflict_exception';\nexport * from './device_address_conflict_exception_data';\nexport * from './device_busy_exception';\nexport * from './device_db_failed_exception';\nexport * from './device_db_failed_exception_data';\nexport * from './device_db_inner_error';\nexport * from './device_detection_failed_exception';\nexport * from './device_failed_exception';\nexport * from './device_not_identified_exception';\nexport * from './driver_disabled_exception';\nexport * from './g_code_execution_exception';\nexport * from './g_code_execution_exception_data';\nexport * from './g_code_syntax_exception';\nexport * from './g_code_syntax_exception_data';\nexport * from './ge_1_gripper_movement_failed_exception';\nexport * from './incompatible_shared_library_exception';\nexport * from './internal_error_exception';\nexport * from './invalid_argument_exception';\nexport * from './invalid_csv_data_exception';\nexport * from './invalid_data_exception';\nexport * from './invalid_operation_exception';\nexport * from './invalid_packet_exception';\nexport * from './invalid_packet_exception_data';\nexport * from './invalid_park_state_exception';\nexport * from './invalid_pvt_point';\nexport * from './invalid_request_data_exception';\nexport * from './invalid_response_exception';\nexport * from './invalid_response_exception_data';\nexport * from './io_channel_out_of_range_exception';\nexport * from './io_failed_exception';\nexport * from './lockstep_enabled_exception';\nexport * from './lockstep_not_enabled_exception';\nexport * from './motion_lib_exception';\nexport * from './movement_failed_exception';\nexport * from './movement_failed_exception_data';\nexport * from './movement_interrupted_exception';\nexport * from './movement_interrupted_exception_data';\nexport * from './no_device_found_exception';\nexport * from './no_value_for_key_exception';\nexport * from './not_supported_exception';\nexport * from './operation_failed_exception';\nexport * from './operation_failed_exception_data';\nexport * from './os_failed_exception';\nexport * from './out_of_request_ids_exception';\nexport * from './pvt_discontinuity_exception';\nexport * from './pvt_execution_exception';\nexport * from './pvt_execution_exception_data';\nexport * from './pvt_mode_exception';\nexport * from './pvt_movement_failed_exception';\nexport * from './pvt_movement_failed_exception_data';\nexport * from './pvt_movement_interrupted_exception';\nexport * from './pvt_movement_interrupted_exception_data';\nexport * from './pvt_sequence_generation_failed_exception';\nexport * from './pvt_setup_failed_exception';\nexport * from './remote_mode_exception';\nexport * from './request_timeout_exception';\nexport * from './serial_port_busy_exception';\nexport * from './set_device_state_exception_data';\nexport * from './set_device_state_failed_exception';\nexport * from './set_peripheral_state_exception_data';\nexport * from './set_peripheral_state_failed_exception';\nexport * from './stream_discontinuity_exception';\nexport * from './stream_execution_exception';\nexport * from './stream_execution_exception_data';\nexport * from './stream_mode_exception';\nexport * from './stream_movement_failed_exception';\nexport * from './stream_movement_failed_exception_data';\nexport * from './stream_movement_interrupted_exception';\nexport * from './stream_movement_interrupted_exception_data';\nexport * from './stream_setup_failed_exception';\nexport * from './timeout_exception';\nexport * from './transport_already_used_exception';\nexport * from './unknown_request_exception';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exceptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,0DAAwC;AACxC,uDAAqC;AACrC,oEAAkD;AAClD,yEAAuD;AACvD,6DAA2C;AAC3C,kEAAgD;AAChD,gEAA8C;AAC9C,+DAA6C;AAC7C,oEAAkD;AAClD,gEAA8C;AAC9C,gEAA8C;AAC9C,gEAA8C;AAC9C,sEAAoD;AACpD,2EAAyD;AACzD,0DAAwC;AACxC,+DAA6C;AAC7C,oEAAkD;AAClD,0DAAwC;AACxC,sEAAoD;AACpD,4DAA0C;AAC1C,oEAAkD;AAClD,8DAA4C;AAC5C,+DAA6C;AAC7C,oEAAkD;AAClD,4DAA0C;AAC1C,iEAA+C;AAC/C,6EAA2D;AAC3D,0EAAwD;AACxD,6DAA2C;AAC3C,+DAA6C;AAC7C,+DAA6C;AAC7C,2DAAyC;AACzC,gEAA8C;AAC9C,6DAA2C;AAC3C,kEAAgD;AAChD,iEAA+C;AAC/C,sDAAoC;AACpC,mEAAiD;AACjD,+DAA6C;AAC7C,oEAAkD;AAClD,sEAAoD;AACpD,wDAAsC;AACtC,+DAA6C;AAC7C,mEAAiD;AACjD,yDAAuC;AACvC,8DAA4C;AAC5C,mEAAiD;AACjD,mEAAiD;AACjD,wEAAsD;AACtD,8DAA4C;AAC5C,+DAA6C;AAC7C,4DAA0C;AAC1C,+DAA6C;AAC7C,oEAAkD;AAClD,wDAAsC;AACtC,iEAA+C;AAC/C,gEAA8C;AAC9C,4DAA0C;AAC1C,iEAA+C;AAC/C,uDAAqC;AACrC,kEAAgD;AAChD,uEAAqD;AACrD,uEAAqD;AACrD,4EAA0D;AAC1D,6EAA2D;AAC3D,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,oEAAkD;AAClD,sEAAoD;AACpD,wEAAsD;AACtD,0EAAwD;AACxD,mEAAiD;AACjD,+DAA6C;AAC7C,oEAAkD;AAClD,0DAAwC;AACxC,qEAAmD;AACnD,0EAAwD;AACxD,0EAAwD;AACxD,+EAA6D;AAC7D,kEAAgD;AAChD,sDAAoC;AACpC,qEAAmD;AACnD,8DAA4C","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport * from './bad_command_exception';\nexport * from './bad_data_exception';\nexport * from './binary_command_failed_exception';\nexport * from './binary_command_failed_exception_data';\nexport * from './command_failed_exception';\nexport * from './command_failed_exception_data';\nexport * from './command_preempted_exception';\nexport * from './command_too_long_exception';\nexport * from './command_too_long_exception_data';\nexport * from './connection_closed_exception';\nexport * from './connection_failed_exception';\nexport * from './conversion_failed_exception';\nexport * from './device_address_conflict_exception';\nexport * from './device_address_conflict_exception_data';\nexport * from './device_busy_exception';\nexport * from './device_db_failed_exception';\nexport * from './device_db_failed_exception_data';\nexport * from './device_db_inner_error';\nexport * from './device_detection_failed_exception';\nexport * from './device_failed_exception';\nexport * from './device_not_identified_exception';\nexport * from './driver_disabled_exception';\nexport * from './g_code_execution_exception';\nexport * from './g_code_execution_exception_data';\nexport * from './g_code_syntax_exception';\nexport * from './g_code_syntax_exception_data';\nexport * from './ge_1_x_gripper_movement_failed_exception';\nexport * from './incompatible_shared_library_exception';\nexport * from './internal_error_exception';\nexport * from './invalid_argument_exception';\nexport * from './invalid_csv_data_exception';\nexport * from './invalid_data_exception';\nexport * from './invalid_operation_exception';\nexport * from './invalid_packet_exception';\nexport * from './invalid_packet_exception_data';\nexport * from './invalid_park_state_exception';\nexport * from './invalid_pvt_point';\nexport * from './invalid_request_data_exception';\nexport * from './invalid_response_exception';\nexport * from './invalid_response_exception_data';\nexport * from './io_channel_out_of_range_exception';\nexport * from './io_failed_exception';\nexport * from './lockstep_enabled_exception';\nexport * from './lockstep_not_enabled_exception';\nexport * from './motion_lib_exception';\nexport * from './movement_failed_exception';\nexport * from './movement_failed_exception_data';\nexport * from './movement_interrupted_exception';\nexport * from './movement_interrupted_exception_data';\nexport * from './no_device_found_exception';\nexport * from './no_value_for_key_exception';\nexport * from './not_supported_exception';\nexport * from './operation_failed_exception';\nexport * from './operation_failed_exception_data';\nexport * from './os_failed_exception';\nexport * from './out_of_request_ids_exception';\nexport * from './pvt_discontinuity_exception';\nexport * from './pvt_execution_exception';\nexport * from './pvt_execution_exception_data';\nexport * from './pvt_mode_exception';\nexport * from './pvt_movement_failed_exception';\nexport * from './pvt_movement_failed_exception_data';\nexport * from './pvt_movement_interrupted_exception';\nexport * from './pvt_movement_interrupted_exception_data';\nexport * from './pvt_sequence_generation_failed_exception';\nexport * from './pvt_setup_failed_exception';\nexport * from './remote_mode_exception';\nexport * from './request_timeout_exception';\nexport * from './serial_port_busy_exception';\nexport * from './set_device_state_exception_data';\nexport * from './set_device_state_failed_exception';\nexport * from './set_peripheral_state_exception_data';\nexport * from './set_peripheral_state_failed_exception';\nexport * from './stream_discontinuity_exception';\nexport * from './stream_execution_exception';\nexport * from './stream_execution_exception_data';\nexport * from './stream_mode_exception';\nexport * from './stream_movement_failed_exception';\nexport * from './stream_movement_failed_exception_data';\nexport * from './stream_movement_interrupted_exception';\nexport * from './stream_movement_interrupted_exception_data';\nexport * from './stream_setup_failed_exception';\nexport * from './timeout_exception';\nexport * from './transport_already_used_exception';\nexport * from './unknown_request_exception';\n"]}
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Constants = void 0;
4
4
  // The version string is updated automatically with `npx gulp set_version`. Do not edit manually.
5
5
  exports.Constants = {
6
- version: '9.0.1',
6
+ version: '9.1.0',
7
7
  };
8
8
  //# sourceMappingURL=constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/gateway/constants.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACpF,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,OAAO;CACjB,CAAC","sourcesContent":["// The version string is updated automatically with `npx gulp set_version`. Do not edit manually.\nexport const Constants = {\n version: '9.0.1',\n};\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/gateway/constants.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACpF,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,OAAO;CACjB,CAAC","sourcesContent":["// The version string is updated automatically with `npx gulp set_version`. Do not edit manually.\nexport const Constants = {\n version: '9.1.0',\n};\n"]}
@@ -47,7 +47,7 @@ errorMapping.set(errors_1.Errors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIden
47
47
  errorMapping.set(errors_1.Errors.DRIVER_DISABLED, exceptions.DriverDisabledException);
48
48
  errorMapping.set(errors_1.Errors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);
49
49
  errorMapping.set(errors_1.Errors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);
50
- errorMapping.set(errors_1.Errors.GE_1_GRIPPER_MOVEMENT_FAILED, exceptions.Ge1GripperMovementFailedException);
50
+ errorMapping.set(errors_1.Errors.GE_1_X_GRIPPER_MOVEMENT_FAILED, exceptions.Ge1xGripperMovementFailedException);
51
51
  errorMapping.set(errors_1.Errors.INCOMPATIBLE_SHARED_LIBRARY, exceptions.IncompatibleSharedLibraryException);
52
52
  errorMapping.set(errors_1.Errors.INTERNAL_ERROR, exceptions.InternalErrorException);
53
53
  errorMapping.set(errors_1.Errors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);
@@ -1 +1 @@
1
- {"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,+CAAwD;AACxD,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAA4F,CAAC;AACzH,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACjE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAChF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,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E,UAAuB;IAC1F,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport { Errors as PbErrors } from '../requests/errors';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Uint8Array) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BAD_COMMAND, exceptions.BadCommandException);\nerrorMapping.set(PbErrors.BAD_DATA, exceptions.BadDataException);\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_DETECTION_FAILED, exceptions.DeviceDetectionFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.DRIVER_DISABLED, exceptions.DriverDisabledException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.GE_1_GRIPPER_MOVEMENT_FAILED, exceptions.Ge1GripperMovementFailedException);\nerrorMapping.set(PbErrors.INCOMPATIBLE_SHARED_LIBRARY, exceptions.IncompatibleSharedLibraryException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_CSV_DATA, exceptions.InvalidCsvDataException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_REQUEST_DATA, exceptions.InvalidRequestDataException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OPERATION_FAILED, exceptions.OperationFailedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.PVT_DISCONTINUITY, exceptions.PvtDiscontinuityException);\nerrorMapping.set(PbErrors.PVT_EXECUTION, exceptions.PvtExecutionException);\nerrorMapping.set(PbErrors.PVT_MODE, exceptions.PvtModeException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_FAILED, exceptions.PvtMovementFailedException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_INTERRUPTED, exceptions.PvtMovementInterruptedException);\nerrorMapping.set(PbErrors.PVT_SEQUENCE_GENERATION_FAILED, exceptions.PvtSequenceGenerationFailedException);\nerrorMapping.set(PbErrors.PVT_SETUP_FAILED, exceptions.PvtSetupFailedException);\nerrorMapping.set(PbErrors.REMOTE_MODE, exceptions.RemoteModeException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.STREAM_DISCONTINUITY, exceptions.StreamDiscontinuityException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TIMEOUT, exceptions.TimeoutException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Uint8Array): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
1
+ {"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,+CAAwD;AACxD,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAA4F,CAAC;AACzH,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACjE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAChF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC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AC,eAAQ,CAAC,eAAe,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAE/E,SAAgB,kBAAkB,CAAC,KAAe,EAAE,OAAe,EAAE,UAAuB;IAC1F,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport { Errors as PbErrors } from '../requests/errors';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Uint8Array) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BAD_COMMAND, exceptions.BadCommandException);\nerrorMapping.set(PbErrors.BAD_DATA, exceptions.BadDataException);\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_DETECTION_FAILED, exceptions.DeviceDetectionFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.DRIVER_DISABLED, exceptions.DriverDisabledException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.GE_1_X_GRIPPER_MOVEMENT_FAILED, exceptions.Ge1xGripperMovementFailedException);\nerrorMapping.set(PbErrors.INCOMPATIBLE_SHARED_LIBRARY, exceptions.IncompatibleSharedLibraryException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_CSV_DATA, exceptions.InvalidCsvDataException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_REQUEST_DATA, exceptions.InvalidRequestDataException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OPERATION_FAILED, exceptions.OperationFailedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.PVT_DISCONTINUITY, exceptions.PvtDiscontinuityException);\nerrorMapping.set(PbErrors.PVT_EXECUTION, exceptions.PvtExecutionException);\nerrorMapping.set(PbErrors.PVT_MODE, exceptions.PvtModeException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_FAILED, exceptions.PvtMovementFailedException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_INTERRUPTED, exceptions.PvtMovementInterruptedException);\nerrorMapping.set(PbErrors.PVT_SEQUENCE_GENERATION_FAILED, exceptions.PvtSequenceGenerationFailedException);\nerrorMapping.set(PbErrors.PVT_SETUP_FAILED, exceptions.PvtSetupFailedException);\nerrorMapping.set(PbErrors.REMOTE_MODE, exceptions.RemoteModeException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.STREAM_DISCONTINUITY, exceptions.StreamDiscontinuityException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TIMEOUT, exceptions.TimeoutException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Uint8Array): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
@@ -1,10 +1,10 @@
1
- import { Ge1GripperState } from './ge_1_gripper_state';
2
- import { Ge1GripperError } from './ge_1_gripper_error';
3
- import { Ge1GripperDirection } from './ge_1_gripper_direction';
1
+ import { Ge1xGripperState } from './ge_1_x_gripper_state';
2
+ import { Ge1xGripperError } from './ge_1_x_gripper_error';
3
+ import { Ge1xGripperDirection } from './ge_1_x_gripper_direction';
4
4
  /**
5
5
  * Class representing a gripper in the GE1x series.
6
6
  */
7
- export declare class GE1Gripper {
7
+ export declare class Ge1xGripper {
8
8
  /**
9
9
  * The default device address for a gripper in the GE1x series.
10
10
  */
@@ -18,11 +18,11 @@ export declare class GE1Gripper {
18
18
  /**
19
19
  * Opens a serial connection to a gripper.
20
20
  * @param portName The name of the serial port to connect to.
21
- * @param [options.deviceAddress=GE1Gripper.DEFAULT_DEVICE_ADDRESS] The address of the gripper to connect to.
21
+ * @param [options.deviceAddress=Ge1xGripper.DEFAULT_DEVICE_ADDRESS] The address of the gripper to connect to.
22
22
  * @param [options.timeout=500] The timeout in milliseconds for any request sent using this connection.
23
- * @returns A GE1Gripper instance representing the connection to the gripper.
23
+ * @returns A Ge1xGripper instance representing the connection to the gripper.
24
24
  */
25
- static openConnection(portName: string, options?: GE1Gripper.OpenConnectionOptions): Promise<GE1Gripper>;
25
+ static openConnection(portName: string, options?: Ge1xGripper.OpenConnectionOptions): Promise<Ge1xGripper>;
26
26
  /**
27
27
  * Closes the connection to the gripper.
28
28
  */
@@ -43,7 +43,7 @@ export declare class GE1Gripper {
43
43
  * Homes gripper by moving it to its homing position.
44
44
  * @param [options.waitUntilIdle=true] Wait until homing has completed before returning.
45
45
  */
46
- home(options?: GE1Gripper.HomeOptions): Promise<void>;
46
+ home(options?: Ge1xGripper.HomeOptions): Promise<void>;
47
47
  /**
48
48
  * Waits until the gripper has stopped moving.
49
49
  */
@@ -53,22 +53,22 @@ export declare class GE1Gripper {
53
53
  * @param position The target position for the gripper as a percentage, where 0 is closed and 100 is open.
54
54
  * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
55
55
  */
56
- move(position: number, options?: GE1Gripper.MoveOptions): Promise<void>;
56
+ move(position: number, options?: Ge1xGripper.MoveOptions): Promise<void>;
57
57
  /**
58
58
  * Moves the gripper to the open position.
59
59
  * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
60
60
  */
61
- moveOpen(options?: GE1Gripper.MoveOpenOptions): Promise<void>;
61
+ moveOpen(options?: Ge1xGripper.MoveOpenOptions): Promise<void>;
62
62
  /**
63
63
  * Moves the gripper to the closed position.
64
64
  * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
65
65
  */
66
- moveClose(options?: GE1Gripper.MoveCloseOptions): Promise<void>;
66
+ moveClose(options?: Ge1xGripper.MoveCloseOptions): Promise<void>;
67
67
  /**
68
68
  * Stops the gripper from moving.
69
69
  * @param [options.waitUntilIdle=true] Wait until the gripper has stopped before returning.
70
70
  */
71
- stop(options?: GE1Gripper.StopOptions): Promise<void>;
71
+ stop(options?: Ge1xGripper.StopOptions): Promise<void>;
72
72
  /**
73
73
  * Sets the gripping force of the gripper.
74
74
  * @param force The gripping force as a percentage from 20 to 100.
@@ -91,17 +91,17 @@ export declare class GE1Gripper {
91
91
  * Performs a calibration of the travel range by moving to the fully open and fully closed positions.
92
92
  * @param [options.saveToFlash=true] Save the calibration results to flash memory so they are retained on power cycle.
93
93
  */
94
- calibrate(options?: GE1Gripper.CalibrateOptions): Promise<void>;
94
+ calibrate(options?: Ge1xGripper.CalibrateOptions): Promise<void>;
95
95
  /**
96
96
  * Gets the current state of the gripper.
97
97
  * @returns The current state of the gripper.
98
98
  */
99
- getState(): Promise<Ge1GripperState>;
99
+ getState(): Promise<Ge1xGripperState>;
100
100
  /**
101
101
  * Gets the current error of the gripper.
102
102
  * @returns The current error of the gripper.
103
103
  */
104
- getError(): Promise<Ge1GripperError>;
104
+ getError(): Promise<Ge1xGripperError>;
105
105
  /**
106
106
  * Clears the current error of the gripper.
107
107
  */
@@ -126,25 +126,25 @@ export declare class GE1Gripper {
126
126
  * @param direction The home direction to set.
127
127
  * @param [options.saveToFlash=true] Save the home direction setting to flash memory so it is retained on power cycle.
128
128
  */
129
- setHomeDirection(direction: Ge1GripperDirection, options?: GE1Gripper.SetHomeDirectionOptions): Promise<void>;
129
+ setHomeDirection(direction: Ge1xGripperDirection, options?: Ge1xGripper.SetHomeDirectionOptions): Promise<void>;
130
130
  /**
131
131
  * Enables or disables automatic homing on power up.
132
132
  * @param enabled True to enable automatic homing on power up, false to disable.
133
133
  * @param [options.saveToFlash=true] Save the auto home setting to flash memory so it is retained on power cycle.
134
134
  */
135
- setAutoHome(enabled: boolean, options?: GE1Gripper.SetAutoHomeOptions): Promise<void>;
135
+ setAutoHome(enabled: boolean, options?: Ge1xGripper.SetAutoHomeOptions): Promise<void>;
136
136
  /**
137
137
  * Enables or disables IO control for the gripper.
138
138
  * @param enabled True to enable IO control, false to disable.
139
139
  * @param [options.saveToFlash=true] Save the IO enabled setting to flash memory so it is retained on power cycle.
140
140
  */
141
- setIoEnabled(enabled: boolean, options?: GE1Gripper.SetIoEnabledOptions): Promise<void>;
141
+ setIoEnabled(enabled: boolean, options?: Ge1xGripper.SetIoEnabledOptions): Promise<void>;
142
142
  /**
143
143
  * Sets the debounce filter time for the gripper IO input to suppress noise.
144
144
  * @param duration The IO input filter time in milliseconds.
145
145
  * @param [options.saveToFlash=true] Save the IO input filter setting to flash memory so it is retained on power cycle.
146
146
  */
147
- setIoInputFilter(duration: number, options?: GE1Gripper.SetIoInputFilterOptions): Promise<void>;
147
+ setIoInputFilter(duration: number, options?: Ge1xGripper.SetIoInputFilterOptions): Promise<void>;
148
148
  /**
149
149
  * Saves a position, force, and speed as a preset.
150
150
  * @param presetNumber The preset number to save the preset to, from 1 to 4.
@@ -153,13 +153,13 @@ export declare class GE1Gripper {
153
153
  * @param [options.speed=100] The maximum speed for the preset as a percentage from 1 to 100.
154
154
  * @param [options.saveToFlash=true] Save the preset to flash memory so it is retained on power cycle.
155
155
  */
156
- setPreset(presetNumber: number, position: number, options?: GE1Gripper.SetPresetOptions): Promise<void>;
156
+ setPreset(presetNumber: number, position: number, options?: Ge1xGripper.SetPresetOptions): Promise<void>;
157
157
  /**
158
158
  * Activates a preset, causing the gripper to move to the preset position using the preset force and speed.
159
159
  * @param presetNumber The preset number to activate, from 1 to 4.
160
160
  * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
161
161
  */
162
- activatePreset(presetNumber: number, options?: GE1Gripper.ActivatePresetOptions): Promise<void>;
162
+ activatePreset(presetNumber: number, options?: Ge1xGripper.ActivatePresetOptions): Promise<void>;
163
163
  /**
164
164
  * Gets the preset number currently activated by the gripper IO input.
165
165
  * @returns The current preset number activated by the gripper IO input.
@@ -171,13 +171,13 @@ export declare class GE1Gripper {
171
171
  */
172
172
  private static _free;
173
173
  /**
174
- * Releases the native resources of the ge 1 gripper.
174
+ * Releases the native resources of the ge 1 x gripper.
175
175
  * Should only be called if your environment does not support FinalizationRegistry.
176
176
  * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
177
177
  */
178
178
  free(): void;
179
179
  }
180
- declare namespace GE1Gripper {
180
+ declare namespace Ge1xGripper {
181
181
  interface OpenConnectionOptions {
182
182
  /**
183
183
  * The address of the gripper to connect to.
@@ -270,4 +270,4 @@ declare namespace GE1Gripper {
270
270
  }
271
271
  }
272
272
  export {};
273
- //# sourceMappingURL=ge_1_gripper.d.ts.map
273
+ //# sourceMappingURL=ge_1_x_gripper.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ge_1_x_gripper.d.ts","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE;;GAEG;AACH,qBAAa,WAAW;IACtB;;OAEG;IACH,gBAAuB,sBAAsB,EAAE,MAAM,CAAK;IAE1D;;OAEG;IACH,IAAW,YAAY,IAAI,MAAM,CAEhC;IACD,OAAO,CAAC,aAAa,CAAS;gBAElB,YAAY,EAAE,MAAM;IAKhC;;;;;;OAMG;WACiB,cAAc,CAChC,QAAQ,EAAE,MAAM,EAChB,OAAO,GAAE,WAAW,CAAC,qBAA0B,GAC9C,OAAO,CAAC,WAAW,CAAC;IAsBvB;;OAEG;IACU,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAYnC;;;;OAIG;IACU,YAAY,CACvB,eAAe,EAAE,MAAM,GACtB,OAAO,CAAC,MAAM,CAAC;IAiBlB;;;;OAIG;IACU,aAAa,CACxB,eAAe,EAAE,MAAM,EACvB,IAAI,EAAE,MAAM,GACX,OAAO,CAAC,IAAI,CAAC;IAchB;;;OAGG;IACU,IAAI,CACf,OAAO,GAAE,WAAW,CAAC,WAAgB,GACpC,OAAO,CAAC,IAAI,CAAC;IAgBhB;;OAEG;IACU,aAAa,IAAI,OAAO,CAAC,IAA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