@zaber/motion 9.0.1 → 9.2.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 (288) hide show
  1. package/LICENSE +6 -6
  2. package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
  3. package/dist/lib/ascii/axis_settings.d.ts +22 -1
  4. package/dist/lib/ascii/axis_settings.d.ts.map +1 -1
  5. package/dist/lib/ascii/axis_settings.js +48 -1
  6. package/dist/lib/ascii/axis_settings.js.map +1 -1
  7. package/dist/lib/ascii/device_settings.d.ts +55 -1
  8. package/dist/lib/ascii/device_settings.d.ts.map +1 -1
  9. package/dist/lib/ascii/device_settings.js +74 -1
  10. package/dist/lib/ascii/device_settings.js.map +1 -1
  11. package/dist/lib/ascii/get_axis_setting_typed_result.d.ts +29 -0
  12. package/dist/lib/ascii/get_axis_setting_typed_result.d.ts.map +1 -0
  13. package/dist/lib/ascii/get_axis_setting_typed_result.js +52 -0
  14. package/dist/lib/ascii/get_axis_setting_typed_result.js.map +1 -0
  15. package/dist/lib/ascii/get_setting_bool_result.d.ts +23 -0
  16. package/dist/lib/ascii/get_setting_bool_result.d.ts.map +1 -0
  17. package/dist/lib/ascii/get_setting_bool_result.js +39 -0
  18. package/dist/lib/ascii/get_setting_bool_result.js.map +1 -0
  19. package/dist/lib/ascii/get_setting_int_result.d.ts +23 -0
  20. package/dist/lib/ascii/get_setting_int_result.d.ts.map +1 -0
  21. package/dist/lib/ascii/get_setting_int_result.js +39 -0
  22. package/dist/lib/ascii/get_setting_int_result.js.map +1 -0
  23. package/dist/lib/ascii/get_setting_string_result.d.ts +23 -0
  24. package/dist/lib/ascii/get_setting_string_result.d.ts.map +1 -0
  25. package/dist/lib/ascii/get_setting_string_result.js +39 -0
  26. package/dist/lib/ascii/get_setting_string_result.js.map +1 -0
  27. package/dist/lib/ascii/get_setting_typed_result.d.ts +29 -0
  28. package/dist/lib/ascii/get_setting_typed_result.d.ts.map +1 -0
  29. package/dist/lib/ascii/get_setting_typed_result.js +52 -0
  30. package/dist/lib/ascii/get_setting_typed_result.js.map +1 -0
  31. package/dist/lib/ascii/get_settings_by_type_result.d.ts +35 -0
  32. package/dist/lib/ascii/get_settings_by_type_result.d.ts.map +1 -0
  33. package/dist/lib/ascii/get_settings_by_type_result.js +50 -0
  34. package/dist/lib/ascii/get_settings_by_type_result.js.map +1 -0
  35. package/dist/lib/ascii/index.d.ts +8 -0
  36. package/dist/lib/ascii/index.d.ts.map +1 -1
  37. package/dist/lib/ascii/index.js +8 -0
  38. package/dist/lib/ascii/index.js.map +1 -1
  39. package/dist/lib/ascii/pvt_buffer.d.ts +22 -1
  40. package/dist/lib/ascii/pvt_buffer.d.ts.map +1 -1
  41. package/dist/lib/ascii/pvt_buffer.js +9 -1
  42. package/dist/lib/ascii/pvt_buffer.js.map +1 -1
  43. package/dist/lib/ascii/pvt_buffer_axis_units.d.ts +29 -0
  44. package/dist/lib/ascii/pvt_buffer_axis_units.d.ts.map +1 -0
  45. package/dist/lib/ascii/pvt_buffer_axis_units.js +44 -0
  46. package/dist/lib/ascii/pvt_buffer_axis_units.js.map +1 -0
  47. package/dist/lib/ascii/pvt_csv_data.js.map +1 -1
  48. package/dist/lib/ascii/pvt_partial_csv_data.js.map +1 -1
  49. package/dist/lib/ascii/setting_constants.d.ts +12 -0
  50. package/dist/lib/ascii/setting_constants.d.ts.map +1 -1
  51. package/dist/lib/ascii/setting_constants.js +12 -0
  52. package/dist/lib/ascii/setting_constants.js.map +1 -1
  53. package/dist/lib/ascii/simple_tuning.d.ts +4 -0
  54. package/dist/lib/ascii/simple_tuning.d.ts.map +1 -1
  55. package/dist/lib/ascii/simple_tuning.js +5 -1
  56. package/dist/lib/ascii/simple_tuning.js.map +1 -1
  57. package/dist/lib/ascii/typed_setting.d.ts +20 -0
  58. package/dist/lib/ascii/typed_setting.d.ts.map +1 -0
  59. package/dist/lib/ascii/typed_setting.js +84 -0
  60. package/dist/lib/ascii/typed_setting.js.map +1 -0
  61. package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.d.ts → ge_1_x_gripper_movement_failed_exception.d.ts} +2 -2
  62. package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.d.ts.map +1 -0
  63. package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.js → ge_1_x_gripper_movement_failed_exception.js} +5 -5
  64. package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.js.map +1 -0
  65. package/dist/lib/exceptions/index.d.ts +1 -1
  66. package/dist/lib/exceptions/index.d.ts.map +1 -1
  67. package/dist/lib/exceptions/index.js +1 -1
  68. package/dist/lib/exceptions/index.js.map +1 -1
  69. package/dist/lib/gateway/constants.js +1 -1
  70. package/dist/lib/gateway/constants.js.map +1 -1
  71. package/dist/lib/gateway/convert_exceptions.js +1 -1
  72. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  73. package/dist/lib/product/{ge_1_gripper.d.ts → ge_1_x_gripper.d.ts} +27 -25
  74. package/dist/lib/product/ge_1_x_gripper.d.ts.map +1 -0
  75. package/dist/lib/product/{ge_1_gripper.js → ge_1_x_gripper.js} +102 -100
  76. package/dist/lib/product/ge_1_x_gripper.js.map +1 -0
  77. package/dist/lib/product/{ge_1_gripper_direction.d.ts → ge_1_x_gripper_direction.d.ts} +4 -4
  78. package/dist/lib/product/ge_1_x_gripper_direction.d.ts.map +1 -0
  79. package/dist/lib/product/ge_1_x_gripper_direction.js +24 -0
  80. package/dist/lib/product/ge_1_x_gripper_direction.js.map +1 -0
  81. package/dist/lib/product/{ge_1_gripper_error.d.ts → ge_1_x_gripper_error.d.ts} +4 -4
  82. package/dist/lib/product/ge_1_x_gripper_error.d.ts.map +1 -0
  83. package/dist/lib/product/ge_1_x_gripper_error.js +46 -0
  84. package/dist/lib/product/ge_1_x_gripper_error.js.map +1 -0
  85. package/dist/lib/product/{ge_1_gripper_state.d.ts → ge_1_x_gripper_state.d.ts} +4 -4
  86. package/dist/lib/product/ge_1_x_gripper_state.d.ts.map +1 -0
  87. package/dist/lib/product/ge_1_x_gripper_state.js +32 -0
  88. package/dist/lib/product/ge_1_x_gripper_state.js.map +1 -0
  89. package/dist/lib/product/index.d.ts +4 -4
  90. package/dist/lib/product/index.d.ts.map +1 -1
  91. package/dist/lib/product/index.js +4 -4
  92. package/dist/lib/product/index.js.map +1 -1
  93. package/dist/lib/requests/device_convert_setting_request.d.ts +1 -0
  94. package/dist/lib/requests/device_convert_setting_request.d.ts.map +1 -1
  95. package/dist/lib/requests/device_convert_setting_request.js +5 -1
  96. package/dist/lib/requests/device_convert_setting_request.js.map +1 -1
  97. package/dist/lib/requests/device_get_many_by_type_request.d.ts +19 -0
  98. package/dist/lib/requests/device_get_many_by_type_request.d.ts.map +1 -0
  99. package/dist/lib/requests/device_get_many_by_type_request.js +56 -0
  100. package/dist/lib/requests/device_get_many_by_type_request.js.map +1 -0
  101. package/dist/lib/requests/errors.d.ts +2 -2
  102. package/dist/lib/requests/errors.d.ts.map +1 -1
  103. package/dist/lib/requests/errors.js +2 -2
  104. package/dist/lib/requests/errors.js.map +1 -1
  105. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts +15 -0
  106. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts.map +1 -0
  107. package/dist/lib/requests/{ge_1_gripper_activate_preset_request.js → ge_1_x_gripper_activate_preset_request.js} +7 -7
  108. package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.js.map +1 -0
  109. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts +14 -0
  110. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts.map +1 -0
  111. package/dist/lib/requests/{ge_1_gripper_calibrate_request.js → ge_1_x_gripper_calibrate_request.js} +7 -7
  112. package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js.map +1 -0
  113. package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts +13 -0
  114. package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts.map +1 -0
  115. package/dist/lib/requests/{ge_1_gripper_empty_request.js → ge_1_x_gripper_empty_request.js} +7 -7
  116. package/dist/lib/requests/ge_1_x_gripper_empty_request.js.map +1 -0
  117. package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts +14 -0
  118. package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts.map +1 -0
  119. package/dist/lib/requests/ge_1_x_gripper_get_error_response.js +36 -0
  120. package/dist/lib/requests/ge_1_x_gripper_get_error_response.js.map +1 -0
  121. package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts +14 -0
  122. package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts.map +1 -0
  123. package/dist/lib/requests/ge_1_x_gripper_get_state_response.js +36 -0
  124. package/dist/lib/requests/ge_1_x_gripper_get_state_response.js.map +1 -0
  125. package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts +15 -0
  126. package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts.map +1 -0
  127. package/dist/lib/requests/{ge_1_gripper_move_request.js → ge_1_x_gripper_move_request.js} +7 -7
  128. package/dist/lib/requests/ge_1_x_gripper_move_request.js.map +1 -0
  129. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts +15 -0
  130. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts.map +1 -0
  131. package/dist/lib/requests/{ge_1_gripper_open_connection_request.js → ge_1_x_gripper_open_connection_request.js} +7 -7
  132. package/dist/lib/requests/ge_1_x_gripper_open_connection_request.js.map +1 -0
  133. package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts +14 -0
  134. package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts.map +1 -0
  135. package/dist/lib/requests/{ge_1_gripper_read_register_request.js → ge_1_x_gripper_read_register_request.js} +7 -7
  136. package/dist/lib/requests/ge_1_x_gripper_read_register_request.js.map +1 -0
  137. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts +15 -0
  138. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts.map +1 -0
  139. package/dist/lib/requests/{ge_1_gripper_set_io_enabled_request.js → ge_1_x_gripper_set_auto_home_request.js} +7 -7
  140. package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.js.map +1 -0
  141. package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts +14 -0
  142. package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts.map +1 -0
  143. package/dist/lib/requests/{ge_1_gripper_set_force_request.js → ge_1_x_gripper_set_force_request.js} +7 -7
  144. package/dist/lib/requests/ge_1_x_gripper_set_force_request.js.map +1 -0
  145. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts +16 -0
  146. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts.map +1 -0
  147. package/dist/lib/requests/{ge_1_gripper_set_home_direction_request.js → ge_1_x_gripper_set_home_direction_request.js} +10 -10
  148. package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.js.map +1 -0
  149. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts +15 -0
  150. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts.map +1 -0
  151. package/dist/lib/requests/{ge_1_gripper_set_auto_home_request.js → ge_1_x_gripper_set_io_enabled_request.js} +7 -7
  152. package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.js.map +1 -0
  153. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts +15 -0
  154. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts.map +1 -0
  155. 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
  156. package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.js.map +1 -0
  157. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts +18 -0
  158. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts.map +1 -0
  159. package/dist/lib/requests/{ge_1_gripper_set_preset_request.js → ge_1_x_gripper_set_preset_request.js} +7 -7
  160. package/dist/lib/requests/ge_1_x_gripper_set_preset_request.js.map +1 -0
  161. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts +14 -0
  162. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts.map +1 -0
  163. package/dist/lib/requests/{ge_1_gripper_set_speed_request.js → ge_1_x_gripper_set_speed_request.js} +7 -7
  164. package/dist/lib/requests/ge_1_x_gripper_set_speed_request.js.map +1 -0
  165. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts +14 -0
  166. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts.map +1 -0
  167. package/dist/lib/requests/{ge_1_gripper_wait_until_idle_request.js → ge_1_x_gripper_wait_until_idle_request.js} +7 -7
  168. package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.js.map +1 -0
  169. package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts +15 -0
  170. package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts.map +1 -0
  171. package/dist/lib/requests/{ge_1_gripper_write_register_request.js → ge_1_x_gripper_write_register_request.js} +7 -7
  172. package/dist/lib/requests/ge_1_x_gripper_write_register_request.js.map +1 -0
  173. package/dist/lib/requests/get_axis_settings_typed_response.d.ts +14 -0
  174. package/dist/lib/requests/get_axis_settings_typed_response.d.ts.map +1 -0
  175. package/dist/lib/requests/get_axis_settings_typed_response.js +35 -0
  176. package/dist/lib/requests/get_axis_settings_typed_response.js.map +1 -0
  177. package/dist/lib/requests/get_settings_typed_response.d.ts +14 -0
  178. package/dist/lib/requests/get_settings_typed_response.d.ts.map +1 -0
  179. package/dist/lib/requests/get_settings_typed_response.js +35 -0
  180. package/dist/lib/requests/get_settings_typed_response.js.map +1 -0
  181. package/dist/lib/requests/index.d.ts +21 -17
  182. package/dist/lib/requests/index.d.ts.map +1 -1
  183. package/dist/lib/requests/index.js +21 -17
  184. package/dist/lib/requests/index.js.map +1 -1
  185. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts +4 -0
  186. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts.map +1 -1
  187. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js +11 -1
  188. package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js.map +1 -1
  189. package/dist/lib/requests/pvt_buffer_get_sequence_data_response.js.map +1 -1
  190. package/dist/lib/requests/pvt_convert_time_request.js.map +1 -1
  191. package/dist/lib/requests/pvt_convert_time_response.js.map +1 -1
  192. package/dist/lib/requests/pvt_generate_positions_request.js.map +1 -1
  193. package/dist/lib/requests/pvt_generate_sequence_response.js.map +1 -1
  194. package/dist/lib/requests/pvt_generate_velocities_and_times_request.js.map +1 -1
  195. package/dist/lib/requests/pvt_generate_velocities_request.js.map +1 -1
  196. package/dist/lib/requests/pvt_items_request.js.map +1 -1
  197. package/dist/lib/requests/pvt_partial_convert_time_request.js.map +1 -1
  198. package/dist/lib/requests/pvt_partial_convert_time_response.js.map +1 -1
  199. package/dist/lib/requests/pvt_save_csv_request.js.map +1 -1
  200. package/dist/lib/requests/pvt_submit_sequence_data_request.js.map +1 -1
  201. package/dist/lib/requests/test_dto_with_variants.js.map +1 -1
  202. package/dist/lib/requests/test_request_complex.d.ts +2 -0
  203. package/dist/lib/requests/test_request_complex.d.ts.map +1 -1
  204. package/dist/lib/requests/test_request_complex.js +13 -2
  205. package/dist/lib/requests/test_request_complex.js.map +1 -1
  206. package/dist/lib/requests/typed_setting_response.d.ts +14 -0
  207. package/dist/lib/requests/typed_setting_response.d.ts.map +1 -0
  208. package/dist/lib/requests/typed_setting_response.js +40 -0
  209. package/dist/lib/requests/typed_setting_response.js.map +1 -0
  210. package/dist/lib/requests/unit_convert_native_request.d.ts +1 -0
  211. package/dist/lib/requests/unit_convert_native_request.d.ts.map +1 -1
  212. package/dist/lib/requests/unit_convert_native_request.js +5 -1
  213. package/dist/lib/requests/unit_convert_native_request.js.map +1 -1
  214. package/dist/lib/unit_conversion_descriptor.d.ts +4 -0
  215. package/dist/lib/unit_conversion_descriptor.d.ts.map +1 -1
  216. package/dist/lib/unit_conversion_descriptor.js +5 -1
  217. package/dist/lib/unit_conversion_descriptor.js.map +1 -1
  218. package/dist/lib/unit_table.d.ts +4 -2
  219. package/dist/lib/unit_table.d.ts.map +1 -1
  220. package/dist/lib/unit_table.js +6 -2
  221. package/dist/lib/unit_table.js.map +1 -1
  222. package/package.json +1 -1
  223. package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.d.ts.map +0 -1
  224. package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.js.map +0 -1
  225. package/dist/lib/product/ge_1_gripper.d.ts.map +0 -1
  226. package/dist/lib/product/ge_1_gripper.js.map +0 -1
  227. package/dist/lib/product/ge_1_gripper_direction.d.ts.map +0 -1
  228. package/dist/lib/product/ge_1_gripper_direction.js +0 -24
  229. package/dist/lib/product/ge_1_gripper_direction.js.map +0 -1
  230. package/dist/lib/product/ge_1_gripper_error.d.ts.map +0 -1
  231. package/dist/lib/product/ge_1_gripper_error.js +0 -46
  232. package/dist/lib/product/ge_1_gripper_error.js.map +0 -1
  233. package/dist/lib/product/ge_1_gripper_state.d.ts.map +0 -1
  234. package/dist/lib/product/ge_1_gripper_state.js +0 -32
  235. package/dist/lib/product/ge_1_gripper_state.js.map +0 -1
  236. package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts +0 -15
  237. package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts.map +0 -1
  238. package/dist/lib/requests/ge_1_gripper_activate_preset_request.js.map +0 -1
  239. package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts +0 -14
  240. package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts.map +0 -1
  241. package/dist/lib/requests/ge_1_gripper_calibrate_request.js.map +0 -1
  242. package/dist/lib/requests/ge_1_gripper_empty_request.d.ts +0 -13
  243. package/dist/lib/requests/ge_1_gripper_empty_request.d.ts.map +0 -1
  244. package/dist/lib/requests/ge_1_gripper_empty_request.js.map +0 -1
  245. package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts +0 -14
  246. package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts.map +0 -1
  247. package/dist/lib/requests/ge_1_gripper_get_error_response.js +0 -36
  248. package/dist/lib/requests/ge_1_gripper_get_error_response.js.map +0 -1
  249. package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts +0 -14
  250. package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts.map +0 -1
  251. package/dist/lib/requests/ge_1_gripper_get_state_response.js +0 -36
  252. package/dist/lib/requests/ge_1_gripper_get_state_response.js.map +0 -1
  253. package/dist/lib/requests/ge_1_gripper_move_request.d.ts +0 -15
  254. package/dist/lib/requests/ge_1_gripper_move_request.d.ts.map +0 -1
  255. package/dist/lib/requests/ge_1_gripper_move_request.js.map +0 -1
  256. package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts +0 -15
  257. package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts.map +0 -1
  258. package/dist/lib/requests/ge_1_gripper_open_connection_request.js.map +0 -1
  259. package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts +0 -14
  260. package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts.map +0 -1
  261. package/dist/lib/requests/ge_1_gripper_read_register_request.js.map +0 -1
  262. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts +0 -15
  263. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts.map +0 -1
  264. package/dist/lib/requests/ge_1_gripper_set_auto_home_request.js.map +0 -1
  265. package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts +0 -14
  266. package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts.map +0 -1
  267. package/dist/lib/requests/ge_1_gripper_set_force_request.js.map +0 -1
  268. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts +0 -16
  269. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts.map +0 -1
  270. package/dist/lib/requests/ge_1_gripper_set_home_direction_request.js.map +0 -1
  271. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts +0 -15
  272. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts.map +0 -1
  273. package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.js.map +0 -1
  274. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts +0 -15
  275. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts.map +0 -1
  276. package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.js.map +0 -1
  277. package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts +0 -18
  278. package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts.map +0 -1
  279. package/dist/lib/requests/ge_1_gripper_set_preset_request.js.map +0 -1
  280. package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts +0 -14
  281. package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts.map +0 -1
  282. package/dist/lib/requests/ge_1_gripper_set_speed_request.js.map +0 -1
  283. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts +0 -14
  284. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts.map +0 -1
  285. package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.js.map +0 -1
  286. package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts +0 -15
  287. package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts.map +0 -1
  288. package/dist/lib/requests/ge_1_gripper_write_register_request.js.map +0 -1
@@ -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,EAA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AAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,2BAA2B,EAAE,UAAU,CAAC,kCAAkC,CAAC,CAAC;AACtG,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,mBAAmB,EAAE,UAAU,CAAC,0BAA0B,CAAC,CAAC;AACtF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAChE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,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_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,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,GAAG,CAAC,eAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,wBAAwB,CAAC,CAAC;AACjF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,2BAA2B,EAAE,UAAU,CAAC,kCAAkC,CAAC,CAAC;AACtG,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,mBAAmB,EAAE,UAAU,CAAC,0BAA0B,CAAC,CAAC;AACtF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,OAAO,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;AAChE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,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,40 +126,42 @@ 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
+ * When enabled, the gripper will not move to a preset position until the IO input changes.
138
139
  * @param enabled True to enable IO control, false to disable.
139
140
  * @param [options.saveToFlash=true] Save the IO enabled setting to flash memory so it is retained on power cycle.
140
141
  */
141
- setIoEnabled(enabled: boolean, options?: GE1Gripper.SetIoEnabledOptions): Promise<void>;
142
+ setIoEnabled(enabled: boolean, options?: Ge1xGripper.SetIoEnabledOptions): Promise<void>;
142
143
  /**
143
144
  * Sets the debounce filter time for the gripper IO input to suppress noise.
144
145
  * @param duration The IO input filter time in milliseconds.
145
146
  * @param [options.saveToFlash=true] Save the IO input filter setting to flash memory so it is retained on power cycle.
146
147
  */
147
- setIoInputFilter(duration: number, options?: GE1Gripper.SetIoInputFilterOptions): Promise<void>;
148
+ setIoInputFilter(duration: number, options?: Ge1xGripper.SetIoInputFilterOptions): Promise<void>;
148
149
  /**
149
- * Saves a position, force, and speed as a preset.
150
+ * Saves a position, force, and speed as a preset that can be enabled using I/O or the activatePreset() method.
151
+ * Note that presets are only activated by I/O when the I/O input changes to that preset number.
150
152
  * @param presetNumber The preset number to save the preset to, from 1 to 4.
151
153
  * @param position The target position for the preset as a percentage, where 0 is closed and 100 is open.
152
154
  * @param [options.force=100] The gripping force for the preset as a percentage from 20 to 100.
153
155
  * @param [options.speed=100] The maximum speed for the preset as a percentage from 1 to 100.
154
156
  * @param [options.saveToFlash=true] Save the preset to flash memory so it is retained on power cycle.
155
157
  */
156
- setPreset(presetNumber: number, position: number, options?: GE1Gripper.SetPresetOptions): Promise<void>;
158
+ setPreset(presetNumber: number, position: number, options?: Ge1xGripper.SetPresetOptions): Promise<void>;
157
159
  /**
158
160
  * Activates a preset, causing the gripper to move to the preset position using the preset force and speed.
159
161
  * @param presetNumber The preset number to activate, from 1 to 4.
160
162
  * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
161
163
  */
162
- activatePreset(presetNumber: number, options?: GE1Gripper.ActivatePresetOptions): Promise<void>;
164
+ activatePreset(presetNumber: number, options?: Ge1xGripper.ActivatePresetOptions): Promise<void>;
163
165
  /**
164
166
  * Gets the preset number currently activated by the gripper IO input.
165
167
  * @returns The current preset number activated by the gripper IO input.
@@ -171,13 +173,13 @@ export declare class GE1Gripper {
171
173
  */
172
174
  private static _free;
173
175
  /**
174
- * Releases the native resources of the ge 1 gripper.
176
+ * Releases the native resources of the ge 1 x gripper.
175
177
  * Should only be called if your environment does not support FinalizationRegistry.
176
178
  * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
177
179
  */
178
180
  free(): void;
179
181
  }
180
- declare namespace GE1Gripper {
182
+ declare namespace Ge1xGripper {
181
183
  interface OpenConnectionOptions {
182
184
  /**
183
185
  * The address of the gripper to connect to.
@@ -270,4 +272,4 @@ declare namespace GE1Gripper {
270
272
  }
271
273
  }
272
274
  export {};
273
- //# sourceMappingURL=ge_1_gripper.d.ts.map
275
+ //# 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,wBA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