@zaber/motion 2.5.1 → 2.7.0-save-load

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 (741) hide show
  1. package/binding.gyp +2 -3
  2. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  3. package/dist/{node → lib}/ascii/alert_event.d.ts +0 -0
  4. package/dist/{node → lib}/ascii/alert_event.js +0 -0
  5. package/dist/{node → lib}/ascii/alert_event.js.map +0 -0
  6. package/dist/{node → lib}/ascii/all_axes.d.ts +0 -0
  7. package/dist/{node → lib}/ascii/all_axes.js +0 -0
  8. package/dist/{node → lib}/ascii/all_axes.js.map +0 -0
  9. package/dist/{web → lib}/ascii/axis.d.ts +18 -0
  10. package/dist/{node → lib}/ascii/axis.js +40 -0
  11. package/dist/lib/ascii/axis.js.map +1 -0
  12. package/dist/{node → lib}/ascii/axis_identity.d.ts +0 -0
  13. package/dist/{node → lib}/ascii/axis_identity.js +0 -0
  14. package/dist/{node → lib}/ascii/axis_identity.js.map +0 -0
  15. package/dist/{node → lib}/ascii/axis_settings.d.ts +14 -0
  16. package/dist/{web → lib}/ascii/axis_settings.js +30 -0
  17. package/dist/lib/ascii/axis_settings.js.map +1 -0
  18. package/dist/{node → lib}/ascii/axis_type.d.ts +0 -0
  19. package/dist/{node → lib}/ascii/axis_type.js +0 -0
  20. package/dist/{node → lib}/ascii/axis_type.js.map +0 -0
  21. package/dist/{web → lib}/ascii/connection.d.ts +14 -2
  22. package/dist/{web → lib}/ascii/connection.js +22 -2
  23. package/dist/lib/ascii/connection.js.map +1 -0
  24. package/dist/{web → lib}/ascii/device.d.ts +20 -0
  25. package/dist/{node → lib}/ascii/device.js +40 -0
  26. package/dist/lib/ascii/device.js.map +1 -0
  27. package/dist/{node → lib}/ascii/device_identity.d.ts +0 -0
  28. package/dist/{node → lib}/ascii/device_identity.js +0 -0
  29. package/dist/{node → lib}/ascii/device_identity.js.map +0 -0
  30. package/dist/{node → lib}/ascii/device_io.d.ts +0 -0
  31. package/dist/{node → lib}/ascii/device_io.js +0 -0
  32. package/dist/{node → lib}/ascii/device_io.js.map +0 -0
  33. package/dist/{node → lib}/ascii/device_io_info.d.ts +0 -0
  34. package/dist/{node → lib}/ascii/device_io_info.js +0 -0
  35. package/dist/{node → lib}/ascii/device_io_info.js.map +0 -0
  36. package/dist/{web → lib}/ascii/device_settings.d.ts +14 -0
  37. package/dist/{web → lib}/ascii/device_settings.js +28 -0
  38. package/dist/lib/ascii/device_settings.js.map +1 -0
  39. package/dist/{node → lib}/ascii/index.d.ts +0 -0
  40. package/dist/{node → lib}/ascii/index.js +0 -0
  41. package/dist/{node → lib}/ascii/index.js.map +0 -0
  42. package/dist/{node → lib}/ascii/lockstep.d.ts +0 -0
  43. package/dist/{node → lib}/ascii/lockstep.js +0 -0
  44. package/dist/{node → lib}/ascii/lockstep.js.map +0 -0
  45. package/dist/{node → lib}/ascii/lockstep_axes.d.ts +0 -0
  46. package/dist/{node → lib}/ascii/lockstep_axes.js +0 -0
  47. package/dist/{node → lib}/ascii/lockstep_axes.js.map +0 -0
  48. package/dist/{node → lib}/ascii/message_type.d.ts +0 -0
  49. package/dist/{node → lib}/ascii/message_type.js +0 -0
  50. package/dist/{node → lib}/ascii/message_type.js.map +0 -0
  51. package/dist/{node → lib}/ascii/response.d.ts +0 -0
  52. package/dist/{node → lib}/ascii/response.js +0 -0
  53. package/dist/{node → lib}/ascii/response.js.map +0 -0
  54. package/dist/{web → lib}/ascii/setting_constants.d.ts +360 -0
  55. package/dist/{node → lib}/ascii/setting_constants.js +360 -0
  56. package/dist/lib/ascii/setting_constants.js.map +1 -0
  57. package/dist/{web → lib}/ascii/stream.d.ts +6 -0
  58. package/dist/{web → lib}/ascii/stream.js +13 -0
  59. package/dist/lib/ascii/stream.js.map +1 -0
  60. package/dist/{web → lib}/ascii/stream_axis_definition.d.ts +1 -1
  61. package/dist/{node → lib}/ascii/stream_axis_definition.js +0 -0
  62. package/dist/{node → lib}/ascii/stream_axis_definition.js.map +1 -1
  63. package/dist/{node → lib}/ascii/stream_axis_type.d.ts +0 -0
  64. package/dist/{node → lib}/ascii/stream_axis_type.js +0 -0
  65. package/dist/{node → lib}/ascii/stream_axis_type.js.map +0 -0
  66. package/dist/{node → lib}/ascii/stream_buffer.d.ts +1 -0
  67. package/dist/{node → lib}/ascii/stream_buffer.js +1 -0
  68. package/dist/lib/ascii/stream_buffer.js.map +1 -0
  69. package/dist/{node → lib}/ascii/stream_mode.d.ts +0 -0
  70. package/dist/{node → lib}/ascii/stream_mode.js +0 -0
  71. package/dist/{node → lib}/ascii/stream_mode.js.map +0 -0
  72. package/dist/{node → lib}/ascii/transport.d.ts +0 -0
  73. package/dist/{node → lib}/ascii/transport.js +0 -0
  74. package/dist/{node → lib}/ascii/transport.js.map +0 -0
  75. package/dist/{node → lib}/ascii/unknown_response_event.d.ts +0 -0
  76. package/dist/{node → lib}/ascii/unknown_response_event.js +0 -0
  77. package/dist/{node → lib}/ascii/unknown_response_event.js.map +0 -0
  78. package/dist/{node → lib}/ascii/warning_flags.d.ts +0 -0
  79. package/dist/{node → lib}/ascii/warning_flags.js +0 -0
  80. package/dist/{node → lib}/ascii/warning_flags.js.map +0 -0
  81. package/dist/{node → lib}/ascii/warnings.d.ts +0 -0
  82. package/dist/{node → lib}/ascii/warnings.js +0 -0
  83. package/dist/{node → lib}/ascii/warnings.js.map +0 -0
  84. package/dist/{node → lib}/ascii_ns.d.ts +0 -0
  85. package/dist/{node → lib}/ascii_ns.js +0 -0
  86. package/dist/{node → lib}/ascii_ns.js.map +0 -0
  87. package/dist/{node → lib}/binary/binary_settings.d.ts +0 -0
  88. package/dist/{node → lib}/binary/binary_settings.js +0 -0
  89. package/dist/{node → lib}/binary/binary_settings.js.map +0 -0
  90. package/dist/{node → lib}/binary/command_code.d.ts +0 -0
  91. package/dist/{node → lib}/binary/command_code.js +0 -0
  92. package/dist/{node → lib}/binary/command_code.js.map +0 -0
  93. package/dist/{node → lib}/binary/connection.d.ts +0 -1
  94. package/dist/{web → lib}/binary/connection.js +0 -1
  95. package/dist/lib/binary/connection.js.map +1 -0
  96. package/dist/{node → lib}/binary/device.d.ts +0 -0
  97. package/dist/{node → lib}/binary/device.js +0 -0
  98. package/dist/{node → lib}/binary/device.js.map +0 -0
  99. package/dist/{node → lib}/binary/device_identity.d.ts +0 -0
  100. package/dist/{node → lib}/binary/device_identity.js +0 -0
  101. package/dist/{node → lib}/binary/device_identity.js.map +0 -0
  102. package/dist/{node → lib}/binary/device_settings.d.ts +0 -0
  103. package/dist/{node → lib}/binary/device_settings.js +0 -0
  104. package/dist/{node → lib}/binary/device_settings.js.map +0 -0
  105. package/dist/{node → lib}/binary/device_type.d.ts +0 -0
  106. package/dist/{node → lib}/binary/device_type.js +0 -0
  107. package/dist/{node → lib}/binary/device_type.js.map +0 -0
  108. package/dist/{node → lib}/binary/error_code.d.ts +0 -0
  109. package/dist/{node → lib}/binary/error_code.js +0 -0
  110. package/dist/{node → lib}/binary/error_code.js.map +0 -0
  111. package/dist/{node → lib}/binary/index.d.ts +0 -0
  112. package/dist/{node → lib}/binary/index.js +0 -0
  113. package/dist/{node → lib}/binary/index.js.map +0 -0
  114. package/dist/{node → lib}/binary/message.d.ts +0 -0
  115. package/dist/{node → lib}/binary/message.js +0 -0
  116. package/dist/{node → lib}/binary/message.js.map +0 -0
  117. package/dist/{node → lib}/binary/reply_code.d.ts +0 -0
  118. package/dist/{node → lib}/binary/reply_code.js +0 -0
  119. package/dist/{node → lib}/binary/reply_code.js.map +0 -0
  120. package/dist/{node → lib}/binary/reply_only_event.d.ts +0 -0
  121. package/dist/{node → lib}/binary/reply_only_event.js +0 -0
  122. package/dist/{node → lib}/binary/reply_only_event.js.map +0 -0
  123. package/dist/{node → lib}/binary/unknown_response_event.d.ts +0 -0
  124. package/dist/{node → lib}/binary/unknown_response_event.js +0 -0
  125. package/dist/{node → lib}/binary/unknown_response_event.js.map +0 -0
  126. package/dist/{node → lib}/binary_ns.d.ts +0 -0
  127. package/dist/{node → lib}/binary_ns.js +0 -0
  128. package/dist/{node → lib}/binary_ns.js.map +0 -0
  129. package/dist/lib/can_set_state_axis_response.d.ts +16 -0
  130. package/dist/lib/can_set_state_axis_response.js +18 -0
  131. package/dist/lib/can_set_state_axis_response.js.map +1 -0
  132. package/dist/lib/can_set_state_device_response.d.ts +17 -0
  133. package/dist/lib/can_set_state_device_response.js +19 -0
  134. package/dist/lib/can_set_state_device_response.js.map +1 -0
  135. package/dist/{node → lib}/device_db_source_type.d.ts +0 -0
  136. package/dist/{node → lib}/device_db_source_type.js +0 -0
  137. package/dist/{node → lib}/device_db_source_type.js.map +0 -0
  138. package/dist/{node → lib}/exceptions/binary_command_failed_exception.d.ts +0 -0
  139. package/dist/{node → lib}/exceptions/binary_command_failed_exception.js +0 -0
  140. package/dist/{node → lib}/exceptions/binary_command_failed_exception.js.map +0 -0
  141. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.d.ts +0 -0
  142. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js +0 -0
  143. package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js.map +0 -0
  144. package/dist/{node → lib}/exceptions/command_failed_exception.d.ts +0 -0
  145. package/dist/{node → lib}/exceptions/command_failed_exception.js +0 -0
  146. package/dist/{node → lib}/exceptions/command_failed_exception.js.map +0 -0
  147. package/dist/{node → lib}/exceptions/command_failed_exception_data.d.ts +0 -0
  148. package/dist/{node → lib}/exceptions/command_failed_exception_data.js +0 -0
  149. package/dist/{node → lib}/exceptions/command_failed_exception_data.js.map +0 -0
  150. package/dist/{node → lib}/exceptions/command_preempted_exception.d.ts +0 -0
  151. package/dist/{node → lib}/exceptions/command_preempted_exception.js +0 -0
  152. package/dist/{node → lib}/exceptions/command_preempted_exception.js.map +0 -0
  153. package/dist/{node → lib}/exceptions/connection_closed_exception.d.ts +0 -0
  154. package/dist/{node → lib}/exceptions/connection_closed_exception.js +0 -0
  155. package/dist/{node → lib}/exceptions/connection_closed_exception.js.map +0 -0
  156. package/dist/{node → lib}/exceptions/connection_failed_exception.d.ts +0 -0
  157. package/dist/{node → lib}/exceptions/connection_failed_exception.js +0 -0
  158. package/dist/{node → lib}/exceptions/connection_failed_exception.js.map +0 -0
  159. package/dist/{node → lib}/exceptions/conversion_failed_exception.d.ts +0 -0
  160. package/dist/{node → lib}/exceptions/conversion_failed_exception.js +0 -0
  161. package/dist/{node → lib}/exceptions/conversion_failed_exception.js.map +0 -0
  162. package/dist/{node → lib}/exceptions/device_address_conflict_exception.d.ts +0 -0
  163. package/dist/{node → lib}/exceptions/device_address_conflict_exception.js +0 -0
  164. package/dist/{node → lib}/exceptions/device_address_conflict_exception.js.map +0 -0
  165. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.d.ts +0 -0
  166. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js +0 -0
  167. package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js.map +0 -0
  168. package/dist/{node → lib}/exceptions/device_busy_exception.d.ts +0 -0
  169. package/dist/{node → lib}/exceptions/device_busy_exception.js +0 -0
  170. package/dist/{node → lib}/exceptions/device_busy_exception.js.map +0 -0
  171. package/dist/{node → lib}/exceptions/device_db_failed_exception.d.ts +0 -0
  172. package/dist/{node → lib}/exceptions/device_db_failed_exception.js +0 -0
  173. package/dist/{node → lib}/exceptions/device_db_failed_exception.js.map +0 -0
  174. package/dist/{node → lib}/exceptions/device_failed_exception.d.ts +0 -0
  175. package/dist/{node → lib}/exceptions/device_failed_exception.js +0 -0
  176. package/dist/{node → lib}/exceptions/device_failed_exception.js.map +0 -0
  177. package/dist/{node → lib}/exceptions/device_not_identified_exception.d.ts +0 -0
  178. package/dist/{node → lib}/exceptions/device_not_identified_exception.js +0 -0
  179. package/dist/{node → lib}/exceptions/device_not_identified_exception.js.map +0 -0
  180. package/dist/lib/exceptions/g_code_execution_exception.d.ts +14 -0
  181. package/dist/lib/exceptions/g_code_execution_exception.js +32 -0
  182. package/dist/lib/exceptions/g_code_execution_exception.js.map +1 -0
  183. package/dist/lib/exceptions/g_code_execution_exception_data.d.ts +17 -0
  184. package/dist/lib/exceptions/g_code_execution_exception_data.js +18 -0
  185. package/dist/lib/exceptions/g_code_execution_exception_data.js.map +1 -0
  186. package/dist/lib/exceptions/g_code_syntax_exception.d.ts +14 -0
  187. package/dist/lib/exceptions/g_code_syntax_exception.js +32 -0
  188. package/dist/lib/exceptions/g_code_syntax_exception.js.map +1 -0
  189. package/dist/lib/exceptions/g_code_syntax_exception_data.d.ts +17 -0
  190. package/dist/lib/exceptions/g_code_syntax_exception_data.js +18 -0
  191. package/dist/lib/exceptions/g_code_syntax_exception_data.js.map +1 -0
  192. package/dist/{web → lib}/exceptions/index.d.ts +8 -0
  193. package/dist/{node → lib}/exceptions/index.js +18 -1
  194. package/dist/lib/exceptions/index.js.map +1 -0
  195. package/dist/{node → lib}/exceptions/internal_error_exception.d.ts +0 -0
  196. package/dist/{node → lib}/exceptions/internal_error_exception.js +0 -0
  197. package/dist/{node → lib}/exceptions/internal_error_exception.js.map +0 -0
  198. package/dist/{node → lib}/exceptions/invalid_argument_exception.d.ts +0 -0
  199. package/dist/{node → lib}/exceptions/invalid_argument_exception.js +0 -0
  200. package/dist/{node → lib}/exceptions/invalid_argument_exception.js.map +0 -0
  201. package/dist/{node → lib}/exceptions/invalid_data_exception.d.ts +0 -0
  202. package/dist/{node → lib}/exceptions/invalid_data_exception.js +0 -0
  203. package/dist/{node → lib}/exceptions/invalid_data_exception.js.map +0 -0
  204. package/dist/{node → lib}/exceptions/invalid_packet_exception.d.ts +0 -0
  205. package/dist/{node → lib}/exceptions/invalid_packet_exception.js +0 -0
  206. package/dist/{node → lib}/exceptions/invalid_packet_exception.js.map +0 -0
  207. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.d.ts +0 -0
  208. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js +0 -0
  209. package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js.map +0 -0
  210. package/dist/{node → lib}/exceptions/invalid_park_state_exception.d.ts +0 -0
  211. package/dist/{node → lib}/exceptions/invalid_park_state_exception.js +0 -0
  212. package/dist/{node → lib}/exceptions/invalid_park_state_exception.js.map +0 -0
  213. package/dist/{node → lib}/exceptions/invalid_response_exception.d.ts +0 -0
  214. package/dist/{node → lib}/exceptions/invalid_response_exception.js +0 -0
  215. package/dist/{node → lib}/exceptions/invalid_response_exception.js.map +0 -0
  216. package/dist/{node → lib}/exceptions/invalid_response_exception_data.d.ts +0 -0
  217. package/dist/{node → lib}/exceptions/invalid_response_exception_data.js +0 -0
  218. package/dist/{node → lib}/exceptions/invalid_response_exception_data.js.map +0 -0
  219. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.d.ts +0 -0
  220. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js +0 -0
  221. package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js.map +0 -0
  222. package/dist/{node → lib}/exceptions/io_failed_exception.d.ts +0 -0
  223. package/dist/{node → lib}/exceptions/io_failed_exception.js +0 -0
  224. package/dist/{node → lib}/exceptions/io_failed_exception.js.map +0 -0
  225. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.d.ts +0 -0
  226. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js +0 -0
  227. package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js.map +0 -0
  228. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.d.ts +0 -0
  229. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js +0 -0
  230. package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js.map +0 -0
  231. package/dist/{node → lib}/exceptions/motion_lib_exception.d.ts +0 -0
  232. package/dist/{node → lib}/exceptions/motion_lib_exception.js +0 -0
  233. package/dist/{node → lib}/exceptions/motion_lib_exception.js.map +0 -0
  234. package/dist/{node → lib}/exceptions/movement_failed_exception.d.ts +0 -0
  235. package/dist/{node → lib}/exceptions/movement_failed_exception.js +0 -0
  236. package/dist/{node → lib}/exceptions/movement_failed_exception.js.map +0 -0
  237. package/dist/{node → lib}/exceptions/movement_failed_exception_data.d.ts +0 -0
  238. package/dist/{node → lib}/exceptions/movement_failed_exception_data.js +0 -0
  239. package/dist/{node → lib}/exceptions/movement_failed_exception_data.js.map +0 -0
  240. package/dist/{node → lib}/exceptions/movement_interrupted_exception.d.ts +0 -0
  241. package/dist/{node → lib}/exceptions/movement_interrupted_exception.js +0 -0
  242. package/dist/{node → lib}/exceptions/movement_interrupted_exception.js.map +0 -0
  243. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.d.ts +0 -0
  244. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js +0 -0
  245. package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js.map +0 -0
  246. package/dist/{node → lib}/exceptions/no_device_found_exception.d.ts +0 -0
  247. package/dist/{node → lib}/exceptions/no_device_found_exception.js +0 -0
  248. package/dist/{node → lib}/exceptions/no_device_found_exception.js.map +0 -0
  249. package/dist/{node → lib}/exceptions/not_supported_exception.d.ts +0 -0
  250. package/dist/{node → lib}/exceptions/not_supported_exception.js +0 -0
  251. package/dist/{node → lib}/exceptions/not_supported_exception.js.map +0 -0
  252. package/dist/{node → lib}/exceptions/os_failed_exception.d.ts +0 -0
  253. package/dist/{node → lib}/exceptions/os_failed_exception.js +0 -0
  254. package/dist/{node → lib}/exceptions/os_failed_exception.js.map +0 -0
  255. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.d.ts +0 -0
  256. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js +0 -0
  257. package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js.map +0 -0
  258. package/dist/{node → lib}/exceptions/request_timeout_exception.d.ts +0 -0
  259. package/dist/{node → lib}/exceptions/request_timeout_exception.js +0 -0
  260. package/dist/{node → lib}/exceptions/request_timeout_exception.js.map +0 -0
  261. package/dist/{node → lib}/exceptions/serial_port_busy_exception.d.ts +0 -0
  262. package/dist/{node → lib}/exceptions/serial_port_busy_exception.js +0 -0
  263. package/dist/{node → lib}/exceptions/serial_port_busy_exception.js.map +0 -0
  264. package/dist/lib/exceptions/set_device_state_exception_data.d.ts +25 -0
  265. package/dist/lib/exceptions/set_device_state_exception_data.js +21 -0
  266. package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -0
  267. package/dist/lib/exceptions/set_device_state_failed_exception.d.ts +14 -0
  268. package/dist/lib/exceptions/set_device_state_failed_exception.js +32 -0
  269. package/dist/lib/exceptions/set_device_state_failed_exception.js.map +1 -0
  270. package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +20 -0
  271. package/dist/lib/exceptions/set_peripheral_state_exception_data.js +19 -0
  272. package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -0
  273. package/dist/lib/exceptions/set_peripheral_state_failed_exception.d.ts +14 -0
  274. package/dist/lib/exceptions/set_peripheral_state_failed_exception.js +32 -0
  275. package/dist/lib/exceptions/set_peripheral_state_failed_exception.js.map +1 -0
  276. package/dist/{node → lib}/exceptions/setting_not_found_exception.d.ts +0 -0
  277. package/dist/{node → lib}/exceptions/setting_not_found_exception.js +0 -0
  278. package/dist/{node → lib}/exceptions/setting_not_found_exception.js.map +0 -0
  279. package/dist/{node → lib}/exceptions/stream_execution_exception.d.ts +0 -0
  280. package/dist/{node → lib}/exceptions/stream_execution_exception.js +0 -0
  281. package/dist/{node → lib}/exceptions/stream_execution_exception.js.map +0 -0
  282. package/dist/{node → lib}/exceptions/stream_execution_exception_data.d.ts +0 -0
  283. package/dist/{node → lib}/exceptions/stream_execution_exception_data.js +0 -0
  284. package/dist/{node → lib}/exceptions/stream_execution_exception_data.js.map +0 -0
  285. package/dist/{node → lib}/exceptions/stream_mode_exception.d.ts +0 -0
  286. package/dist/{node → lib}/exceptions/stream_mode_exception.js +0 -0
  287. package/dist/{node → lib}/exceptions/stream_mode_exception.js.map +0 -0
  288. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.d.ts +0 -0
  289. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js +0 -0
  290. package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js.map +0 -0
  291. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.d.ts +0 -0
  292. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js +0 -0
  293. package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js.map +0 -0
  294. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.d.ts +0 -0
  295. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js +0 -0
  296. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js.map +0 -0
  297. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -0
  298. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js +0 -0
  299. package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js.map +0 -0
  300. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.d.ts +0 -0
  301. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js +0 -0
  302. package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js.map +0 -0
  303. package/dist/{node → lib}/exceptions/transport_already_used_exception.d.ts +0 -0
  304. package/dist/{node → lib}/exceptions/transport_already_used_exception.js +0 -0
  305. package/dist/{node → lib}/exceptions/transport_already_used_exception.js.map +0 -0
  306. package/dist/{node → lib}/exceptions/unknown_request_exception.d.ts +0 -0
  307. package/dist/{node → lib}/exceptions/unknown_request_exception.js +0 -0
  308. package/dist/{node → lib}/exceptions/unknown_request_exception.js.map +0 -0
  309. package/dist/lib/finalizer.d.ts +5 -0
  310. package/dist/lib/finalizer.js +21 -0
  311. package/dist/lib/finalizer.js.map +1 -0
  312. package/dist/{node → lib}/firmware_version.d.ts +0 -0
  313. package/dist/{node → lib}/firmware_version.js +0 -0
  314. package/dist/{node → lib}/firmware_version.js.map +0 -0
  315. package/dist/lib/gateway/bindings.d.ts +5 -0
  316. package/dist/lib/gateway/bindings.js +35 -0
  317. package/dist/lib/gateway/bindings.js.map +1 -0
  318. package/dist/{node/gateway/bindings.d.ts → lib/gateway/bindings.node.d.ts} +0 -0
  319. package/dist/{node/gateway/bindings.js → lib/gateway/bindings.node.js} +1 -1
  320. package/dist/lib/gateway/bindings.node.js.map +1 -0
  321. package/dist/{web/gateway/bindings.d.ts → lib/gateway/bindings.wasm.d.ts} +0 -0
  322. package/dist/{web/gateway/bindings.js → lib/gateway/bindings.wasm.js} +2 -1
  323. package/dist/lib/gateway/bindings.wasm.js.map +1 -0
  324. package/dist/{node → lib}/gateway/call.d.ts +0 -0
  325. package/dist/{web → lib}/gateway/call.js +2 -2
  326. package/dist/lib/gateway/call.js.map +1 -0
  327. package/dist/{node → lib}/gateway/convert_exceptions.d.ts +0 -0
  328. package/dist/{node → lib}/gateway/convert_exceptions.js +4 -0
  329. package/dist/lib/gateway/convert_exceptions.js.map +1 -0
  330. package/dist/{node → lib}/gateway/events.d.ts +0 -1
  331. package/dist/{node → lib}/gateway/events.js +4 -7
  332. package/dist/lib/gateway/events.js.map +1 -0
  333. package/dist/{node → lib}/gateway/index.d.ts +0 -0
  334. package/dist/{node → lib}/gateway/index.js +0 -0
  335. package/dist/{node → lib}/gateway/index.js.map +0 -0
  336. package/dist/{node → lib}/gateway/serialization.d.ts +0 -0
  337. package/dist/{node → lib}/gateway/serialization.js +0 -0
  338. package/dist/{node → lib}/gateway/serialization.js.map +0 -0
  339. package/dist/lib/gateway/wasm-exec.d.ts +1 -0
  340. package/dist/{web/wasm → lib/gateway}/wasm-exec.js +13 -54
  341. package/dist/lib/gateway/wasm-exec.js.map +1 -0
  342. package/dist/lib/gateway/wasm.d.ts +4 -0
  343. package/dist/{web/wasm → lib/gateway}/wasm.js +1 -3
  344. package/dist/lib/gateway/wasm.js.map +1 -0
  345. package/dist/lib/gcode/axis_mapping.d.ts +16 -0
  346. package/dist/{web/measurement.js → lib/gcode/axis_mapping.js} +11 -11
  347. package/dist/lib/gcode/axis_mapping.js.map +1 -0
  348. package/dist/lib/gcode/index.d.ts +8 -0
  349. package/dist/lib/gcode/index.js +20 -0
  350. package/dist/lib/gcode/index.js.map +1 -0
  351. package/dist/lib/gcode/translate_message.d.ts +21 -0
  352. package/dist/lib/gcode/translate_message.js +19 -0
  353. package/dist/lib/gcode/translate_message.js.map +1 -0
  354. package/dist/lib/gcode/translate_result.d.ts +17 -0
  355. package/dist/lib/gcode/translate_result.js +19 -0
  356. package/dist/lib/gcode/translate_result.js.map +1 -0
  357. package/dist/lib/gcode/translator.d.ts +68 -0
  358. package/dist/lib/gcode/translator.js +144 -0
  359. package/dist/lib/gcode/translator.js.map +1 -0
  360. package/dist/lib/gcode/translator_axis_definition.d.ts +20 -0
  361. package/dist/lib/gcode/translator_axis_definition.js +48 -0
  362. package/dist/lib/gcode/translator_axis_definition.js.map +1 -0
  363. package/dist/lib/gcode/translator_config.d.ts +18 -0
  364. package/dist/lib/gcode/translator_config.js +41 -0
  365. package/dist/lib/gcode/translator_config.js.map +1 -0
  366. package/dist/lib/gcode/translator_definition.d.ts +18 -0
  367. package/dist/{web/ascii/stream_axis_definition.js → lib/gcode/translator_definition.js} +11 -18
  368. package/dist/lib/gcode/translator_definition.js.map +1 -0
  369. package/dist/lib/gcode/translator_live.d.ts +70 -0
  370. package/dist/lib/gcode/translator_live.js +147 -0
  371. package/dist/lib/gcode/translator_live.js.map +1 -0
  372. package/dist/lib/gcode_ns.d.ts +19 -0
  373. package/dist/{web/tools.js → lib/gcode_ns.js} +14 -20
  374. package/dist/lib/gcode_ns.js.map +1 -0
  375. package/dist/{node → lib}/index.d.ts +3 -1
  376. package/dist/{node → lib}/index.js +6 -2
  377. package/dist/lib/index.js.map +1 -0
  378. package/dist/{node → lib}/library.d.ts +0 -0
  379. package/dist/{node → lib}/library.js +0 -0
  380. package/dist/{node → lib}/library.js.map +0 -0
  381. package/dist/{node → lib}/log_output_mode.d.ts +0 -0
  382. package/dist/{node → lib}/log_output_mode.js +0 -0
  383. package/dist/{node → lib}/log_output_mode.js.map +0 -0
  384. package/dist/{web → lib}/measurement.d.ts +1 -1
  385. package/dist/{node → lib}/measurement.js +0 -0
  386. package/dist/{node → lib}/measurement.js.map +1 -1
  387. package/dist/{node → lib}/protobufs/main_pb.d.ts +785 -0
  388. package/dist/{node → lib}/protobufs/main_pb.js +6039 -2
  389. package/dist/lib/protobufs/main_pb.js.map +1 -0
  390. package/dist/{node → lib}/rotation_direction.d.ts +0 -0
  391. package/dist/{node → lib}/rotation_direction.js +0 -0
  392. package/dist/{node → lib}/rotation_direction.js.map +0 -0
  393. package/dist/{node → lib}/tools.d.ts +0 -0
  394. package/dist/{node → lib}/tools.js +0 -0
  395. package/dist/{node → lib}/tools.js.map +0 -0
  396. package/dist/{node → lib}/units.d.ts +0 -0
  397. package/dist/{node → lib}/units.js +0 -0
  398. package/dist/{node → lib}/units.js.map +0 -0
  399. package/dist/lib/wasm.d.ts +4 -0
  400. package/dist/{web/init.js → lib/wasm.js} +5 -4
  401. package/dist/lib/wasm.js.map +1 -0
  402. package/package.json +9 -16
  403. package/dist/node/ascii/axis.d.ts +0 -172
  404. package/dist/node/ascii/axis.js.map +0 -1
  405. package/dist/node/ascii/axis_settings.js +0 -107
  406. package/dist/node/ascii/axis_settings.js.map +0 -1
  407. package/dist/node/ascii/connection.d.ts +0 -203
  408. package/dist/node/ascii/connection.js +0 -380
  409. package/dist/node/ascii/connection.js.map +0 -1
  410. package/dist/node/ascii/device.d.ts +0 -165
  411. package/dist/node/ascii/device.js.map +0 -1
  412. package/dist/node/ascii/device_settings.d.ts +0 -41
  413. package/dist/node/ascii/device_settings.js +0 -103
  414. package/dist/node/ascii/device_settings.js.map +0 -1
  415. package/dist/node/ascii/setting_constants.d.ts +0 -563
  416. package/dist/node/ascii/setting_constants.js.map +0 -1
  417. package/dist/node/ascii/stream.d.ts +0 -307
  418. package/dist/node/ascii/stream.js +0 -659
  419. package/dist/node/ascii/stream.js.map +0 -1
  420. package/dist/node/ascii/stream_axis_definition.d.ts +0 -17
  421. package/dist/node/ascii/stream_buffer.js.map +0 -1
  422. package/dist/node/binary/connection.js +0 -211
  423. package/dist/node/binary/connection.js.map +0 -1
  424. package/dist/node/exceptions/index.d.ts +0 -48
  425. package/dist/node/exceptions/index.js.map +0 -1
  426. package/dist/node/gateway/bindings.js.map +0 -1
  427. package/dist/node/gateway/call.js +0 -46
  428. package/dist/node/gateway/call.js.map +0 -1
  429. package/dist/node/gateway/convert_exceptions.js.map +0 -1
  430. package/dist/node/gateway/events.js.map +0 -1
  431. package/dist/node/index.js.map +0 -1
  432. package/dist/node/init.d.ts +0 -1
  433. package/dist/node/init.js +0 -8
  434. package/dist/node/init.js.map +0 -1
  435. package/dist/node/measurement.d.ts +0 -17
  436. package/dist/web/ascii/alert_event.d.ts +0 -28
  437. package/dist/web/ascii/alert_event.js +0 -21
  438. package/dist/web/ascii/alert_event.js.map +0 -1
  439. package/dist/web/ascii/all_axes.d.ts +0 -46
  440. package/dist/web/ascii/all_axes.js +0 -122
  441. package/dist/web/ascii/all_axes.js.map +0 -1
  442. package/dist/web/ascii/axis.js +0 -367
  443. package/dist/web/ascii/axis.js.map +0 -1
  444. package/dist/web/ascii/axis_identity.d.ts +0 -29
  445. package/dist/web/ascii/axis_identity.js +0 -21
  446. package/dist/web/ascii/axis_identity.js.map +0 -1
  447. package/dist/web/ascii/axis_settings.d.ts +0 -41
  448. package/dist/web/ascii/axis_settings.js.map +0 -1
  449. package/dist/web/ascii/axis_type.d.ts +0 -8
  450. package/dist/web/ascii/axis_type.js +0 -15
  451. package/dist/web/ascii/axis_type.js.map +0 -1
  452. package/dist/web/ascii/connection.js.map +0 -1
  453. package/dist/web/ascii/device.js +0 -296
  454. package/dist/web/ascii/device.js.map +0 -1
  455. package/dist/web/ascii/device_identity.d.ts +0 -33
  456. package/dist/web/ascii/device_identity.js +0 -23
  457. package/dist/web/ascii/device_identity.js.map +0 -1
  458. package/dist/web/ascii/device_io.d.ts +0 -80
  459. package/dist/web/ascii/device_io.js +0 -199
  460. package/dist/web/ascii/device_io.js.map +0 -1
  461. package/dist/web/ascii/device_io_info.d.ts +0 -24
  462. package/dist/web/ascii/device_io_info.js +0 -20
  463. package/dist/web/ascii/device_io_info.js.map +0 -1
  464. package/dist/web/ascii/device_settings.js.map +0 -1
  465. package/dist/web/ascii/index.d.ts +0 -26
  466. package/dist/web/ascii/index.js +0 -56
  467. package/dist/web/ascii/index.js.map +0 -1
  468. package/dist/web/ascii/lockstep.d.ts +0 -120
  469. package/dist/web/ascii/lockstep.js +0 -281
  470. package/dist/web/ascii/lockstep.js.map +0 -1
  471. package/dist/web/ascii/lockstep_axes.d.ts +0 -24
  472. package/dist/web/ascii/lockstep_axes.js +0 -20
  473. package/dist/web/ascii/lockstep_axes.js.map +0 -1
  474. package/dist/web/ascii/message_type.d.ts +0 -10
  475. package/dist/web/ascii/message_type.js +0 -17
  476. package/dist/web/ascii/message_type.js.map +0 -1
  477. package/dist/web/ascii/response.d.ts +0 -37
  478. package/dist/web/ascii/response.js +0 -23
  479. package/dist/web/ascii/response.js.map +0 -1
  480. package/dist/web/ascii/setting_constants.js +0 -570
  481. package/dist/web/ascii/setting_constants.js.map +0 -1
  482. package/dist/web/ascii/stream.js.map +0 -1
  483. package/dist/web/ascii/stream_axis_definition.js.map +0 -1
  484. package/dist/web/ascii/stream_axis_type.d.ts +0 -7
  485. package/dist/web/ascii/stream_axis_type.js +0 -14
  486. package/dist/web/ascii/stream_axis_type.js.map +0 -1
  487. package/dist/web/ascii/stream_buffer.d.ts +0 -27
  488. package/dist/web/ascii/stream_buffer.js +0 -71
  489. package/dist/web/ascii/stream_buffer.js.map +0 -1
  490. package/dist/web/ascii/stream_mode.d.ts +0 -9
  491. package/dist/web/ascii/stream_mode.js +0 -16
  492. package/dist/web/ascii/stream_mode.js.map +0 -1
  493. package/dist/web/ascii/transport.d.ts +0 -38
  494. package/dist/web/ascii/transport.js +0 -91
  495. package/dist/web/ascii/transport.js.map +0 -1
  496. package/dist/web/ascii/unknown_response_event.d.ts +0 -37
  497. package/dist/web/ascii/unknown_response_event.js +0 -23
  498. package/dist/web/ascii/unknown_response_event.js.map +0 -1
  499. package/dist/web/ascii/warning_flags.d.ts +0 -137
  500. package/dist/web/ascii/warning_flags.js +0 -144
  501. package/dist/web/ascii/warning_flags.js.map +0 -1
  502. package/dist/web/ascii/warnings.d.ts +0 -19
  503. package/dist/web/ascii/warnings.js +0 -62
  504. package/dist/web/ascii/warnings.js.map +0 -1
  505. package/dist/web/ascii_ns.d.ts +0 -55
  506. package/dist/web/ascii_ns.js +0 -53
  507. package/dist/web/ascii_ns.js.map +0 -1
  508. package/dist/web/binary/binary_settings.d.ts +0 -70
  509. package/dist/web/binary/binary_settings.js +0 -77
  510. package/dist/web/binary/binary_settings.js.map +0 -1
  511. package/dist/web/binary/command_code.d.ts +0 -102
  512. package/dist/web/binary/command_code.js +0 -109
  513. package/dist/web/binary/command_code.js.map +0 -1
  514. package/dist/web/binary/connection.d.ts +0 -115
  515. package/dist/web/binary/connection.js.map +0 -1
  516. package/dist/web/binary/device.d.ts +0 -192
  517. package/dist/web/binary/device.js +0 -375
  518. package/dist/web/binary/device.js.map +0 -1
  519. package/dist/web/binary/device_identity.d.ts +0 -42
  520. package/dist/web/binary/device_identity.js +0 -25
  521. package/dist/web/binary/device_identity.js.map +0 -1
  522. package/dist/web/binary/device_settings.d.ts +0 -24
  523. package/dist/web/binary/device_settings.js +0 -66
  524. package/dist/web/binary/device_settings.js.map +0 -1
  525. package/dist/web/binary/device_type.d.ts +0 -8
  526. package/dist/web/binary/device_type.js +0 -15
  527. package/dist/web/binary/device_type.js.map +0 -1
  528. package/dist/web/binary/error_code.d.ts +0 -97
  529. package/dist/web/binary/error_code.js +0 -104
  530. package/dist/web/binary/error_code.js.map +0 -1
  531. package/dist/web/binary/index.d.ts +0 -12
  532. package/dist/web/binary/index.js +0 -28
  533. package/dist/web/binary/index.js.map +0 -1
  534. package/dist/web/binary/message.d.ts +0 -20
  535. package/dist/web/binary/message.js +0 -19
  536. package/dist/web/binary/message.js.map +0 -1
  537. package/dist/web/binary/reply_code.d.ts +0 -12
  538. package/dist/web/binary/reply_code.js +0 -19
  539. package/dist/web/binary/reply_code.js.map +0 -1
  540. package/dist/web/binary/reply_only_event.d.ts +0 -20
  541. package/dist/web/binary/reply_only_event.js +0 -19
  542. package/dist/web/binary/reply_only_event.js.map +0 -1
  543. package/dist/web/binary/unknown_response_event.d.ts +0 -20
  544. package/dist/web/binary/unknown_response_event.js +0 -19
  545. package/dist/web/binary/unknown_response_event.js.map +0 -1
  546. package/dist/web/binary_ns.d.ts +0 -27
  547. package/dist/web/binary_ns.js +0 -39
  548. package/dist/web/binary_ns.js.map +0 -1
  549. package/dist/web/device_db_source_type.d.ts +0 -7
  550. package/dist/web/device_db_source_type.js +0 -14
  551. package/dist/web/device_db_source_type.js.map +0 -1
  552. package/dist/web/exceptions/binary_command_failed_exception.d.ts +0 -14
  553. package/dist/web/exceptions/binary_command_failed_exception.js +0 -32
  554. package/dist/web/exceptions/binary_command_failed_exception.js.map +0 -1
  555. package/dist/web/exceptions/binary_command_failed_exception_data.d.ts +0 -12
  556. package/dist/web/exceptions/binary_command_failed_exception_data.js +0 -17
  557. package/dist/web/exceptions/binary_command_failed_exception_data.js.map +0 -1
  558. package/dist/web/exceptions/command_failed_exception.d.ts +0 -14
  559. package/dist/web/exceptions/command_failed_exception.js +0 -32
  560. package/dist/web/exceptions/command_failed_exception.js.map +0 -1
  561. package/dist/web/exceptions/command_failed_exception_data.d.ts +0 -24
  562. package/dist/web/exceptions/command_failed_exception_data.js +0 -20
  563. package/dist/web/exceptions/command_failed_exception_data.js.map +0 -1
  564. package/dist/web/exceptions/command_preempted_exception.d.ts +0 -7
  565. package/dist/web/exceptions/command_preempted_exception.js +0 -17
  566. package/dist/web/exceptions/command_preempted_exception.js.map +0 -1
  567. package/dist/web/exceptions/connection_closed_exception.d.ts +0 -7
  568. package/dist/web/exceptions/connection_closed_exception.js +0 -17
  569. package/dist/web/exceptions/connection_closed_exception.js.map +0 -1
  570. package/dist/web/exceptions/connection_failed_exception.d.ts +0 -7
  571. package/dist/web/exceptions/connection_failed_exception.js +0 -17
  572. package/dist/web/exceptions/connection_failed_exception.js.map +0 -1
  573. package/dist/web/exceptions/conversion_failed_exception.d.ts +0 -7
  574. package/dist/web/exceptions/conversion_failed_exception.js +0 -17
  575. package/dist/web/exceptions/conversion_failed_exception.js.map +0 -1
  576. package/dist/web/exceptions/device_address_conflict_exception.d.ts +0 -14
  577. package/dist/web/exceptions/device_address_conflict_exception.js +0 -32
  578. package/dist/web/exceptions/device_address_conflict_exception.js.map +0 -1
  579. package/dist/web/exceptions/device_address_conflict_exception_data.d.ts +0 -12
  580. package/dist/web/exceptions/device_address_conflict_exception_data.js +0 -17
  581. package/dist/web/exceptions/device_address_conflict_exception_data.js.map +0 -1
  582. package/dist/web/exceptions/device_busy_exception.d.ts +0 -7
  583. package/dist/web/exceptions/device_busy_exception.js +0 -17
  584. package/dist/web/exceptions/device_busy_exception.js.map +0 -1
  585. package/dist/web/exceptions/device_db_failed_exception.d.ts +0 -7
  586. package/dist/web/exceptions/device_db_failed_exception.js +0 -17
  587. package/dist/web/exceptions/device_db_failed_exception.js.map +0 -1
  588. package/dist/web/exceptions/device_failed_exception.d.ts +0 -8
  589. package/dist/web/exceptions/device_failed_exception.js +0 -18
  590. package/dist/web/exceptions/device_failed_exception.js.map +0 -1
  591. package/dist/web/exceptions/device_not_identified_exception.d.ts +0 -7
  592. package/dist/web/exceptions/device_not_identified_exception.js +0 -17
  593. package/dist/web/exceptions/device_not_identified_exception.js.map +0 -1
  594. package/dist/web/exceptions/index.js +0 -102
  595. package/dist/web/exceptions/index.js.map +0 -1
  596. package/dist/web/exceptions/internal_error_exception.d.ts +0 -7
  597. package/dist/web/exceptions/internal_error_exception.js +0 -17
  598. package/dist/web/exceptions/internal_error_exception.js.map +0 -1
  599. package/dist/web/exceptions/invalid_argument_exception.d.ts +0 -7
  600. package/dist/web/exceptions/invalid_argument_exception.js +0 -17
  601. package/dist/web/exceptions/invalid_argument_exception.js.map +0 -1
  602. package/dist/web/exceptions/invalid_data_exception.d.ts +0 -7
  603. package/dist/web/exceptions/invalid_data_exception.js +0 -17
  604. package/dist/web/exceptions/invalid_data_exception.js.map +0 -1
  605. package/dist/web/exceptions/invalid_packet_exception.d.ts +0 -14
  606. package/dist/web/exceptions/invalid_packet_exception.js +0 -32
  607. package/dist/web/exceptions/invalid_packet_exception.js.map +0 -1
  608. package/dist/web/exceptions/invalid_packet_exception_data.d.ts +0 -16
  609. package/dist/web/exceptions/invalid_packet_exception_data.js +0 -18
  610. package/dist/web/exceptions/invalid_packet_exception_data.js.map +0 -1
  611. package/dist/web/exceptions/invalid_park_state_exception.d.ts +0 -7
  612. package/dist/web/exceptions/invalid_park_state_exception.js +0 -17
  613. package/dist/web/exceptions/invalid_park_state_exception.js.map +0 -1
  614. package/dist/web/exceptions/invalid_response_exception.d.ts +0 -14
  615. package/dist/web/exceptions/invalid_response_exception.js +0 -32
  616. package/dist/web/exceptions/invalid_response_exception.js.map +0 -1
  617. package/dist/web/exceptions/invalid_response_exception_data.d.ts +0 -12
  618. package/dist/web/exceptions/invalid_response_exception_data.js +0 -17
  619. package/dist/web/exceptions/invalid_response_exception_data.js.map +0 -1
  620. package/dist/web/exceptions/io_channel_out_of_range_exception.d.ts +0 -7
  621. package/dist/web/exceptions/io_channel_out_of_range_exception.js +0 -17
  622. package/dist/web/exceptions/io_channel_out_of_range_exception.js.map +0 -1
  623. package/dist/web/exceptions/io_failed_exception.d.ts +0 -7
  624. package/dist/web/exceptions/io_failed_exception.js +0 -17
  625. package/dist/web/exceptions/io_failed_exception.js.map +0 -1
  626. package/dist/web/exceptions/lockstep_enabled_exception.d.ts +0 -7
  627. package/dist/web/exceptions/lockstep_enabled_exception.js +0 -17
  628. package/dist/web/exceptions/lockstep_enabled_exception.js.map +0 -1
  629. package/dist/web/exceptions/lockstep_not_enabled_exception.d.ts +0 -7
  630. package/dist/web/exceptions/lockstep_not_enabled_exception.js +0 -17
  631. package/dist/web/exceptions/lockstep_not_enabled_exception.js.map +0 -1
  632. package/dist/web/exceptions/motion_lib_exception.d.ts +0 -8
  633. package/dist/web/exceptions/motion_lib_exception.js +0 -15
  634. package/dist/web/exceptions/motion_lib_exception.js.map +0 -1
  635. package/dist/web/exceptions/movement_failed_exception.d.ts +0 -14
  636. package/dist/web/exceptions/movement_failed_exception.js +0 -32
  637. package/dist/web/exceptions/movement_failed_exception.js.map +0 -1
  638. package/dist/web/exceptions/movement_failed_exception_data.d.ts +0 -16
  639. package/dist/web/exceptions/movement_failed_exception_data.js +0 -18
  640. package/dist/web/exceptions/movement_failed_exception_data.js.map +0 -1
  641. package/dist/web/exceptions/movement_interrupted_exception.d.ts +0 -14
  642. package/dist/web/exceptions/movement_interrupted_exception.js +0 -32
  643. package/dist/web/exceptions/movement_interrupted_exception.js.map +0 -1
  644. package/dist/web/exceptions/movement_interrupted_exception_data.d.ts +0 -16
  645. package/dist/web/exceptions/movement_interrupted_exception_data.js +0 -18
  646. package/dist/web/exceptions/movement_interrupted_exception_data.js.map +0 -1
  647. package/dist/web/exceptions/no_device_found_exception.d.ts +0 -7
  648. package/dist/web/exceptions/no_device_found_exception.js +0 -17
  649. package/dist/web/exceptions/no_device_found_exception.js.map +0 -1
  650. package/dist/web/exceptions/not_supported_exception.d.ts +0 -7
  651. package/dist/web/exceptions/not_supported_exception.js +0 -17
  652. package/dist/web/exceptions/not_supported_exception.js.map +0 -1
  653. package/dist/web/exceptions/os_failed_exception.d.ts +0 -7
  654. package/dist/web/exceptions/os_failed_exception.js +0 -17
  655. package/dist/web/exceptions/os_failed_exception.js.map +0 -1
  656. package/dist/web/exceptions/out_of_request_ids_exception.d.ts +0 -7
  657. package/dist/web/exceptions/out_of_request_ids_exception.js +0 -17
  658. package/dist/web/exceptions/out_of_request_ids_exception.js.map +0 -1
  659. package/dist/web/exceptions/request_timeout_exception.d.ts +0 -7
  660. package/dist/web/exceptions/request_timeout_exception.js +0 -17
  661. package/dist/web/exceptions/request_timeout_exception.js.map +0 -1
  662. package/dist/web/exceptions/serial_port_busy_exception.d.ts +0 -7
  663. package/dist/web/exceptions/serial_port_busy_exception.js +0 -17
  664. package/dist/web/exceptions/serial_port_busy_exception.js.map +0 -1
  665. package/dist/web/exceptions/setting_not_found_exception.d.ts +0 -7
  666. package/dist/web/exceptions/setting_not_found_exception.js +0 -17
  667. package/dist/web/exceptions/setting_not_found_exception.js.map +0 -1
  668. package/dist/web/exceptions/stream_execution_exception.d.ts +0 -14
  669. package/dist/web/exceptions/stream_execution_exception.js +0 -32
  670. package/dist/web/exceptions/stream_execution_exception.js.map +0 -1
  671. package/dist/web/exceptions/stream_execution_exception_data.d.ts +0 -16
  672. package/dist/web/exceptions/stream_execution_exception_data.js +0 -18
  673. package/dist/web/exceptions/stream_execution_exception_data.js.map +0 -1
  674. package/dist/web/exceptions/stream_mode_exception.d.ts +0 -7
  675. package/dist/web/exceptions/stream_mode_exception.js +0 -17
  676. package/dist/web/exceptions/stream_mode_exception.js.map +0 -1
  677. package/dist/web/exceptions/stream_movement_failed_exception.d.ts +0 -14
  678. package/dist/web/exceptions/stream_movement_failed_exception.js +0 -32
  679. package/dist/web/exceptions/stream_movement_failed_exception.js.map +0 -1
  680. package/dist/web/exceptions/stream_movement_failed_exception_data.d.ts +0 -16
  681. package/dist/web/exceptions/stream_movement_failed_exception_data.js +0 -18
  682. package/dist/web/exceptions/stream_movement_failed_exception_data.js.map +0 -1
  683. package/dist/web/exceptions/stream_movement_interrupted_exception.d.ts +0 -14
  684. package/dist/web/exceptions/stream_movement_interrupted_exception.js +0 -32
  685. package/dist/web/exceptions/stream_movement_interrupted_exception.js.map +0 -1
  686. package/dist/web/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -16
  687. package/dist/web/exceptions/stream_movement_interrupted_exception_data.js +0 -18
  688. package/dist/web/exceptions/stream_movement_interrupted_exception_data.js.map +0 -1
  689. package/dist/web/exceptions/stream_setup_failed_exception.d.ts +0 -7
  690. package/dist/web/exceptions/stream_setup_failed_exception.js +0 -17
  691. package/dist/web/exceptions/stream_setup_failed_exception.js.map +0 -1
  692. package/dist/web/exceptions/transport_already_used_exception.d.ts +0 -7
  693. package/dist/web/exceptions/transport_already_used_exception.js +0 -17
  694. package/dist/web/exceptions/transport_already_used_exception.js.map +0 -1
  695. package/dist/web/exceptions/unknown_request_exception.d.ts +0 -7
  696. package/dist/web/exceptions/unknown_request_exception.js +0 -17
  697. package/dist/web/exceptions/unknown_request_exception.js.map +0 -1
  698. package/dist/web/firmware_version.d.ts +0 -20
  699. package/dist/web/firmware_version.js +0 -19
  700. package/dist/web/firmware_version.js.map +0 -1
  701. package/dist/web/gateway/bindings.js.map +0 -1
  702. package/dist/web/gateway/call.d.ts +0 -6
  703. package/dist/web/gateway/call.js.map +0 -1
  704. package/dist/web/gateway/convert_exceptions.d.ts +0 -4
  705. package/dist/web/gateway/convert_exceptions.js +0 -74
  706. package/dist/web/gateway/convert_exceptions.js.map +0 -1
  707. package/dist/web/gateway/events.d.ts +0 -9
  708. package/dist/web/gateway/events.js +0 -60
  709. package/dist/web/gateway/events.js.map +0 -1
  710. package/dist/web/gateway/index.d.ts +0 -4
  711. package/dist/web/gateway/index.js +0 -23
  712. package/dist/web/gateway/index.js.map +0 -1
  713. package/dist/web/gateway/serialization.d.ts +0 -6
  714. package/dist/web/gateway/serialization.js +0 -39
  715. package/dist/web/gateway/serialization.js.map +0 -1
  716. package/dist/web/index.d.ts +0 -12
  717. package/dist/web/index.js +0 -33
  718. package/dist/web/index.js.map +0 -1
  719. package/dist/web/init.d.ts +0 -5
  720. package/dist/web/init.js.map +0 -1
  721. package/dist/web/library.d.ts +0 -30
  722. package/dist/web/library.js +0 -73
  723. package/dist/web/library.js.map +0 -1
  724. package/dist/web/log_output_mode.d.ts +0 -9
  725. package/dist/web/log_output_mode.js +0 -16
  726. package/dist/web/log_output_mode.js.map +0 -1
  727. package/dist/web/measurement.js.map +0 -1
  728. package/dist/web/protobufs/main_pb.d.ts +0 -5228
  729. package/dist/web/protobufs/main_pb.js +0 -39387
  730. package/dist/web/rotation_direction.d.ts +0 -9
  731. package/dist/web/rotation_direction.js +0 -16
  732. package/dist/web/rotation_direction.js.map +0 -1
  733. package/dist/web/tools.d.ts +0 -10
  734. package/dist/web/tools.js.map +0 -1
  735. package/dist/web/units.d.ts +0 -147
  736. package/dist/web/units.js +0 -167
  737. package/dist/web/units.js.map +0 -1
  738. package/dist/web/wasm/wasm-exec.d.ts +0 -1
  739. package/dist/web/wasm/wasm-exec.js.map +0 -1
  740. package/dist/web/wasm/wasm.d.ts +0 -14
  741. package/dist/web/wasm/wasm.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"stream.js","sourceRoot":"","sources":["../../../src-web/ascii/stream.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAGtD,oCAAwF;AAExF,oDAAsC;AACtC,gDAA6C;AAG7C,qEAAgE;AAEhE;;;;GAIG;AACH,MAAa,MAAM;IA+BjB,YAAY,MAAc,EAAE,QAAgB;QAC1C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAjCD;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD;;OAEG;IACH,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAGD;;OAEG;IACH,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9B,CAAC;IAED;;OAEG;IACH,IAAW,IAAI;QACb,OAAO,IAAI,CAAC,aAAa,EAAE,CAAC;IAC9B,CAAC;IAOD;;;;OAIG;IACI,KAAK,CAAC,kBAAkB,CAC7B,GAAG,IAA4B;QAE/B,MAAM,OAAO,GAAG,IAAI,OAAO,CAA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AQ,CAC/B,wBAAwB,EACxB,OAAO,EACP,OAAO,CAAC,qBAAqB,CAAC,CAAC;QACjC,OAAO,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,6CAAoB,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC;IAC3F,CAAC;IAED;;;OAGG;IACK,aAAa;QACnB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;QACnD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC3D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC7C,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEnC,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAC/B,wBAAwB,EACxB,OAAO,EACP,OAAO,CAAC,qBAAqB,CAAC,CAAC;QACjC,OAAO,QAAQ,CAAC,OAAO,EAAE,CAAC;IAC5B,CAAC;CACF;AA9zBD,wBA8zBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport { Time, Native, Acceleration, AngularVelocity, Velocity, Units } from '../units';\nimport { RotationDirection } from '../rotation_direction';\nimport * as gateway from '../gateway';\nimport { Measurement } from '../measurement';\nimport { StreamBuffer } from './stream_buffer';\nimport { StreamMode } from './stream_mode';\nimport { StreamAxisDefinition } from './stream_axis_definition';\n\n/**\n * A handle for a stream with this ID on the device.\n * Streams provide a way to execute or store a sequence of actions.\n * Stream methods append actions to a queue which executes or stores actions in a first in, first out order.\n */\nexport class Stream {\n /**\n * Device that controls this stream.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The number that identifies the stream on the device.\n */\n public get streamId(): number {\n return this._streamId;\n }\n private _streamId: number;\n\n /**\n * Current mode of the stream.\n */\n public get mode(): StreamMode {\n return this._retrieveMode();\n }\n\n /**\n * An array of axes definitions the stream is set up to control.\n */\n public get axes(): StreamAxisDefinition[] {\n return this._retrieveAxes();\n }\n\n constructor(device: Device, streamId: number) {\n this._device = device;\n this._streamId = streamId;\n }\n\n /**\n * Setup the stream to control the specified axes and to queue actions on the device.\n * Allows use of lockstep axes in a stream.\n * @param axes Definition of the stream axes.\n */\n public async setupLiveComposite(\n ...axes: StreamAxisDefinition[]\n ): Promise<void> {\n const request = new gateway.StreamSetupLiveCompositeRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setAxesList(axes.map(StreamAxisDefinition.toProtobuf));\n\n await gateway.callAsync('device/stream_setup_live_composite', request);\n }\n\n /**\n * Setup the stream to control the specified axes and to queue actions on the device.\n * @param axes Numbers of physical axes to setup the stream on.\n */\n public async setupLive(\n ...axes: number[]\n ): Promise<void> {\n const request = new gateway.StreamSetupLiveRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setAxesList(axes);\n\n await gateway.callAsync('device/stream_setup_live', request);\n }\n\n /**\n * Setup the stream to control the specified axes and queue actions into a stream buffer.\n * Allows use of lockstep axes in a stream.\n * @param streamBuffer The stream buffer to queue actions in.\n * @param axes Definition of the stream axes.\n */\n public async setupStoreComposite(\n streamBuffer: StreamBuffer,\n ...axes: StreamAxisDefinition[]\n ): Promise<void> {\n const request = new gateway.StreamSetupStoreCompositeRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setStreamBuffer(streamBuffer.bufferId);\n request.setAxesList(axes.map(StreamAxisDefinition.toProtobuf));\n\n await gateway.callAsync('device/stream_setup_store_composite', request);\n }\n\n /**\n * Setup the stream to control the specified axes and queue actions into a stream buffer.\n * @param streamBuffer The stream buffer to queue actions in.\n * @param axes Numbers of physical axes to setup the stream on.\n */\n public async setupStore(\n streamBuffer: StreamBuffer,\n ...axes: number[]\n ): Promise<void> {\n const request = new gateway.StreamSetupStoreRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setStreamBuffer(streamBuffer.bufferId);\n request.setAxesList(axes);\n\n await gateway.callAsync('device/stream_setup_store', request);\n }\n\n /**\n * Setup the stream to use a specified number of axes, and to queue actions in a stream buffer.\n * Afterwards, you may call the resulting stream buffer on arbitrary axes.\n * This mode does not allow for unit conversions.\n * @param streamBuffer The stream buffer to queue actions in.\n * @param axesCount The number of axes in the stream.\n */\n public async setupStoreArbitraryAxes(\n streamBuffer: StreamBuffer,\n axesCount: number\n ): Promise<void> {\n const request = new gateway.StreamSetupStoreArbitraryAxesRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setStreamBuffer(streamBuffer.bufferId);\n request.setAxesCount(axesCount);\n\n await gateway.callAsync('device/stream_setup_store_arbitrary_axes', request);\n }\n\n /**\n * Append the actions in a stream buffer to the queue.\n * @param streamBuffer The stream buffer to call.\n */\n public async call(\n streamBuffer: StreamBuffer\n ): Promise<void> {\n const request = new gateway.StreamCallRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setStreamBuffer(streamBuffer.bufferId);\n\n await gateway.callAsync('device/stream_call', request);\n }\n\n /**\n * Queue an absolute line movement in the stream.\n * @param endpoint Positions for the axes to move to, relative to their home positions.\n */\n public async lineAbsolute(\n ...endpoint: Measurement[]\n ): Promise<void> {\n const request = new gateway.StreamLineRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamLineRequest.Type.ABS);\n request.setEndpointList(endpoint.map(Measurement.toProtobuf));\n\n await gateway.callAsync('device/stream_line', request);\n }\n\n /**\n * Queue a relative line movement in the stream.\n * @param endpoint Positions for the axes to move to, relative to their positions before movement.\n */\n public async lineRelative(\n ...endpoint: Measurement[]\n ): Promise<void> {\n const request = new gateway.StreamLineRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamLineRequest.Type.REL);\n request.setEndpointList(endpoint.map(Measurement.toProtobuf));\n\n await gateway.callAsync('device/stream_line', request);\n }\n\n /**\n * Queue an absolute line movement in the stream, targeting a subset of the stream axes.\n * @param targetAxesIndices Indices of the axes in the stream the movement targets.\n * Refers to the axes provided during the stream setup or further execution.\n * Indices are zero-based.\n * @param endpoint Positions for the axes to move to, relative to their home positions.\n */\n public async lineAbsoluteOn(\n targetAxesIndices: number[],\n endpoint: Measurement[]\n ): Promise<void> {\n const request = new gateway.StreamLineRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamLineRequest.Type.ABS);\n request.setTargetAxesIndicesList(targetAxesIndices);\n request.setEndpointList(endpoint.map(Measurement.toProtobuf));\n\n await gateway.callAsync('device/stream_line', request);\n }\n\n /**\n * Queue a relative line movement in the stream, targeting a subset of the stream axes.\n * @param targetAxesIndices Indices of the axes in the stream the movement targets.\n * Refers to the axes provided during the stream setup or further execution.\n * Indices are zero-based.\n * @param endpoint Positions for the axes to move to, relative to their positions before movement.\n */\n public async lineRelativeOn(\n targetAxesIndices: number[],\n endpoint: Measurement[]\n ): Promise<void> {\n const request = new gateway.StreamLineRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamLineRequest.Type.REL);\n request.setTargetAxesIndicesList(targetAxesIndices);\n request.setEndpointList(endpoint.map(Measurement.toProtobuf));\n\n await gateway.callAsync('device/stream_line', request);\n }\n\n /**\n * Queue an absolute arc movement on the first two axes of the stream.\n * Absolute meaning that the home positions of the axes is treated as the origin.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimensions of the position of the center of the circle on which the arc exists.\n * @param centerY The second dimensions of the position of the center of the circle on which the arc exists.\n * @param endX The first dimensions of the end position of the arc.\n * @param endY The second dimensions of the end position of the arc.\n */\n public async arcAbsolute(\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement,\n endX: Measurement,\n endY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamArcRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamArcRequest.Type.ABS);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n request.setEndX(Measurement.toProtobuf(endX));\n request.setEndY(Measurement.toProtobuf(endY));\n\n await gateway.callAsync('device/stream_arc', request);\n }\n\n /**\n * Queue a relative arc movement on the first two axes of the stream.\n * Relative meaning that the current position of the axes is treated as the origin.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimensions of the position of the center of the circle on which the arc exists.\n * @param centerY The second dimensions of the position of the center of the circle on which the arc exists.\n * @param endX The first dimensions of the end position of the arc.\n * @param endY The second dimensions of the end position of the arc.\n */\n public async arcRelative(\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement,\n endX: Measurement,\n endY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamArcRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamArcRequest.Type.REL);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n request.setEndX(Measurement.toProtobuf(endX));\n request.setEndY(Measurement.toProtobuf(endY));\n\n await gateway.callAsync('device/stream_arc', request);\n }\n\n /**\n * Queue an absolute arc movement in the stream.\n * The movement will only target the specified subset of axes in the stream.\n * @param targetAxesIndices Indices of the axes in the stream the movement targets.\n * Refers to the axes provided during the stream setup or further execution.\n * Indices are zero-based.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimensions of the position of the center of the circle on which the arc exists.\n * @param centerY The second dimensions of the position of the center of the circle on which the arc exists.\n * @param endX The first dimensions of the end position of the arc.\n * @param endY The second dimensions of the end position of the arc.\n */\n public async arcAbsoluteOn(\n targetAxesIndices: number[],\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement,\n endX: Measurement,\n endY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamArcRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamArcRequest.Type.ABS);\n request.setTargetAxesIndicesList(targetAxesIndices);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n request.setEndX(Measurement.toProtobuf(endX));\n request.setEndY(Measurement.toProtobuf(endY));\n\n await gateway.callAsync('device/stream_arc', request);\n }\n\n /**\n * Queue a relative arc movement in the stream.\n * The movement will only target the specified subset of axes in the stream.\n * @param targetAxesIndices Indices of the axes in the stream the movement targets.\n * Refers to the axes provided during the stream setup or further execution.\n * Indices are zero-based.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimensions of the position of the center of the circle on which the arc exists.\n * @param centerY The second dimensions of the position of the center of the circle on which the arc exists.\n * @param endX The first dimensions of the end position of the arc.\n * @param endY The second dimensions of the end position of the arc.\n */\n public async arcRelativeOn(\n targetAxesIndices: number[],\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement,\n endX: Measurement,\n endY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamArcRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamArcRequest.Type.REL);\n request.setTargetAxesIndicesList(targetAxesIndices);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n request.setEndX(Measurement.toProtobuf(endX));\n request.setEndY(Measurement.toProtobuf(endY));\n\n await gateway.callAsync('device/stream_arc', request);\n }\n\n /**\n * Queue an absolute circle movement on the first two axes of the stream.\n * Absolute meaning that the home positions of the axes are treated as the origin.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimension of the position of the center of the circle.\n * @param centerY The second dimension of the position of the center of the circle.\n */\n public async circleAbsolute(\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamCircleRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamCircleRequest.Type.ABS);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n\n await gateway.callAsync('device/stream_circle', request);\n }\n\n /**\n * Queue a relative circle movement on the first two axes of the stream.\n * Relative meaning that the current position of the axes is treated as the origin.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimension of the position of the center of the circle.\n * @param centerY The second dimension of the position of the center of the circle.\n */\n public async circleRelative(\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamCircleRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamCircleRequest.Type.REL);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n\n await gateway.callAsync('device/stream_circle', request);\n }\n\n /**\n * Queue an absolute circle movement in the stream.\n * The movement will only target the specified subset of axes in the stream.\n * @param targetAxesIndices Indices of the axes in the stream the movement targets.\n * Refers to the axes provided during the stream setup or further execution.\n * Indices are zero-based.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimension of the position of the center of the circle.\n * @param centerY The second dimension of the position of the center of the circle.\n */\n public async circleAbsoluteOn(\n targetAxesIndices: number[],\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamCircleRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamCircleRequest.Type.ABS);\n request.setTargetAxesIndicesList(targetAxesIndices);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n\n await gateway.callAsync('device/stream_circle', request);\n }\n\n /**\n * Queue a relative circle movement in the stream.\n * The movement will only target the specified subset of axes in the stream.\n * @param targetAxesIndices Indices of the axes in the stream the movement targets.\n * Refers to the axes provided during the stream setup or further execution.\n * Indices are zero-based.\n * @param rotationDirection The direction of the rotation.\n * @param centerX The first dimension of the position of the center of the circle.\n * @param centerY The second dimension of the position of the center of the circle.\n */\n public async circleRelativeOn(\n targetAxesIndices: number[],\n rotationDirection: RotationDirection,\n centerX: Measurement,\n centerY: Measurement\n ): Promise<void> {\n const request = new gateway.StreamCircleRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setType(gateway.StreamCircleRequest.Type.REL);\n request.setTargetAxesIndicesList(targetAxesIndices);\n request.setRotationDirection(rotationDirection as any);\n request.setCenterX(Measurement.toProtobuf(centerX));\n request.setCenterY(Measurement.toProtobuf(centerY));\n\n await gateway.callAsync('device/stream_circle', request);\n }\n\n /**\n * Wait for a digital input channel to reach a given value.\n * @param channelNumber The number of the digital input channel.\n * Channel numbers are numbered from one.\n * @param value The value that the stream should wait for.\n */\n public async waitDigitalInput(\n channelNumber: number,\n value: boolean\n ): Promise<void> {\n const request = new gateway.StreamWaitDigitalInputRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setChannelNumber(channelNumber);\n request.setValue(value);\n\n await gateway.callAsync('device/stream_wait_digital_input', request);\n }\n\n /**\n * Wait for the value of a analog input channel to reach a condition concerning a given value.\n * @param channelNumber The number of the analog input channel.\n * Channel numbers are numbered from one.\n * @param condition A condition (e.g. <, <=, ==, !=).\n * @param value The value that the condition concerns, in volts.\n */\n public async waitAnalogInput(\n channelNumber: number,\n condition: string,\n value: number\n ): Promise<void> {\n const request = new gateway.StreamWaitAnalogInputRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setChannelNumber(channelNumber);\n request.setCondition(condition);\n request.setValue(value);\n\n await gateway.callAsync('device/stream_wait_analog_input', request);\n }\n\n /**\n * Set the value of a digital output channel.\n * @param channelNumber The number of the digital output channel.\n * Channel numbers are numbered from one.\n * @param value The value to set the channel to.\n */\n public async setDigitalOutput(\n channelNumber: number,\n value: boolean\n ): Promise<void> {\n const request = new gateway.StreamSetDigitalOutputRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setChannelNumber(channelNumber);\n request.setValue(value);\n\n await gateway.callAsync('device/stream_set_digital_output', request);\n }\n\n /**\n * Set the value of an analog output channel.\n * @param channelNumber The number of the analog output channel.\n * Channel numbers are numbered from one.\n * @param value The value to set the channel to, in volts.\n */\n public async setAnalogOutput(\n channelNumber: number,\n value: number\n ): Promise<void> {\n const request = new gateway.StreamSetAnalogOutputRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setChannelNumber(channelNumber);\n request.setValue(value);\n\n await gateway.callAsync('device/stream_set_analog_output', request);\n }\n\n /**\n * Toggle the value of a digital output channel.\n * @param channelNumber The number of the digital output channel.\n * Channel numbers are numbered from one.\n */\n public async toggleDigitalOutput(\n channelNumber: number\n ): Promise<void> {\n const request = new gateway.StreamToggleDigitalOutputRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setChannelNumber(channelNumber);\n\n await gateway.callAsync('device/stream_toggle_digital_output', request);\n }\n\n /**\n * Wait a specified time.\n * @param time Amount of time to wait.\n * @param unit Units of time.\n */\n public async wait(\n time: number,\n unit: Time | Native = Units.NATIVE\n ): Promise<void> {\n const request = new gateway.StreamWaitRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setTime(time);\n request.setUnit(unit);\n\n await gateway.callAsync('device/stream_wait', request);\n }\n\n /**\n * Waits until the live stream executes all queued actions.\n * @param throwErrorOnFault Determines whether to throw error when fault is observed.\n */\n public async waitUntilIdle(\n throwErrorOnFault: boolean = true\n ): Promise<void> {\n const request = new gateway.StreamWaitUntilIdleRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setThrowErrorOnFault(throwErrorOnFault);\n\n await gateway.callAsync('device/stream_wait_until_idle', request);\n }\n\n /**\n * Cork the front of the stream's action queue, blocking execution.\n * Execution resumes upon uncorking the queue, or when the number of queued actions reaches its limit.\n * Corking eliminates discontinuities in motion due to subsequent stream commands reaching the device late.\n * You can only cork an idle live stream.\n */\n public async cork(): Promise<void> {\n const request = new gateway.StreamCorkRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n await gateway.callAsync('device/stream_cork', request);\n }\n\n /**\n * Uncork the front of the queue, unblocking command execution.\n * You can only uncork an idle live stream that is corked.\n */\n public async uncork(): Promise<void> {\n const request = new gateway.StreamUncorkRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n await gateway.callAsync('device/stream_uncork', request);\n }\n\n /**\n * Returns a boolean value indicating whether the live stream is executing a queued action.\n * @return True if the stream is executing a queued action.\n */\n public async isBusy(): Promise<boolean> {\n const request = new gateway.StreamIsBusyRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n const response = await gateway.callAsync<gateway.StreamIsBusyResponse>(\n 'device/stream_is_busy',\n request,\n gateway.StreamIsBusyResponse);\n return response.getIsBusy();\n }\n\n /**\n * Gets the maximum speed of the live stream.\n * Converts the units using the first axis of the stream.\n * @param unit Units of velocity.\n * @return The maximum speed of the stream.\n */\n public async getMaxSpeed(\n unit: Velocity | AngularVelocity | Native = Units.NATIVE\n ): Promise<number> {\n const request = new gateway.StreamGetMaxSpeedRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setUnit(unit);\n\n const response = await gateway.callAsync<gateway.StreamGetMaxSpeedResponse>(\n 'device/stream_get_max_speed',\n request,\n gateway.StreamGetMaxSpeedResponse);\n return response.getMaxSpeed();\n }\n\n /**\n * Sets the maximum speed of the live stream.\n * Converts the units using the first axis of the stream.\n * @param maxSpeed Maximum speed at which any stream action is executed.\n * @param unit Units of velocity.\n */\n public async setMaxSpeed(\n maxSpeed: number,\n unit: Velocity | AngularVelocity | Native = Units.NATIVE\n ): Promise<void> {\n const request = new gateway.StreamSetMaxSpeedRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setMaxSpeed(maxSpeed);\n request.setUnit(unit);\n\n await gateway.callAsync('device/stream_set_max_speed', request);\n }\n\n /**\n * Gets the maximum tangential acceleration of the live stream.\n * Converts the units using the first axis of the stream.\n * @param unit Units of acceleration.\n * @return The maximum tangential acceleration of the live stream.\n */\n public async getMaxTangentialAcceleration(\n unit: Acceleration | Native = Units.NATIVE\n ): Promise<number> {\n const request = new gateway.StreamGetMaxTangentialAccelerationRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setUnit(unit);\n\n const response = await gateway.callAsync<gateway.StreamGetMaxTangentialAccelerationResponse>(\n 'device/stream_get_max_tangential_acceleration',\n request,\n gateway.StreamGetMaxTangentialAccelerationResponse);\n return response.getMaxTangentialAcceleration();\n }\n\n /**\n * Sets the maximum tangential acceleration of the live stream.\n * Converts the units using the first axis of the stream.\n * @param maxTangentialAcceleration Maximum tangential acceleration at which any stream action is executed.\n * @param unit Units of acceleration.\n */\n public async setMaxTangentialAcceleration(\n maxTangentialAcceleration: number,\n unit: Acceleration | Native = Units.NATIVE\n ): Promise<void> {\n const request = new gateway.StreamSetMaxTangentialAccelerationRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setMaxTangentialAcceleration(maxTangentialAcceleration);\n request.setUnit(unit);\n\n await gateway.callAsync('device/stream_set_max_tangential_acceleration', request);\n }\n\n /**\n * Gets the maximum centripetal acceleration of the live stream.\n * Converts the units using the first axis of the stream.\n * @param unit Units of acceleration.\n * @return The maximum centripetal acceleration of the live stream.\n */\n public async getMaxCentripetalAcceleration(\n unit: Acceleration | Native = Units.NATIVE\n ): Promise<number> {\n const request = new gateway.StreamGetMaxCentripetalAccelerationRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setUnit(unit);\n\n const response = await gateway.callAsync<gateway.StreamGetMaxCentripetalAccelerationResponse>(\n 'device/stream_get_max_centripetal_acceleration',\n request,\n gateway.StreamGetMaxCentripetalAccelerationResponse);\n return response.getMaxCentripetalAcceleration();\n }\n\n /**\n * Sets the maximum centripetal acceleration of the live stream.\n * Converts the units using the first axis of the stream.\n * @param maxCentripetalAcceleration Maximum centripetal acceleration at which any stream action is executed.\n * @param unit Units of acceleration.\n */\n public async setMaxCentripetalAcceleration(\n maxCentripetalAcceleration: number,\n unit: Acceleration | Native = Units.NATIVE\n ): Promise<void> {\n const request = new gateway.StreamSetMaxCentripetalAccelerationRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n request.setMaxCentripetalAcceleration(maxCentripetalAcceleration);\n request.setUnit(unit);\n\n await gateway.callAsync('device/stream_set_max_centripetal_acceleration', request);\n }\n\n /**\n * Returns a string which represents the stream.\n * @return String which represents the stream.\n */\n public toString(): string {\n const request = new gateway.StreamToStringRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n const response = gateway.callSync<gateway.StreamToStringResponse>(\n 'device/stream_to_string',\n request,\n gateway.StreamToStringResponse);\n return response.getToStr();\n }\n\n /**\n * Disable the stream.\n * If the stream is not setup, this command does nothing.\n * Once disabled, the stream will no longer accept stream commands.\n * The stream will process the rest of the commands in the queue until it is empty.\n */\n public async disable(): Promise<void> {\n const request = new gateway.StreamDisableRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n await gateway.callAsync('device/stream_disable', request);\n }\n\n /**\n * Gets the axes of the stream.\n * @return An array of axis numbers of the axes the stream is set up to control.\n */\n private _retrieveAxes(): StreamAxisDefinition[] {\n const request = new gateway.StreamGetAxesRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n const response = gateway.callSync<gateway.StreamGetAxesResponse>(\n 'device/stream_get_axes',\n request,\n gateway.StreamGetAxesResponse);\n return response.toObject().axesList.map(resp => StreamAxisDefinition.fromProtobuf(resp));\n }\n\n /**\n * Get the mode of the stream.\n * @return Mode of the stream.\n */\n private _retrieveMode(): StreamMode {\n const request = new gateway.StreamGetModeRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setStreamId(this.streamId);\n\n const response = gateway.callSync<gateway.StreamGetModeResponse>(\n 'device/stream_get_mode',\n request,\n gateway.StreamGetModeResponse);\n return response.getMode();\n }\n}\n"]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"stream_axis_definition.js","sourceRoot":"","sources":["../../../src-web/ascii/stream_axis_definition.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,oDAAsC;AAmBtC,IAAiB,oBAAoB,CAiBpC;AAjBD,WAAiB,oBAAoB;IACtB,2BAAM,GAAG,sBAAsB,CAAC;IAE7C,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAA6C;QACxE,OAAO;YACL,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,QAAQ,EAAE,MAAM,CAAC,QAAe;SACjC,CAAC;IACJ,CAAC;IALe,iCAAY,eAK3B,CAAA;IACD,gBAAgB;IAChB,SAAgB,UAAU,CAAC,MAA4B;QACrD,MAAM,MAAM,GAAG,IAAI,OAAO,CAAC,oBAAoB,EAAE,CAAC;QAClD,MAAM,CAAC,aAAa,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;QACxC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,QAAS,CAAC,CAAC;QACrC,OAAO,MAAM,CAAC;IAChB,CAAC;IALe,+BAAU,aAKzB,CAAA;AACH,CAAC,EAjBgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAiBpC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { StreamAxisType } from './stream_axis_type';\n\n/**\n * Defines an axis of the stream.\n */\nexport interface StreamAxisDefinition {\n /**\n * Number of a physical axis or a lockstep group.\n */\n axisNumber: number;\n\n /**\n * Defines the type of the axis.\n */\n axisType?: StreamAxisType | null;\n\n}\n\nexport namespace StreamAxisDefinition {\n export const __type = 'StreamAxisDefinition';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.StreamAxisDefinition.AsObject): StreamAxisDefinition {\n return {\n axisNumber: pbData.axisNumber,\n axisType: pbData.axisType as any,\n };\n }\n /** @internal */\n export function toProtobuf(source: StreamAxisDefinition): gateway.StreamAxisDefinition {\n const pbData = new gateway.StreamAxisDefinition();\n pbData.setAxisNumber(source.axisNumber);\n pbData.setAxisType(source.axisType!);\n return pbData;\n }\n}\n"]}
@@ -1,7 +0,0 @@
1
- /**
2
- * Denotes type of the stream axis.
3
- */
4
- export declare enum StreamAxisType {
5
- PHYSICAL = 0,
6
- LOCKSTEP = 1
7
- }
@@ -1,14 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.StreamAxisType = void 0;
6
- /**
7
- * Denotes type of the stream axis.
8
- */
9
- var StreamAxisType;
10
- (function (StreamAxisType) {
11
- StreamAxisType[StreamAxisType["PHYSICAL"] = 0] = "PHYSICAL";
12
- StreamAxisType[StreamAxisType["LOCKSTEP"] = 1] = "LOCKSTEP";
13
- })(StreamAxisType = exports.StreamAxisType || (exports.StreamAxisType = {}));
14
- //# sourceMappingURL=stream_axis_type.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stream_axis_type.js","sourceRoot":"","sources":["../../../src-web/ascii/stream_axis_type.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD;;GAEG;AACH,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,2DAAY,CAAA;IACZ,2DAAY,CAAA;AACd,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\n/**\n * Denotes type of the stream axis.\n */\nexport enum StreamAxisType {\n PHYSICAL = 0,\n LOCKSTEP = 1,\n}\n"]}
@@ -1,27 +0,0 @@
1
- import { Device } from './device';
2
- /**
3
- * Represents a stream buffer with this ID on a device.
4
- * A stream buffer is a place to store a queue of stream actions.
5
- */
6
- export declare class StreamBuffer {
7
- /**
8
- * The Device this buffer exists on.
9
- */
10
- get device(): Device;
11
- private _device;
12
- /**
13
- * The number identifying the buffer on the device.
14
- */
15
- get bufferId(): number;
16
- private _bufferId;
17
- constructor(device: Device, bufferId: number);
18
- /**
19
- * Get the buffer contents as an array of strings.
20
- * @return A string array containing all the stream commands stored in the buffer.
21
- */
22
- getContent(): Promise<string[]>;
23
- /**
24
- * Erase the contents of the buffer.
25
- */
26
- erase(): Promise<void>;
27
- }
@@ -1,71 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
- }) : (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- o[k2] = m[k];
10
- }));
11
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
12
- Object.defineProperty(o, "default", { enumerable: true, value: v });
13
- }) : function(o, v) {
14
- o["default"] = v;
15
- });
16
- var __importStar = (this && this.__importStar) || function (mod) {
17
- if (mod && mod.__esModule) return mod;
18
- var result = {};
19
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
20
- __setModuleDefault(result, mod);
21
- return result;
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.StreamBuffer = void 0;
25
- const gateway = __importStar(require("../gateway"));
26
- /**
27
- * Represents a stream buffer with this ID on a device.
28
- * A stream buffer is a place to store a queue of stream actions.
29
- */
30
- class StreamBuffer {
31
- constructor(device, bufferId) {
32
- this._device = device;
33
- this._bufferId = bufferId;
34
- }
35
- /**
36
- * The Device this buffer exists on.
37
- */
38
- get device() {
39
- return this._device;
40
- }
41
- /**
42
- * The number identifying the buffer on the device.
43
- */
44
- get bufferId() {
45
- return this._bufferId;
46
- }
47
- /**
48
- * Get the buffer contents as an array of strings.
49
- * @return A string array containing all the stream commands stored in the buffer.
50
- */
51
- async getContent() {
52
- const request = new gateway.StreamBufferGetContentRequest();
53
- request.setInterfaceId(this.device.connection.interfaceId);
54
- request.setDevice(this.device.deviceAddress);
55
- request.setBufferId(this.bufferId);
56
- const response = await gateway.callAsync('device/stream_buffer_get_content', request, gateway.StreamBufferGetContentResponse);
57
- return response.getBufferLinesList();
58
- }
59
- /**
60
- * Erase the contents of the buffer.
61
- */
62
- async erase() {
63
- const request = new gateway.StreamBufferEraseRequest();
64
- request.setInterfaceId(this.device.connection.interfaceId);
65
- request.setDevice(this.device.deviceAddress);
66
- request.setBufferId(this.bufferId);
67
- await gateway.callAsync('device/stream_buffer_erase', request);
68
- }
69
- }
70
- exports.StreamBuffer = StreamBuffer;
71
- //# sourceMappingURL=stream_buffer.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stream_buffer.js","sourceRoot":"","sources":["../../../src-web/ascii/stream_buffer.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAGtD,oDAAsC;AAEtC;;;GAGG;AACH,MAAa,YAAY;IAiBvB,YAAY,MAAc,EAAE,QAAgB;QAC1C,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;IAC5B,CAAC;IAnBD;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD;;OAEG;IACH,IAAW,QAAQ;QACjB,OAAO,IAAI,CAAC,SAAS,CAAC;IACxB,CAAC;IAQD;;;OAGG;IACI,KAAK,CAAC,UAAU;QACrB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,6BAA6B,EAAE,CAAC;QAC5D,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC3D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC7C,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEnC,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,kCAAkC,EAClC,OAAO,EACP,OAAO,CAAC,8BAA8B,CAAC,CAAC;QAC1C,OAAO,QAAQ,CAAC,kBAAkB,EAAE,CAAC;IACvC,CAAC;IAED;;OAEG;IACI,KAAK,CAAC,KAAK;QAChB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,wBAAwB,EAAE,CAAC;QACvD,OAAO,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;QAC3D,OAAO,CAAC,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;QAC7C,OAAO,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QAEnC,MAAM,OAAO,CAAC,SAAS,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AAlDD,oCAkDC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport * as gateway from '../gateway';\n\n/**\n * Represents a stream buffer with this ID on a device.\n * A stream buffer is a place to store a queue of stream actions.\n */\nexport class StreamBuffer {\n /**\n * The Device this buffer exists on.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The number identifying the buffer on the device.\n */\n public get bufferId(): number {\n return this._bufferId;\n }\n private _bufferId: number;\n\n constructor(device: Device, bufferId: number) {\n this._device = device;\n this._bufferId = bufferId;\n }\n\n /**\n * Get the buffer contents as an array of strings.\n * @return A string array containing all the stream commands stored in the buffer.\n */\n public async getContent(): Promise<string[]> {\n const request = new gateway.StreamBufferGetContentRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setBufferId(this.bufferId);\n\n const response = await gateway.callAsync<gateway.StreamBufferGetContentResponse>(\n 'device/stream_buffer_get_content',\n request,\n gateway.StreamBufferGetContentResponse);\n return response.getBufferLinesList();\n }\n\n /**\n * Erase the contents of the buffer.\n */\n public async erase(): Promise<void> {\n const request = new gateway.StreamBufferEraseRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setBufferId(this.bufferId);\n\n await gateway.callAsync('device/stream_buffer_erase', request);\n }\n}\n"]}
@@ -1,9 +0,0 @@
1
- /**
2
- * Mode of a stream.
3
- */
4
- export declare enum StreamMode {
5
- DISABLED = 0,
6
- STORE = 1,
7
- STORE_ARBITRARY_AXES = 2,
8
- LIVE = 3
9
- }
@@ -1,16 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.StreamMode = void 0;
6
- /**
7
- * Mode of a stream.
8
- */
9
- var StreamMode;
10
- (function (StreamMode) {
11
- StreamMode[StreamMode["DISABLED"] = 0] = "DISABLED";
12
- StreamMode[StreamMode["STORE"] = 1] = "STORE";
13
- StreamMode[StreamMode["STORE_ARBITRARY_AXES"] = 2] = "STORE_ARBITRARY_AXES";
14
- StreamMode[StreamMode["LIVE"] = 3] = "LIVE";
15
- })(StreamMode = exports.StreamMode || (exports.StreamMode = {}));
16
- //# sourceMappingURL=stream_mode.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"stream_mode.js","sourceRoot":"","sources":["../../../src-web/ascii/stream_mode.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD;;GAEG;AACH,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,mDAAY,CAAA;IACZ,6CAAS,CAAA;IACT,2EAAwB,CAAA;IACxB,2CAAQ,CAAA;AACV,CAAC,EALW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAKrB","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\n/**\n * Mode of a stream.\n */\nexport enum StreamMode {\n DISABLED = 0,\n STORE = 1,\n STORE_ARBITRARY_AXES = 2,\n LIVE = 3,\n}\n"]}
@@ -1,38 +0,0 @@
1
- export declare class Transport {
2
- /**
3
- * The transport ID identifies this transport instance with the underlying library.
4
- */
5
- get transportId(): number;
6
- private _transportId;
7
- constructor(transportId: number);
8
- /**
9
- * Creates new instance allowing to read/write messages from/to a single connection.
10
- * @return New instance of transport.
11
- */
12
- static open(): Transport;
13
- /**
14
- * Closes the transport.
15
- * Also closes the connection using the transport.
16
- */
17
- close(): Promise<void>;
18
- /**
19
- * Closes the transport with error.
20
- * Also closes the connection using the transport propagating the error.
21
- * @param errorMessage Error to be propagated.
22
- */
23
- closeWithError(errorMessage: string): Promise<void>;
24
- /**
25
- * Writes a single message to the connection.
26
- * The message will be processed as a reply from the device.
27
- * @param message Single message of Zaber ASCII protocol.
28
- */
29
- write(message: string): Promise<void>;
30
- /**
31
- * Reads a single message generated by the connection.
32
- * The message is a request for the device.
33
- * Read should be called continuously in a loop to ensure all generated messages are processed.
34
- * Subsequent read call confirms that previous message was delivered to the device.
35
- * @return Message generated by the connection.
36
- */
37
- read(): Promise<string>;
38
- }
@@ -1,91 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
- if (k2 === undefined) k2 = k;
6
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
- }) : (function(o, m, k, k2) {
8
- if (k2 === undefined) k2 = k;
9
- o[k2] = m[k];
10
- }));
11
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
12
- Object.defineProperty(o, "default", { enumerable: true, value: v });
13
- }) : function(o, v) {
14
- o["default"] = v;
15
- });
16
- var __importStar = (this && this.__importStar) || function (mod) {
17
- if (mod && mod.__esModule) return mod;
18
- var result = {};
19
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
20
- __setModuleDefault(result, mod);
21
- return result;
22
- };
23
- Object.defineProperty(exports, "__esModule", { value: true });
24
- exports.Transport = void 0;
25
- const gateway = __importStar(require("../gateway"));
26
- class Transport {
27
- constructor(transportId) {
28
- this._transportId = transportId;
29
- }
30
- /**
31
- * The transport ID identifies this transport instance with the underlying library.
32
- */
33
- get transportId() {
34
- return this._transportId;
35
- }
36
- /**
37
- * Creates new instance allowing to read/write messages from/to a single connection.
38
- * @return New instance of transport.
39
- */
40
- static open() {
41
- const request = new gateway.EmptyRequest();
42
- const response = gateway.callSync('custom/interface/open', request, gateway.CustomInterfaceOpenResponse);
43
- return new Transport(response.getTransportId());
44
- }
45
- /**
46
- * Closes the transport.
47
- * Also closes the connection using the transport.
48
- */
49
- async close() {
50
- const request = new gateway.CustomInterfaceCloseRequest();
51
- request.setTransportId(this.transportId);
52
- await gateway.callAsync('custom/interface/close', request);
53
- }
54
- /**
55
- * Closes the transport with error.
56
- * Also closes the connection using the transport propagating the error.
57
- * @param errorMessage Error to be propagated.
58
- */
59
- async closeWithError(errorMessage) {
60
- const request = new gateway.CustomInterfaceCloseRequest();
61
- request.setTransportId(this.transportId);
62
- request.setErrorMessage(errorMessage);
63
- await gateway.callAsync('custom/interface/close', request);
64
- }
65
- /**
66
- * Writes a single message to the connection.
67
- * The message will be processed as a reply from the device.
68
- * @param message Single message of Zaber ASCII protocol.
69
- */
70
- async write(message) {
71
- const request = new gateway.CustomInterfaceWriteRequest();
72
- request.setTransportId(this.transportId);
73
- request.setMessage(message);
74
- await gateway.callAsync('custom/interface/write', request);
75
- }
76
- /**
77
- * Reads a single message generated by the connection.
78
- * The message is a request for the device.
79
- * Read should be called continuously in a loop to ensure all generated messages are processed.
80
- * Subsequent read call confirms that previous message was delivered to the device.
81
- * @return Message generated by the connection.
82
- */
83
- async read() {
84
- const request = new gateway.CustomInterfaceReadRequest();
85
- request.setTransportId(this.transportId);
86
- const response = await gateway.callAsync('custom/interface/read', request, gateway.CustomInterfaceReadResponse);
87
- return response.getMessage();
88
- }
89
- }
90
- exports.Transport = Transport;
91
- //# sourceMappingURL=transport.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"transport.js","sourceRoot":"","sources":["../../../src-web/ascii/transport.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,oDAAsC;AAEtC,MAAa,SAAS;IASpB,YAAY,WAAmB;QAC7B,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;IAClC,CAAC;IAVD;;OAEG;IACH,IAAW,WAAW;QACpB,OAAO,IAAI,CAAC,YAAY,CAAC;IAC3B,CAAC;IAOD;;;OAGG;IACI,MAAM,CAAC,IAAI;QAChB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,YAAY,EAAE,CAAC;QAE3C,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAC/B,uBAAuB,EACvB,OAAO,EACP,OAAO,CA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;QACvC,OAAO,QAAQ,CAAC,UAAU,EAAE,CAAC;IAC/B,CAAC;CACF;AArFD,8BAqFC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\nexport class Transport {\n /**\n * The transport ID identifies this transport instance with the underlying library.\n */\n public get transportId(): number {\n return this._transportId;\n }\n private _transportId: number;\n\n constructor(transportId: number) {\n this._transportId = transportId;\n }\n\n /**\n * Creates new instance allowing to read/write messages from/to a single connection.\n * @return New instance of transport.\n */\n public static open(): Transport {\n const request = new gateway.EmptyRequest();\n\n const response = gateway.callSync<gateway.CustomInterfaceOpenResponse>(\n 'custom/interface/open',\n request,\n gateway.CustomInterfaceOpenResponse);\n return new Transport(response.getTransportId());\n }\n\n /**\n * Closes the transport.\n * Also closes the connection using the transport.\n */\n public async close(): Promise<void> {\n const request = new gateway.CustomInterfaceCloseRequest();\n request.setTransportId(this.transportId);\n\n await gateway.callAsync('custom/interface/close', request);\n }\n\n /**\n * Closes the transport with error.\n * Also closes the connection using the transport propagating the error.\n * @param errorMessage Error to be propagated.\n */\n public async closeWithError(\n errorMessage: string\n ): Promise<void> {\n const request = new gateway.CustomInterfaceCloseRequest();\n request.setTransportId(this.transportId);\n request.setErrorMessage(errorMessage);\n\n await gateway.callAsync('custom/interface/close', request);\n }\n\n /**\n * Writes a single message to the connection.\n * The message will be processed as a reply from the device.\n * @param message Single message of Zaber ASCII protocol.\n */\n public async write(\n message: string\n ): Promise<void> {\n const request = new gateway.CustomInterfaceWriteRequest();\n request.setTransportId(this.transportId);\n request.setMessage(message);\n\n await gateway.callAsync('custom/interface/write', request);\n }\n\n /**\n * Reads a single message generated by the connection.\n * The message is a request for the device.\n * Read should be called continuously in a loop to ensure all generated messages are processed.\n * Subsequent read call confirms that previous message was delivered to the device.\n * @return Message generated by the connection.\n */\n public async read(): Promise<string> {\n const request = new gateway.CustomInterfaceReadRequest();\n request.setTransportId(this.transportId);\n\n const response = await gateway.callAsync<gateway.CustomInterfaceReadResponse>(\n 'custom/interface/read',\n request,\n gateway.CustomInterfaceReadResponse);\n return response.getMessage();\n }\n}\n"]}
@@ -1,37 +0,0 @@
1
- import { MessageType } from './message_type';
2
- /**
3
- * Reply that could not be matched to a request.
4
- */
5
- export interface UnknownResponseEvent {
6
- /**
7
- * Number of the device that sent the message.
8
- */
9
- deviceAddress: number;
10
- /**
11
- * Number of the axis which the response applies to. Zero denotes device scope.
12
- */
13
- axisNumber: number;
14
- /**
15
- * The reply flag indicates if the request was accepted (OK) or rejected (RJ).
16
- */
17
- replyFlag: string;
18
- /**
19
- * The device status contains BUSY when the axis is moving and IDLE otherwise.
20
- */
21
- status: string;
22
- /**
23
- * The warning flag contains the highest priority warning currently active for the device or axis.
24
- */
25
- warningFlag: string;
26
- /**
27
- * Response data which varies depending on the request.
28
- */
29
- data: string;
30
- /**
31
- * Type of the reply received.
32
- */
33
- messageType: MessageType;
34
- }
35
- export declare namespace UnknownResponseEvent {
36
- const __type = "UnknownResponseEvent";
37
- }
@@ -1,23 +0,0 @@
1
- "use strict";
2
- // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
- // ============= DO NOT EDIT DIRECTLY ============= //
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.UnknownResponseEvent = void 0;
6
- var UnknownResponseEvent;
7
- (function (UnknownResponseEvent) {
8
- UnknownResponseEvent.__type = 'UnknownResponseEvent';
9
- /** @internal */
10
- function fromProtobuf(pbData) {
11
- return {
12
- deviceAddress: pbData.deviceAddress,
13
- axisNumber: pbData.axisNumber,
14
- replyFlag: pbData.replyFlag,
15
- status: pbData.status,
16
- warningFlag: pbData.warningFlag,
17
- data: pbData.data,
18
- messageType: pbData.messageType,
19
- };
20
- }
21
- UnknownResponseEvent.fromProtobuf = fromProtobuf;
22
- })(UnknownResponseEvent = exports.UnknownResponseEvent || (exports.UnknownResponseEvent = {}));
23
- //# sourceMappingURL=unknown_response_event.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unknown_response_event.js","sourceRoot":"","sources":["../../../src-web/ascii/unknown_response_event.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AA8CtD,IAAiB,oBAAoB,CAepC;AAfD,WAAiB,oBAAoB;IACtB,2BAAM,GAAG,sBAAsB,CAAC;IAE7C,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAA6C;QACxE,OAAO;YACL,aAAa,EAAE,MAAM,CAAC,aAAa;YACnC,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,WAAW,EAAE,MAAM,CAAC,WAAkB;SACvC,CAAC;IACJ,CAAC;IAVe,iCAAY,eAU3B,CAAA;AACH,CAAC,EAfgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAepC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { MessageType } from './message_type';\n\n/**\n * Reply that could not be matched to a request.\n */\nexport interface UnknownResponseEvent {\n /**\n * Number of the device that sent the message.\n */\n deviceAddress: number;\n\n /**\n * Number of the axis which the response applies to. Zero denotes device scope.\n */\n axisNumber: number;\n\n /**\n * The reply flag indicates if the request was accepted (OK) or rejected (RJ).\n */\n replyFlag: string;\n\n /**\n * The device status contains BUSY when the axis is moving and IDLE otherwise.\n */\n status: string;\n\n /**\n * The warning flag contains the highest priority warning currently active for the device or axis.\n */\n warningFlag: string;\n\n /**\n * Response data which varies depending on the request.\n */\n data: string;\n\n /**\n * Type of the reply received.\n */\n messageType: MessageType;\n\n}\n\nexport namespace UnknownResponseEvent {\n export const __type = 'UnknownResponseEvent';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.UnknownResponseEvent.AsObject): UnknownResponseEvent {\n return {\n deviceAddress: pbData.deviceAddress,\n axisNumber: pbData.axisNumber,\n replyFlag: pbData.replyFlag,\n status: pbData.status,\n warningFlag: pbData.warningFlag,\n data: pbData.data,\n messageType: pbData.messageType as any,\n };\n }\n}\n"]}