@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.
- package/binding.gyp +2 -3
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/{node → lib}/ascii/alert_event.d.ts +0 -0
- package/dist/{node → lib}/ascii/alert_event.js +0 -0
- package/dist/{node → lib}/ascii/alert_event.js.map +0 -0
- package/dist/{node → lib}/ascii/all_axes.d.ts +0 -0
- package/dist/{node → lib}/ascii/all_axes.js +0 -0
- package/dist/{node → lib}/ascii/all_axes.js.map +0 -0
- package/dist/{web → lib}/ascii/axis.d.ts +18 -0
- package/dist/{node → lib}/ascii/axis.js +40 -0
- package/dist/lib/ascii/axis.js.map +1 -0
- package/dist/{node → lib}/ascii/axis_identity.d.ts +0 -0
- package/dist/{node → lib}/ascii/axis_identity.js +0 -0
- package/dist/{node → lib}/ascii/axis_identity.js.map +0 -0
- package/dist/{node → lib}/ascii/axis_settings.d.ts +14 -0
- package/dist/{web → lib}/ascii/axis_settings.js +30 -0
- package/dist/lib/ascii/axis_settings.js.map +1 -0
- package/dist/{node → lib}/ascii/axis_type.d.ts +0 -0
- package/dist/{node → lib}/ascii/axis_type.js +0 -0
- package/dist/{node → lib}/ascii/axis_type.js.map +0 -0
- package/dist/{web → lib}/ascii/connection.d.ts +14 -2
- package/dist/{web → lib}/ascii/connection.js +22 -2
- package/dist/lib/ascii/connection.js.map +1 -0
- package/dist/{web → lib}/ascii/device.d.ts +20 -0
- package/dist/{node → lib}/ascii/device.js +40 -0
- package/dist/lib/ascii/device.js.map +1 -0
- package/dist/{node → lib}/ascii/device_identity.d.ts +0 -0
- package/dist/{node → lib}/ascii/device_identity.js +0 -0
- package/dist/{node → lib}/ascii/device_identity.js.map +0 -0
- package/dist/{node → lib}/ascii/device_io.d.ts +0 -0
- package/dist/{node → lib}/ascii/device_io.js +0 -0
- package/dist/{node → lib}/ascii/device_io.js.map +0 -0
- package/dist/{node → lib}/ascii/device_io_info.d.ts +0 -0
- package/dist/{node → lib}/ascii/device_io_info.js +0 -0
- package/dist/{node → lib}/ascii/device_io_info.js.map +0 -0
- package/dist/{web → lib}/ascii/device_settings.d.ts +14 -0
- package/dist/{web → lib}/ascii/device_settings.js +28 -0
- package/dist/lib/ascii/device_settings.js.map +1 -0
- package/dist/{node → lib}/ascii/index.d.ts +0 -0
- package/dist/{node → lib}/ascii/index.js +0 -0
- package/dist/{node → lib}/ascii/index.js.map +0 -0
- package/dist/{node → lib}/ascii/lockstep.d.ts +0 -0
- package/dist/{node → lib}/ascii/lockstep.js +0 -0
- package/dist/{node → lib}/ascii/lockstep.js.map +0 -0
- package/dist/{node → lib}/ascii/lockstep_axes.d.ts +0 -0
- package/dist/{node → lib}/ascii/lockstep_axes.js +0 -0
- package/dist/{node → lib}/ascii/lockstep_axes.js.map +0 -0
- package/dist/{node → lib}/ascii/message_type.d.ts +0 -0
- package/dist/{node → lib}/ascii/message_type.js +0 -0
- package/dist/{node → lib}/ascii/message_type.js.map +0 -0
- package/dist/{node → lib}/ascii/response.d.ts +0 -0
- package/dist/{node → lib}/ascii/response.js +0 -0
- package/dist/{node → lib}/ascii/response.js.map +0 -0
- package/dist/{web → lib}/ascii/setting_constants.d.ts +360 -0
- package/dist/{node → lib}/ascii/setting_constants.js +360 -0
- package/dist/lib/ascii/setting_constants.js.map +1 -0
- package/dist/{web → lib}/ascii/stream.d.ts +6 -0
- package/dist/{web → lib}/ascii/stream.js +13 -0
- package/dist/lib/ascii/stream.js.map +1 -0
- package/dist/{web → lib}/ascii/stream_axis_definition.d.ts +1 -1
- package/dist/{node → lib}/ascii/stream_axis_definition.js +0 -0
- package/dist/{node → lib}/ascii/stream_axis_definition.js.map +1 -1
- package/dist/{node → lib}/ascii/stream_axis_type.d.ts +0 -0
- package/dist/{node → lib}/ascii/stream_axis_type.js +0 -0
- package/dist/{node → lib}/ascii/stream_axis_type.js.map +0 -0
- package/dist/{node → lib}/ascii/stream_buffer.d.ts +1 -0
- package/dist/{node → lib}/ascii/stream_buffer.js +1 -0
- package/dist/lib/ascii/stream_buffer.js.map +1 -0
- package/dist/{node → lib}/ascii/stream_mode.d.ts +0 -0
- package/dist/{node → lib}/ascii/stream_mode.js +0 -0
- package/dist/{node → lib}/ascii/stream_mode.js.map +0 -0
- package/dist/{node → lib}/ascii/transport.d.ts +0 -0
- package/dist/{node → lib}/ascii/transport.js +0 -0
- package/dist/{node → lib}/ascii/transport.js.map +0 -0
- package/dist/{node → lib}/ascii/unknown_response_event.d.ts +0 -0
- package/dist/{node → lib}/ascii/unknown_response_event.js +0 -0
- package/dist/{node → lib}/ascii/unknown_response_event.js.map +0 -0
- package/dist/{node → lib}/ascii/warning_flags.d.ts +0 -0
- package/dist/{node → lib}/ascii/warning_flags.js +0 -0
- package/dist/{node → lib}/ascii/warning_flags.js.map +0 -0
- package/dist/{node → lib}/ascii/warnings.d.ts +0 -0
- package/dist/{node → lib}/ascii/warnings.js +0 -0
- package/dist/{node → lib}/ascii/warnings.js.map +0 -0
- package/dist/{node → lib}/ascii_ns.d.ts +0 -0
- package/dist/{node → lib}/ascii_ns.js +0 -0
- package/dist/{node → lib}/ascii_ns.js.map +0 -0
- package/dist/{node → lib}/binary/binary_settings.d.ts +0 -0
- package/dist/{node → lib}/binary/binary_settings.js +0 -0
- package/dist/{node → lib}/binary/binary_settings.js.map +0 -0
- package/dist/{node → lib}/binary/command_code.d.ts +0 -0
- package/dist/{node → lib}/binary/command_code.js +0 -0
- package/dist/{node → lib}/binary/command_code.js.map +0 -0
- package/dist/{node → lib}/binary/connection.d.ts +0 -1
- package/dist/{web → lib}/binary/connection.js +0 -1
- package/dist/lib/binary/connection.js.map +1 -0
- package/dist/{node → lib}/binary/device.d.ts +0 -0
- package/dist/{node → lib}/binary/device.js +0 -0
- package/dist/{node → lib}/binary/device.js.map +0 -0
- package/dist/{node → lib}/binary/device_identity.d.ts +0 -0
- package/dist/{node → lib}/binary/device_identity.js +0 -0
- package/dist/{node → lib}/binary/device_identity.js.map +0 -0
- package/dist/{node → lib}/binary/device_settings.d.ts +0 -0
- package/dist/{node → lib}/binary/device_settings.js +0 -0
- package/dist/{node → lib}/binary/device_settings.js.map +0 -0
- package/dist/{node → lib}/binary/device_type.d.ts +0 -0
- package/dist/{node → lib}/binary/device_type.js +0 -0
- package/dist/{node → lib}/binary/device_type.js.map +0 -0
- package/dist/{node → lib}/binary/error_code.d.ts +0 -0
- package/dist/{node → lib}/binary/error_code.js +0 -0
- package/dist/{node → lib}/binary/error_code.js.map +0 -0
- package/dist/{node → lib}/binary/index.d.ts +0 -0
- package/dist/{node → lib}/binary/index.js +0 -0
- package/dist/{node → lib}/binary/index.js.map +0 -0
- package/dist/{node → lib}/binary/message.d.ts +0 -0
- package/dist/{node → lib}/binary/message.js +0 -0
- package/dist/{node → lib}/binary/message.js.map +0 -0
- package/dist/{node → lib}/binary/reply_code.d.ts +0 -0
- package/dist/{node → lib}/binary/reply_code.js +0 -0
- package/dist/{node → lib}/binary/reply_code.js.map +0 -0
- package/dist/{node → lib}/binary/reply_only_event.d.ts +0 -0
- package/dist/{node → lib}/binary/reply_only_event.js +0 -0
- package/dist/{node → lib}/binary/reply_only_event.js.map +0 -0
- package/dist/{node → lib}/binary/unknown_response_event.d.ts +0 -0
- package/dist/{node → lib}/binary/unknown_response_event.js +0 -0
- package/dist/{node → lib}/binary/unknown_response_event.js.map +0 -0
- package/dist/{node → lib}/binary_ns.d.ts +0 -0
- package/dist/{node → lib}/binary_ns.js +0 -0
- package/dist/{node → lib}/binary_ns.js.map +0 -0
- package/dist/lib/can_set_state_axis_response.d.ts +16 -0
- package/dist/lib/can_set_state_axis_response.js +18 -0
- package/dist/lib/can_set_state_axis_response.js.map +1 -0
- package/dist/lib/can_set_state_device_response.d.ts +17 -0
- package/dist/lib/can_set_state_device_response.js +19 -0
- package/dist/lib/can_set_state_device_response.js.map +1 -0
- package/dist/{node → lib}/device_db_source_type.d.ts +0 -0
- package/dist/{node → lib}/device_db_source_type.js +0 -0
- package/dist/{node → lib}/device_db_source_type.js.map +0 -0
- package/dist/{node → lib}/exceptions/binary_command_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/binary_command_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/binary_command_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/binary_command_failed_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/command_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/command_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/command_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/command_failed_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/command_failed_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/command_failed_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/command_preempted_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/command_preempted_exception.js +0 -0
- package/dist/{node → lib}/exceptions/command_preempted_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/connection_closed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/connection_closed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/connection_closed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/connection_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/connection_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/connection_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/conversion_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/conversion_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/conversion_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/device_address_conflict_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/device_address_conflict_exception.js +0 -0
- package/dist/{node → lib}/exceptions/device_address_conflict_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/device_address_conflict_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/device_busy_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/device_busy_exception.js +0 -0
- package/dist/{node → lib}/exceptions/device_busy_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/device_db_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/device_db_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/device_db_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/device_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/device_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/device_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/device_not_identified_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/device_not_identified_exception.js +0 -0
- package/dist/{node → lib}/exceptions/device_not_identified_exception.js.map +0 -0
- package/dist/lib/exceptions/g_code_execution_exception.d.ts +14 -0
- package/dist/lib/exceptions/g_code_execution_exception.js +32 -0
- package/dist/lib/exceptions/g_code_execution_exception.js.map +1 -0
- package/dist/lib/exceptions/g_code_execution_exception_data.d.ts +17 -0
- package/dist/lib/exceptions/g_code_execution_exception_data.js +18 -0
- package/dist/lib/exceptions/g_code_execution_exception_data.js.map +1 -0
- package/dist/lib/exceptions/g_code_syntax_exception.d.ts +14 -0
- package/dist/lib/exceptions/g_code_syntax_exception.js +32 -0
- package/dist/lib/exceptions/g_code_syntax_exception.js.map +1 -0
- package/dist/lib/exceptions/g_code_syntax_exception_data.d.ts +17 -0
- package/dist/lib/exceptions/g_code_syntax_exception_data.js +18 -0
- package/dist/lib/exceptions/g_code_syntax_exception_data.js.map +1 -0
- package/dist/{web → lib}/exceptions/index.d.ts +8 -0
- package/dist/{node → lib}/exceptions/index.js +18 -1
- package/dist/lib/exceptions/index.js.map +1 -0
- package/dist/{node → lib}/exceptions/internal_error_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/internal_error_exception.js +0 -0
- package/dist/{node → lib}/exceptions/internal_error_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_argument_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_argument_exception.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_argument_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_data_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_data_exception.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_data_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_packet_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_packet_exception.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_packet_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_packet_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_packet_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_park_state_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_park_state_exception.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_park_state_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_response_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_response_exception.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_response_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/invalid_response_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/invalid_response_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/invalid_response_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js +0 -0
- package/dist/{node → lib}/exceptions/io_channel_out_of_range_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/io_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/io_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/io_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/lockstep_enabled_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js +0 -0
- package/dist/{node → lib}/exceptions/lockstep_enabled_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js +0 -0
- package/dist/{node → lib}/exceptions/lockstep_not_enabled_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/motion_lib_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/motion_lib_exception.js +0 -0
- package/dist/{node → lib}/exceptions/motion_lib_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/movement_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/movement_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/movement_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/movement_failed_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/movement_failed_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/movement_failed_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/movement_interrupted_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/movement_interrupted_exception.js +0 -0
- package/dist/{node → lib}/exceptions/movement_interrupted_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/movement_interrupted_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/no_device_found_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/no_device_found_exception.js +0 -0
- package/dist/{node → lib}/exceptions/no_device_found_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/not_supported_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/not_supported_exception.js +0 -0
- package/dist/{node → lib}/exceptions/not_supported_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/os_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/os_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/os_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/out_of_request_ids_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js +0 -0
- package/dist/{node → lib}/exceptions/out_of_request_ids_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/request_timeout_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/request_timeout_exception.js +0 -0
- package/dist/{node → lib}/exceptions/request_timeout_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/serial_port_busy_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/serial_port_busy_exception.js +0 -0
- package/dist/{node → lib}/exceptions/serial_port_busy_exception.js.map +0 -0
- package/dist/lib/exceptions/set_device_state_exception_data.d.ts +25 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js +21 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -0
- package/dist/lib/exceptions/set_device_state_failed_exception.d.ts +14 -0
- package/dist/lib/exceptions/set_device_state_failed_exception.js +32 -0
- package/dist/lib/exceptions/set_device_state_failed_exception.js.map +1 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +20 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js +19 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -0
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.d.ts +14 -0
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.js +32 -0
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.js.map +1 -0
- package/dist/{node → lib}/exceptions/setting_not_found_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/setting_not_found_exception.js +0 -0
- package/dist/{node → lib}/exceptions/setting_not_found_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_execution_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_execution_exception.js +0 -0
- package/dist/{node → lib}/exceptions/stream_execution_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_execution_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_execution_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/stream_execution_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_mode_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_mode_exception.js +0 -0
- package/dist/{node → lib}/exceptions/stream_mode_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_failed_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js +0 -0
- package/dist/{node → lib}/exceptions/stream_movement_interrupted_exception_data.js.map +0 -0
- package/dist/{node → lib}/exceptions/stream_setup_failed_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js +0 -0
- package/dist/{node → lib}/exceptions/stream_setup_failed_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/transport_already_used_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/transport_already_used_exception.js +0 -0
- package/dist/{node → lib}/exceptions/transport_already_used_exception.js.map +0 -0
- package/dist/{node → lib}/exceptions/unknown_request_exception.d.ts +0 -0
- package/dist/{node → lib}/exceptions/unknown_request_exception.js +0 -0
- package/dist/{node → lib}/exceptions/unknown_request_exception.js.map +0 -0
- package/dist/lib/finalizer.d.ts +5 -0
- package/dist/lib/finalizer.js +21 -0
- package/dist/lib/finalizer.js.map +1 -0
- package/dist/{node → lib}/firmware_version.d.ts +0 -0
- package/dist/{node → lib}/firmware_version.js +0 -0
- package/dist/{node → lib}/firmware_version.js.map +0 -0
- package/dist/lib/gateway/bindings.d.ts +5 -0
- package/dist/lib/gateway/bindings.js +35 -0
- package/dist/lib/gateway/bindings.js.map +1 -0
- package/dist/{node/gateway/bindings.d.ts → lib/gateway/bindings.node.d.ts} +0 -0
- package/dist/{node/gateway/bindings.js → lib/gateway/bindings.node.js} +1 -1
- package/dist/lib/gateway/bindings.node.js.map +1 -0
- package/dist/{web/gateway/bindings.d.ts → lib/gateway/bindings.wasm.d.ts} +0 -0
- package/dist/{web/gateway/bindings.js → lib/gateway/bindings.wasm.js} +2 -1
- package/dist/lib/gateway/bindings.wasm.js.map +1 -0
- package/dist/{node → lib}/gateway/call.d.ts +0 -0
- package/dist/{web → lib}/gateway/call.js +2 -2
- package/dist/lib/gateway/call.js.map +1 -0
- package/dist/{node → lib}/gateway/convert_exceptions.d.ts +0 -0
- package/dist/{node → lib}/gateway/convert_exceptions.js +4 -0
- package/dist/lib/gateway/convert_exceptions.js.map +1 -0
- package/dist/{node → lib}/gateway/events.d.ts +0 -1
- package/dist/{node → lib}/gateway/events.js +4 -7
- package/dist/lib/gateway/events.js.map +1 -0
- package/dist/{node → lib}/gateway/index.d.ts +0 -0
- package/dist/{node → lib}/gateway/index.js +0 -0
- package/dist/{node → lib}/gateway/index.js.map +0 -0
- package/dist/{node → lib}/gateway/serialization.d.ts +0 -0
- package/dist/{node → lib}/gateway/serialization.js +0 -0
- package/dist/{node → lib}/gateway/serialization.js.map +0 -0
- package/dist/lib/gateway/wasm-exec.d.ts +1 -0
- package/dist/{web/wasm → lib/gateway}/wasm-exec.js +13 -54
- package/dist/lib/gateway/wasm-exec.js.map +1 -0
- package/dist/lib/gateway/wasm.d.ts +4 -0
- package/dist/{web/wasm → lib/gateway}/wasm.js +1 -3
- package/dist/lib/gateway/wasm.js.map +1 -0
- package/dist/lib/gcode/axis_mapping.d.ts +16 -0
- package/dist/{web/measurement.js → lib/gcode/axis_mapping.js} +11 -11
- package/dist/lib/gcode/axis_mapping.js.map +1 -0
- package/dist/lib/gcode/index.d.ts +8 -0
- package/dist/lib/gcode/index.js +20 -0
- package/dist/lib/gcode/index.js.map +1 -0
- package/dist/lib/gcode/translate_message.d.ts +21 -0
- package/dist/lib/gcode/translate_message.js +19 -0
- package/dist/lib/gcode/translate_message.js.map +1 -0
- package/dist/lib/gcode/translate_result.d.ts +17 -0
- package/dist/lib/gcode/translate_result.js +19 -0
- package/dist/lib/gcode/translate_result.js.map +1 -0
- package/dist/lib/gcode/translator.d.ts +68 -0
- package/dist/lib/gcode/translator.js +144 -0
- package/dist/lib/gcode/translator.js.map +1 -0
- package/dist/lib/gcode/translator_axis_definition.d.ts +20 -0
- package/dist/lib/gcode/translator_axis_definition.js +48 -0
- package/dist/lib/gcode/translator_axis_definition.js.map +1 -0
- package/dist/lib/gcode/translator_config.d.ts +18 -0
- package/dist/lib/gcode/translator_config.js +41 -0
- package/dist/lib/gcode/translator_config.js.map +1 -0
- package/dist/lib/gcode/translator_definition.d.ts +18 -0
- package/dist/{web/ascii/stream_axis_definition.js → lib/gcode/translator_definition.js} +11 -18
- package/dist/lib/gcode/translator_definition.js.map +1 -0
- package/dist/lib/gcode/translator_live.d.ts +70 -0
- package/dist/lib/gcode/translator_live.js +147 -0
- package/dist/lib/gcode/translator_live.js.map +1 -0
- package/dist/lib/gcode_ns.d.ts +19 -0
- package/dist/{web/tools.js → lib/gcode_ns.js} +14 -20
- package/dist/lib/gcode_ns.js.map +1 -0
- package/dist/{node → lib}/index.d.ts +3 -1
- package/dist/{node → lib}/index.js +6 -2
- package/dist/lib/index.js.map +1 -0
- package/dist/{node → lib}/library.d.ts +0 -0
- package/dist/{node → lib}/library.js +0 -0
- package/dist/{node → lib}/library.js.map +0 -0
- package/dist/{node → lib}/log_output_mode.d.ts +0 -0
- package/dist/{node → lib}/log_output_mode.js +0 -0
- package/dist/{node → lib}/log_output_mode.js.map +0 -0
- package/dist/{web → lib}/measurement.d.ts +1 -1
- package/dist/{node → lib}/measurement.js +0 -0
- package/dist/{node → lib}/measurement.js.map +1 -1
- package/dist/{node → lib}/protobufs/main_pb.d.ts +785 -0
- package/dist/{node → lib}/protobufs/main_pb.js +6039 -2
- package/dist/lib/protobufs/main_pb.js.map +1 -0
- package/dist/{node → lib}/rotation_direction.d.ts +0 -0
- package/dist/{node → lib}/rotation_direction.js +0 -0
- package/dist/{node → lib}/rotation_direction.js.map +0 -0
- package/dist/{node → lib}/tools.d.ts +0 -0
- package/dist/{node → lib}/tools.js +0 -0
- package/dist/{node → lib}/tools.js.map +0 -0
- package/dist/{node → lib}/units.d.ts +0 -0
- package/dist/{node → lib}/units.js +0 -0
- package/dist/{node → lib}/units.js.map +0 -0
- package/dist/lib/wasm.d.ts +4 -0
- package/dist/{web/init.js → lib/wasm.js} +5 -4
- package/dist/lib/wasm.js.map +1 -0
- package/package.json +9 -16
- package/dist/node/ascii/axis.d.ts +0 -172
- package/dist/node/ascii/axis.js.map +0 -1
- package/dist/node/ascii/axis_settings.js +0 -107
- package/dist/node/ascii/axis_settings.js.map +0 -1
- package/dist/node/ascii/connection.d.ts +0 -203
- package/dist/node/ascii/connection.js +0 -380
- package/dist/node/ascii/connection.js.map +0 -1
- package/dist/node/ascii/device.d.ts +0 -165
- package/dist/node/ascii/device.js.map +0 -1
- package/dist/node/ascii/device_settings.d.ts +0 -41
- package/dist/node/ascii/device_settings.js +0 -103
- package/dist/node/ascii/device_settings.js.map +0 -1
- package/dist/node/ascii/setting_constants.d.ts +0 -563
- package/dist/node/ascii/setting_constants.js.map +0 -1
- package/dist/node/ascii/stream.d.ts +0 -307
- package/dist/node/ascii/stream.js +0 -659
- package/dist/node/ascii/stream.js.map +0 -1
- package/dist/node/ascii/stream_axis_definition.d.ts +0 -17
- package/dist/node/ascii/stream_buffer.js.map +0 -1
- package/dist/node/binary/connection.js +0 -211
- package/dist/node/binary/connection.js.map +0 -1
- package/dist/node/exceptions/index.d.ts +0 -48
- package/dist/node/exceptions/index.js.map +0 -1
- package/dist/node/gateway/bindings.js.map +0 -1
- package/dist/node/gateway/call.js +0 -46
- package/dist/node/gateway/call.js.map +0 -1
- package/dist/node/gateway/convert_exceptions.js.map +0 -1
- package/dist/node/gateway/events.js.map +0 -1
- package/dist/node/index.js.map +0 -1
- package/dist/node/init.d.ts +0 -1
- package/dist/node/init.js +0 -8
- package/dist/node/init.js.map +0 -1
- package/dist/node/measurement.d.ts +0 -17
- package/dist/web/ascii/alert_event.d.ts +0 -28
- package/dist/web/ascii/alert_event.js +0 -21
- package/dist/web/ascii/alert_event.js.map +0 -1
- package/dist/web/ascii/all_axes.d.ts +0 -46
- package/dist/web/ascii/all_axes.js +0 -122
- package/dist/web/ascii/all_axes.js.map +0 -1
- package/dist/web/ascii/axis.js +0 -367
- package/dist/web/ascii/axis.js.map +0 -1
- package/dist/web/ascii/axis_identity.d.ts +0 -29
- package/dist/web/ascii/axis_identity.js +0 -21
- package/dist/web/ascii/axis_identity.js.map +0 -1
- package/dist/web/ascii/axis_settings.d.ts +0 -41
- package/dist/web/ascii/axis_settings.js.map +0 -1
- package/dist/web/ascii/axis_type.d.ts +0 -8
- package/dist/web/ascii/axis_type.js +0 -15
- package/dist/web/ascii/axis_type.js.map +0 -1
- package/dist/web/ascii/connection.js.map +0 -1
- package/dist/web/ascii/device.js +0 -296
- package/dist/web/ascii/device.js.map +0 -1
- package/dist/web/ascii/device_identity.d.ts +0 -33
- package/dist/web/ascii/device_identity.js +0 -23
- package/dist/web/ascii/device_identity.js.map +0 -1
- package/dist/web/ascii/device_io.d.ts +0 -80
- package/dist/web/ascii/device_io.js +0 -199
- package/dist/web/ascii/device_io.js.map +0 -1
- package/dist/web/ascii/device_io_info.d.ts +0 -24
- package/dist/web/ascii/device_io_info.js +0 -20
- package/dist/web/ascii/device_io_info.js.map +0 -1
- package/dist/web/ascii/device_settings.js.map +0 -1
- package/dist/web/ascii/index.d.ts +0 -26
- package/dist/web/ascii/index.js +0 -56
- package/dist/web/ascii/index.js.map +0 -1
- package/dist/web/ascii/lockstep.d.ts +0 -120
- package/dist/web/ascii/lockstep.js +0 -281
- package/dist/web/ascii/lockstep.js.map +0 -1
- package/dist/web/ascii/lockstep_axes.d.ts +0 -24
- package/dist/web/ascii/lockstep_axes.js +0 -20
- package/dist/web/ascii/lockstep_axes.js.map +0 -1
- package/dist/web/ascii/message_type.d.ts +0 -10
- package/dist/web/ascii/message_type.js +0 -17
- package/dist/web/ascii/message_type.js.map +0 -1
- package/dist/web/ascii/response.d.ts +0 -37
- package/dist/web/ascii/response.js +0 -23
- package/dist/web/ascii/response.js.map +0 -1
- package/dist/web/ascii/setting_constants.js +0 -570
- package/dist/web/ascii/setting_constants.js.map +0 -1
- package/dist/web/ascii/stream.js.map +0 -1
- package/dist/web/ascii/stream_axis_definition.js.map +0 -1
- package/dist/web/ascii/stream_axis_type.d.ts +0 -7
- package/dist/web/ascii/stream_axis_type.js +0 -14
- package/dist/web/ascii/stream_axis_type.js.map +0 -1
- package/dist/web/ascii/stream_buffer.d.ts +0 -27
- package/dist/web/ascii/stream_buffer.js +0 -71
- package/dist/web/ascii/stream_buffer.js.map +0 -1
- package/dist/web/ascii/stream_mode.d.ts +0 -9
- package/dist/web/ascii/stream_mode.js +0 -16
- package/dist/web/ascii/stream_mode.js.map +0 -1
- package/dist/web/ascii/transport.d.ts +0 -38
- package/dist/web/ascii/transport.js +0 -91
- package/dist/web/ascii/transport.js.map +0 -1
- package/dist/web/ascii/unknown_response_event.d.ts +0 -37
- package/dist/web/ascii/unknown_response_event.js +0 -23
- package/dist/web/ascii/unknown_response_event.js.map +0 -1
- package/dist/web/ascii/warning_flags.d.ts +0 -137
- package/dist/web/ascii/warning_flags.js +0 -144
- package/dist/web/ascii/warning_flags.js.map +0 -1
- package/dist/web/ascii/warnings.d.ts +0 -19
- package/dist/web/ascii/warnings.js +0 -62
- package/dist/web/ascii/warnings.js.map +0 -1
- package/dist/web/ascii_ns.d.ts +0 -55
- package/dist/web/ascii_ns.js +0 -53
- package/dist/web/ascii_ns.js.map +0 -1
- package/dist/web/binary/binary_settings.d.ts +0 -70
- package/dist/web/binary/binary_settings.js +0 -77
- package/dist/web/binary/binary_settings.js.map +0 -1
- package/dist/web/binary/command_code.d.ts +0 -102
- package/dist/web/binary/command_code.js +0 -109
- package/dist/web/binary/command_code.js.map +0 -1
- package/dist/web/binary/connection.d.ts +0 -115
- package/dist/web/binary/connection.js.map +0 -1
- package/dist/web/binary/device.d.ts +0 -192
- package/dist/web/binary/device.js +0 -375
- package/dist/web/binary/device.js.map +0 -1
- package/dist/web/binary/device_identity.d.ts +0 -42
- package/dist/web/binary/device_identity.js +0 -25
- package/dist/web/binary/device_identity.js.map +0 -1
- package/dist/web/binary/device_settings.d.ts +0 -24
- package/dist/web/binary/device_settings.js +0 -66
- package/dist/web/binary/device_settings.js.map +0 -1
- package/dist/web/binary/device_type.d.ts +0 -8
- package/dist/web/binary/device_type.js +0 -15
- package/dist/web/binary/device_type.js.map +0 -1
- package/dist/web/binary/error_code.d.ts +0 -97
- package/dist/web/binary/error_code.js +0 -104
- package/dist/web/binary/error_code.js.map +0 -1
- package/dist/web/binary/index.d.ts +0 -12
- package/dist/web/binary/index.js +0 -28
- package/dist/web/binary/index.js.map +0 -1
- package/dist/web/binary/message.d.ts +0 -20
- package/dist/web/binary/message.js +0 -19
- package/dist/web/binary/message.js.map +0 -1
- package/dist/web/binary/reply_code.d.ts +0 -12
- package/dist/web/binary/reply_code.js +0 -19
- package/dist/web/binary/reply_code.js.map +0 -1
- package/dist/web/binary/reply_only_event.d.ts +0 -20
- package/dist/web/binary/reply_only_event.js +0 -19
- package/dist/web/binary/reply_only_event.js.map +0 -1
- package/dist/web/binary/unknown_response_event.d.ts +0 -20
- package/dist/web/binary/unknown_response_event.js +0 -19
- package/dist/web/binary/unknown_response_event.js.map +0 -1
- package/dist/web/binary_ns.d.ts +0 -27
- package/dist/web/binary_ns.js +0 -39
- package/dist/web/binary_ns.js.map +0 -1
- package/dist/web/device_db_source_type.d.ts +0 -7
- package/dist/web/device_db_source_type.js +0 -14
- package/dist/web/device_db_source_type.js.map +0 -1
- package/dist/web/exceptions/binary_command_failed_exception.d.ts +0 -14
- package/dist/web/exceptions/binary_command_failed_exception.js +0 -32
- package/dist/web/exceptions/binary_command_failed_exception.js.map +0 -1
- package/dist/web/exceptions/binary_command_failed_exception_data.d.ts +0 -12
- package/dist/web/exceptions/binary_command_failed_exception_data.js +0 -17
- package/dist/web/exceptions/binary_command_failed_exception_data.js.map +0 -1
- package/dist/web/exceptions/command_failed_exception.d.ts +0 -14
- package/dist/web/exceptions/command_failed_exception.js +0 -32
- package/dist/web/exceptions/command_failed_exception.js.map +0 -1
- package/dist/web/exceptions/command_failed_exception_data.d.ts +0 -24
- package/dist/web/exceptions/command_failed_exception_data.js +0 -20
- package/dist/web/exceptions/command_failed_exception_data.js.map +0 -1
- package/dist/web/exceptions/command_preempted_exception.d.ts +0 -7
- package/dist/web/exceptions/command_preempted_exception.js +0 -17
- package/dist/web/exceptions/command_preempted_exception.js.map +0 -1
- package/dist/web/exceptions/connection_closed_exception.d.ts +0 -7
- package/dist/web/exceptions/connection_closed_exception.js +0 -17
- package/dist/web/exceptions/connection_closed_exception.js.map +0 -1
- package/dist/web/exceptions/connection_failed_exception.d.ts +0 -7
- package/dist/web/exceptions/connection_failed_exception.js +0 -17
- package/dist/web/exceptions/connection_failed_exception.js.map +0 -1
- package/dist/web/exceptions/conversion_failed_exception.d.ts +0 -7
- package/dist/web/exceptions/conversion_failed_exception.js +0 -17
- package/dist/web/exceptions/conversion_failed_exception.js.map +0 -1
- package/dist/web/exceptions/device_address_conflict_exception.d.ts +0 -14
- package/dist/web/exceptions/device_address_conflict_exception.js +0 -32
- package/dist/web/exceptions/device_address_conflict_exception.js.map +0 -1
- package/dist/web/exceptions/device_address_conflict_exception_data.d.ts +0 -12
- package/dist/web/exceptions/device_address_conflict_exception_data.js +0 -17
- package/dist/web/exceptions/device_address_conflict_exception_data.js.map +0 -1
- package/dist/web/exceptions/device_busy_exception.d.ts +0 -7
- package/dist/web/exceptions/device_busy_exception.js +0 -17
- package/dist/web/exceptions/device_busy_exception.js.map +0 -1
- package/dist/web/exceptions/device_db_failed_exception.d.ts +0 -7
- package/dist/web/exceptions/device_db_failed_exception.js +0 -17
- package/dist/web/exceptions/device_db_failed_exception.js.map +0 -1
- package/dist/web/exceptions/device_failed_exception.d.ts +0 -8
- package/dist/web/exceptions/device_failed_exception.js +0 -18
- package/dist/web/exceptions/device_failed_exception.js.map +0 -1
- package/dist/web/exceptions/device_not_identified_exception.d.ts +0 -7
- package/dist/web/exceptions/device_not_identified_exception.js +0 -17
- package/dist/web/exceptions/device_not_identified_exception.js.map +0 -1
- package/dist/web/exceptions/index.js +0 -102
- package/dist/web/exceptions/index.js.map +0 -1
- package/dist/web/exceptions/internal_error_exception.d.ts +0 -7
- package/dist/web/exceptions/internal_error_exception.js +0 -17
- package/dist/web/exceptions/internal_error_exception.js.map +0 -1
- package/dist/web/exceptions/invalid_argument_exception.d.ts +0 -7
- package/dist/web/exceptions/invalid_argument_exception.js +0 -17
- package/dist/web/exceptions/invalid_argument_exception.js.map +0 -1
- package/dist/web/exceptions/invalid_data_exception.d.ts +0 -7
- package/dist/web/exceptions/invalid_data_exception.js +0 -17
- package/dist/web/exceptions/invalid_data_exception.js.map +0 -1
- package/dist/web/exceptions/invalid_packet_exception.d.ts +0 -14
- package/dist/web/exceptions/invalid_packet_exception.js +0 -32
- package/dist/web/exceptions/invalid_packet_exception.js.map +0 -1
- package/dist/web/exceptions/invalid_packet_exception_data.d.ts +0 -16
- package/dist/web/exceptions/invalid_packet_exception_data.js +0 -18
- package/dist/web/exceptions/invalid_packet_exception_data.js.map +0 -1
- package/dist/web/exceptions/invalid_park_state_exception.d.ts +0 -7
- package/dist/web/exceptions/invalid_park_state_exception.js +0 -17
- package/dist/web/exceptions/invalid_park_state_exception.js.map +0 -1
- package/dist/web/exceptions/invalid_response_exception.d.ts +0 -14
- package/dist/web/exceptions/invalid_response_exception.js +0 -32
- package/dist/web/exceptions/invalid_response_exception.js.map +0 -1
- package/dist/web/exceptions/invalid_response_exception_data.d.ts +0 -12
- package/dist/web/exceptions/invalid_response_exception_data.js +0 -17
- package/dist/web/exceptions/invalid_response_exception_data.js.map +0 -1
- package/dist/web/exceptions/io_channel_out_of_range_exception.d.ts +0 -7
- package/dist/web/exceptions/io_channel_out_of_range_exception.js +0 -17
- package/dist/web/exceptions/io_channel_out_of_range_exception.js.map +0 -1
- package/dist/web/exceptions/io_failed_exception.d.ts +0 -7
- package/dist/web/exceptions/io_failed_exception.js +0 -17
- package/dist/web/exceptions/io_failed_exception.js.map +0 -1
- package/dist/web/exceptions/lockstep_enabled_exception.d.ts +0 -7
- package/dist/web/exceptions/lockstep_enabled_exception.js +0 -17
- package/dist/web/exceptions/lockstep_enabled_exception.js.map +0 -1
- package/dist/web/exceptions/lockstep_not_enabled_exception.d.ts +0 -7
- package/dist/web/exceptions/lockstep_not_enabled_exception.js +0 -17
- package/dist/web/exceptions/lockstep_not_enabled_exception.js.map +0 -1
- package/dist/web/exceptions/motion_lib_exception.d.ts +0 -8
- package/dist/web/exceptions/motion_lib_exception.js +0 -15
- package/dist/web/exceptions/motion_lib_exception.js.map +0 -1
- package/dist/web/exceptions/movement_failed_exception.d.ts +0 -14
- package/dist/web/exceptions/movement_failed_exception.js +0 -32
- package/dist/web/exceptions/movement_failed_exception.js.map +0 -1
- package/dist/web/exceptions/movement_failed_exception_data.d.ts +0 -16
- package/dist/web/exceptions/movement_failed_exception_data.js +0 -18
- package/dist/web/exceptions/movement_failed_exception_data.js.map +0 -1
- package/dist/web/exceptions/movement_interrupted_exception.d.ts +0 -14
- package/dist/web/exceptions/movement_interrupted_exception.js +0 -32
- package/dist/web/exceptions/movement_interrupted_exception.js.map +0 -1
- package/dist/web/exceptions/movement_interrupted_exception_data.d.ts +0 -16
- package/dist/web/exceptions/movement_interrupted_exception_data.js +0 -18
- package/dist/web/exceptions/movement_interrupted_exception_data.js.map +0 -1
- package/dist/web/exceptions/no_device_found_exception.d.ts +0 -7
- package/dist/web/exceptions/no_device_found_exception.js +0 -17
- package/dist/web/exceptions/no_device_found_exception.js.map +0 -1
- package/dist/web/exceptions/not_supported_exception.d.ts +0 -7
- package/dist/web/exceptions/not_supported_exception.js +0 -17
- package/dist/web/exceptions/not_supported_exception.js.map +0 -1
- package/dist/web/exceptions/os_failed_exception.d.ts +0 -7
- package/dist/web/exceptions/os_failed_exception.js +0 -17
- package/dist/web/exceptions/os_failed_exception.js.map +0 -1
- package/dist/web/exceptions/out_of_request_ids_exception.d.ts +0 -7
- package/dist/web/exceptions/out_of_request_ids_exception.js +0 -17
- package/dist/web/exceptions/out_of_request_ids_exception.js.map +0 -1
- package/dist/web/exceptions/request_timeout_exception.d.ts +0 -7
- package/dist/web/exceptions/request_timeout_exception.js +0 -17
- package/dist/web/exceptions/request_timeout_exception.js.map +0 -1
- package/dist/web/exceptions/serial_port_busy_exception.d.ts +0 -7
- package/dist/web/exceptions/serial_port_busy_exception.js +0 -17
- package/dist/web/exceptions/serial_port_busy_exception.js.map +0 -1
- package/dist/web/exceptions/setting_not_found_exception.d.ts +0 -7
- package/dist/web/exceptions/setting_not_found_exception.js +0 -17
- package/dist/web/exceptions/setting_not_found_exception.js.map +0 -1
- package/dist/web/exceptions/stream_execution_exception.d.ts +0 -14
- package/dist/web/exceptions/stream_execution_exception.js +0 -32
- package/dist/web/exceptions/stream_execution_exception.js.map +0 -1
- package/dist/web/exceptions/stream_execution_exception_data.d.ts +0 -16
- package/dist/web/exceptions/stream_execution_exception_data.js +0 -18
- package/dist/web/exceptions/stream_execution_exception_data.js.map +0 -1
- package/dist/web/exceptions/stream_mode_exception.d.ts +0 -7
- package/dist/web/exceptions/stream_mode_exception.js +0 -17
- package/dist/web/exceptions/stream_mode_exception.js.map +0 -1
- package/dist/web/exceptions/stream_movement_failed_exception.d.ts +0 -14
- package/dist/web/exceptions/stream_movement_failed_exception.js +0 -32
- package/dist/web/exceptions/stream_movement_failed_exception.js.map +0 -1
- package/dist/web/exceptions/stream_movement_failed_exception_data.d.ts +0 -16
- package/dist/web/exceptions/stream_movement_failed_exception_data.js +0 -18
- package/dist/web/exceptions/stream_movement_failed_exception_data.js.map +0 -1
- package/dist/web/exceptions/stream_movement_interrupted_exception.d.ts +0 -14
- package/dist/web/exceptions/stream_movement_interrupted_exception.js +0 -32
- package/dist/web/exceptions/stream_movement_interrupted_exception.js.map +0 -1
- package/dist/web/exceptions/stream_movement_interrupted_exception_data.d.ts +0 -16
- package/dist/web/exceptions/stream_movement_interrupted_exception_data.js +0 -18
- package/dist/web/exceptions/stream_movement_interrupted_exception_data.js.map +0 -1
- package/dist/web/exceptions/stream_setup_failed_exception.d.ts +0 -7
- package/dist/web/exceptions/stream_setup_failed_exception.js +0 -17
- package/dist/web/exceptions/stream_setup_failed_exception.js.map +0 -1
- package/dist/web/exceptions/transport_already_used_exception.d.ts +0 -7
- package/dist/web/exceptions/transport_already_used_exception.js +0 -17
- package/dist/web/exceptions/transport_already_used_exception.js.map +0 -1
- package/dist/web/exceptions/unknown_request_exception.d.ts +0 -7
- package/dist/web/exceptions/unknown_request_exception.js +0 -17
- package/dist/web/exceptions/unknown_request_exception.js.map +0 -1
- package/dist/web/firmware_version.d.ts +0 -20
- package/dist/web/firmware_version.js +0 -19
- package/dist/web/firmware_version.js.map +0 -1
- package/dist/web/gateway/bindings.js.map +0 -1
- package/dist/web/gateway/call.d.ts +0 -6
- package/dist/web/gateway/call.js.map +0 -1
- package/dist/web/gateway/convert_exceptions.d.ts +0 -4
- package/dist/web/gateway/convert_exceptions.js +0 -74
- package/dist/web/gateway/convert_exceptions.js.map +0 -1
- package/dist/web/gateway/events.d.ts +0 -9
- package/dist/web/gateway/events.js +0 -60
- package/dist/web/gateway/events.js.map +0 -1
- package/dist/web/gateway/index.d.ts +0 -4
- package/dist/web/gateway/index.js +0 -23
- package/dist/web/gateway/index.js.map +0 -1
- package/dist/web/gateway/serialization.d.ts +0 -6
- package/dist/web/gateway/serialization.js +0 -39
- package/dist/web/gateway/serialization.js.map +0 -1
- package/dist/web/index.d.ts +0 -12
- package/dist/web/index.js +0 -33
- package/dist/web/index.js.map +0 -1
- package/dist/web/init.d.ts +0 -5
- package/dist/web/init.js.map +0 -1
- package/dist/web/library.d.ts +0 -30
- package/dist/web/library.js +0 -73
- package/dist/web/library.js.map +0 -1
- package/dist/web/log_output_mode.d.ts +0 -9
- package/dist/web/log_output_mode.js +0 -16
- package/dist/web/log_output_mode.js.map +0 -1
- package/dist/web/measurement.js.map +0 -1
- package/dist/web/protobufs/main_pb.d.ts +0 -5228
- package/dist/web/protobufs/main_pb.js +0 -39387
- package/dist/web/rotation_direction.d.ts +0 -9
- package/dist/web/rotation_direction.js +0 -16
- package/dist/web/rotation_direction.js.map +0 -1
- package/dist/web/tools.d.ts +0 -10
- package/dist/web/tools.js.map +0 -1
- package/dist/web/units.d.ts +0 -147
- package/dist/web/units.js +0 -167
- package/dist/web/units.js.map +0 -1
- package/dist/web/wasm/wasm-exec.d.ts +0 -1
- package/dist/web/wasm/wasm-exec.js.map +0 -1
- package/dist/web/wasm/wasm.d.ts +0 -14
- package/dist/web/wasm/wasm.js.map +0 -1
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import { Device } from './device';
|
|
2
|
-
import { Angle, Length, Native, AngularVelocity, Velocity } from '../units';
|
|
3
|
-
import { LockstepAxes } from './lockstep_axes';
|
|
4
|
-
/**
|
|
5
|
-
* Represents a lockstep group with this ID on a device.
|
|
6
|
-
* A lockstep group is a movement synchronized pair of axes on a device.
|
|
7
|
-
*/
|
|
8
|
-
export declare class Lockstep {
|
|
9
|
-
/**
|
|
10
|
-
* Device that controls this lockstep group.
|
|
11
|
-
*/
|
|
12
|
-
get device(): Device;
|
|
13
|
-
private _device;
|
|
14
|
-
/**
|
|
15
|
-
* The number that identifies the lockstep group on the device.
|
|
16
|
-
*/
|
|
17
|
-
get lockstepGroupId(): number;
|
|
18
|
-
private _lockstepGroupId;
|
|
19
|
-
constructor(device: Device, lockstepGroupId: number);
|
|
20
|
-
/**
|
|
21
|
-
* Activate the lockstep group on the axes specified.
|
|
22
|
-
* @param axes The numbers of axes in the lockstep group.
|
|
23
|
-
*/
|
|
24
|
-
enable(...axes: number[]): Promise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* Disable the lockstep group.
|
|
27
|
-
*/
|
|
28
|
-
disable(): Promise<void>;
|
|
29
|
-
/**
|
|
30
|
-
* Stops ongoing lockstep group movement. Decelerates until zero speed.
|
|
31
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
32
|
-
*/
|
|
33
|
-
stop(waitUntilIdle?: boolean): Promise<void>;
|
|
34
|
-
/**
|
|
35
|
-
* Retracts the axes of the lockstep group until a home associated with an individual axis is detected.
|
|
36
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
37
|
-
*/
|
|
38
|
-
home(waitUntilIdle?: boolean): Promise<void>;
|
|
39
|
-
/**
|
|
40
|
-
* Move the first axis of the lockstep group to an absolute position.
|
|
41
|
-
* The other axes in the lockstep group maintain their offsets throughout movement.
|
|
42
|
-
* @param position Absolute position.
|
|
43
|
-
* @param unit Units of position.
|
|
44
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
45
|
-
*/
|
|
46
|
-
moveAbsolute(position: number, unit?: Length | Angle | Native, waitUntilIdle?: boolean): Promise<void>;
|
|
47
|
-
/**
|
|
48
|
-
* Move the first axis of the lockstep group to a position relative to its current position.
|
|
49
|
-
* The other axes in the lockstep group maintain their offsets throughout movement.
|
|
50
|
-
* @param position Relative position.
|
|
51
|
-
* @param unit Units of position.
|
|
52
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
53
|
-
*/
|
|
54
|
-
moveRelative(position: number, unit?: Length | Angle | Native, waitUntilIdle?: boolean): Promise<void>;
|
|
55
|
-
/**
|
|
56
|
-
* Moves the first axis of the lockstep group at the specified speed.
|
|
57
|
-
* The other axes in the lockstep group maintain their offsets throughout movement.
|
|
58
|
-
* @param velocity Movement velocity.
|
|
59
|
-
* @param unit Units of velocity.
|
|
60
|
-
*/
|
|
61
|
-
moveVelocity(velocity: number, unit?: Velocity | AngularVelocity | Native): Promise<void>;
|
|
62
|
-
/**
|
|
63
|
-
* Moves the axes to the maximum valid position.
|
|
64
|
-
* The axes in the lockstep group maintain their offsets throughout movement.
|
|
65
|
-
* Respects lim.max for all axes in the group.
|
|
66
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
67
|
-
*/
|
|
68
|
-
moveMax(waitUntilIdle?: boolean): Promise<void>;
|
|
69
|
-
/**
|
|
70
|
-
* Moves the axes to the minimum valid position.
|
|
71
|
-
* The axes in the lockstep group maintain their offsets throughout movement.
|
|
72
|
-
* Respects lim.min for all axes in the group.
|
|
73
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
74
|
-
*/
|
|
75
|
-
moveMin(waitUntilIdle?: boolean): Promise<void>;
|
|
76
|
-
/**
|
|
77
|
-
* Waits until the lockstep group stops moving.
|
|
78
|
-
* @param throwErrorOnFault Determines whether to throw error when fault is observed.
|
|
79
|
-
*/
|
|
80
|
-
waitUntilIdle(throwErrorOnFault?: boolean): Promise<void>;
|
|
81
|
-
/**
|
|
82
|
-
* Returns bool indicating whether the lockstep group is executing a motion command.
|
|
83
|
-
* @return True if the axes are currently executing a motion command.
|
|
84
|
-
*/
|
|
85
|
-
isBusy(): Promise<boolean>;
|
|
86
|
-
/**
|
|
87
|
-
* @deprecated Use GetAxisNumbers instead.
|
|
88
|
-
*
|
|
89
|
-
* Gets the axes of the lockstep group.
|
|
90
|
-
* @return LockstepAxes instance which contains the axes numbers of the lockstep group.
|
|
91
|
-
*/
|
|
92
|
-
getAxes(): Promise<LockstepAxes>;
|
|
93
|
-
/**
|
|
94
|
-
* Gets the axis numbers of the lockstep group.
|
|
95
|
-
* @return Axis numbers in order specified when enabling lockstep.
|
|
96
|
-
*/
|
|
97
|
-
getAxisNumbers(): Promise<number[]>;
|
|
98
|
-
/**
|
|
99
|
-
* Gets the initial offsets of secondary axes of an enabled lockstep group.
|
|
100
|
-
* @param unit Units of position.
|
|
101
|
-
* @return Initial offset for each axis of the lockstep group.
|
|
102
|
-
*/
|
|
103
|
-
getOffsets(unit?: Length | Angle | Native): Promise<number[]>;
|
|
104
|
-
/**
|
|
105
|
-
* Gets the twists of secondary axes of an enabled lockstep group.
|
|
106
|
-
* @param unit Units of position.
|
|
107
|
-
* @return Difference between the initial offset and the actual offset for each axis of the lockstep group.
|
|
108
|
-
*/
|
|
109
|
-
getTwists(unit?: Length | Angle | Native): Promise<number[]>;
|
|
110
|
-
/**
|
|
111
|
-
* Checks if the lockstep group is currently enabled on the device.
|
|
112
|
-
* @return True if a lockstep group with this ID is enabled on the device.
|
|
113
|
-
*/
|
|
114
|
-
isEnabled(): Promise<boolean>;
|
|
115
|
-
/**
|
|
116
|
-
* Returns a string which represents the enabled lockstep group.
|
|
117
|
-
* @return String which represents the enabled lockstep group.
|
|
118
|
-
*/
|
|
119
|
-
toString(): string;
|
|
120
|
-
}
|
|
@@ -1,281 +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.Lockstep = void 0;
|
|
25
|
-
const units_1 = require("../units");
|
|
26
|
-
const gateway = __importStar(require("../gateway"));
|
|
27
|
-
const lockstep_axes_1 = require("./lockstep_axes");
|
|
28
|
-
/**
|
|
29
|
-
* Represents a lockstep group with this ID on a device.
|
|
30
|
-
* A lockstep group is a movement synchronized pair of axes on a device.
|
|
31
|
-
*/
|
|
32
|
-
class Lockstep {
|
|
33
|
-
constructor(device, lockstepGroupId) {
|
|
34
|
-
this._device = device;
|
|
35
|
-
this._lockstepGroupId = lockstepGroupId;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Device that controls this lockstep group.
|
|
39
|
-
*/
|
|
40
|
-
get device() {
|
|
41
|
-
return this._device;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* The number that identifies the lockstep group on the device.
|
|
45
|
-
*/
|
|
46
|
-
get lockstepGroupId() {
|
|
47
|
-
return this._lockstepGroupId;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Activate the lockstep group on the axes specified.
|
|
51
|
-
* @param axes The numbers of axes in the lockstep group.
|
|
52
|
-
*/
|
|
53
|
-
async enable(...axes) {
|
|
54
|
-
const request = new gateway.LockstepEnableRequest();
|
|
55
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
56
|
-
request.setDevice(this.device.deviceAddress);
|
|
57
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
58
|
-
request.setAxesList(axes);
|
|
59
|
-
await gateway.callAsync('device/lockstep_enable', request);
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Disable the lockstep group.
|
|
63
|
-
*/
|
|
64
|
-
async disable() {
|
|
65
|
-
const request = new gateway.LockstepDisableRequest();
|
|
66
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
67
|
-
request.setDevice(this.device.deviceAddress);
|
|
68
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
69
|
-
await gateway.callAsync('device/lockstep_disable', request);
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Stops ongoing lockstep group movement. Decelerates until zero speed.
|
|
73
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
74
|
-
*/
|
|
75
|
-
async stop(waitUntilIdle = true) {
|
|
76
|
-
const request = new gateway.LockstepStopRequest();
|
|
77
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
78
|
-
request.setDevice(this.device.deviceAddress);
|
|
79
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
80
|
-
request.setWaitUntilIdle(waitUntilIdle);
|
|
81
|
-
await gateway.callAsync('device/lockstep_stop', request);
|
|
82
|
-
}
|
|
83
|
-
/**
|
|
84
|
-
* Retracts the axes of the lockstep group until a home associated with an individual axis is detected.
|
|
85
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
86
|
-
*/
|
|
87
|
-
async home(waitUntilIdle = true) {
|
|
88
|
-
const request = new gateway.LockstepHomeRequest();
|
|
89
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
90
|
-
request.setDevice(this.device.deviceAddress);
|
|
91
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
92
|
-
request.setWaitUntilIdle(waitUntilIdle);
|
|
93
|
-
await gateway.callAsync('device/lockstep_home', request);
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Move the first axis of the lockstep group to an absolute position.
|
|
97
|
-
* The other axes in the lockstep group maintain their offsets throughout movement.
|
|
98
|
-
* @param position Absolute position.
|
|
99
|
-
* @param unit Units of position.
|
|
100
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
101
|
-
*/
|
|
102
|
-
async moveAbsolute(position, unit = units_1.Units.NATIVE, waitUntilIdle = true) {
|
|
103
|
-
const request = new gateway.LockstepMoveRequest();
|
|
104
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
105
|
-
request.setDevice(this.device.deviceAddress);
|
|
106
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
107
|
-
request.setType(gateway.LockstepMoveRequest.MoveType.ABS);
|
|
108
|
-
request.setArg(position);
|
|
109
|
-
request.setUnit(unit);
|
|
110
|
-
request.setWaitUntilIdle(waitUntilIdle);
|
|
111
|
-
await gateway.callAsync('device/lockstep_move', request);
|
|
112
|
-
}
|
|
113
|
-
/**
|
|
114
|
-
* Move the first axis of the lockstep group to a position relative to its current position.
|
|
115
|
-
* The other axes in the lockstep group maintain their offsets throughout movement.
|
|
116
|
-
* @param position Relative position.
|
|
117
|
-
* @param unit Units of position.
|
|
118
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
119
|
-
*/
|
|
120
|
-
async moveRelative(position, unit = units_1.Units.NATIVE, waitUntilIdle = true) {
|
|
121
|
-
const request = new gateway.LockstepMoveRequest();
|
|
122
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
123
|
-
request.setDevice(this.device.deviceAddress);
|
|
124
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
125
|
-
request.setType(gateway.LockstepMoveRequest.MoveType.REL);
|
|
126
|
-
request.setArg(position);
|
|
127
|
-
request.setUnit(unit);
|
|
128
|
-
request.setWaitUntilIdle(waitUntilIdle);
|
|
129
|
-
await gateway.callAsync('device/lockstep_move', request);
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* Moves the first axis of the lockstep group at the specified speed.
|
|
133
|
-
* The other axes in the lockstep group maintain their offsets throughout movement.
|
|
134
|
-
* @param velocity Movement velocity.
|
|
135
|
-
* @param unit Units of velocity.
|
|
136
|
-
*/
|
|
137
|
-
async moveVelocity(velocity, unit = units_1.Units.NATIVE) {
|
|
138
|
-
const request = new gateway.LockstepMoveRequest();
|
|
139
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
140
|
-
request.setDevice(this.device.deviceAddress);
|
|
141
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
142
|
-
request.setType(gateway.LockstepMoveRequest.MoveType.VEL);
|
|
143
|
-
request.setArg(velocity);
|
|
144
|
-
request.setUnit(unit);
|
|
145
|
-
await gateway.callAsync('device/lockstep_move', request);
|
|
146
|
-
}
|
|
147
|
-
/**
|
|
148
|
-
* Moves the axes to the maximum valid position.
|
|
149
|
-
* The axes in the lockstep group maintain their offsets throughout movement.
|
|
150
|
-
* Respects lim.max for all axes in the group.
|
|
151
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
152
|
-
*/
|
|
153
|
-
async moveMax(waitUntilIdle = true) {
|
|
154
|
-
const request = new gateway.LockstepMoveRequest();
|
|
155
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
156
|
-
request.setDevice(this.device.deviceAddress);
|
|
157
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
158
|
-
request.setType(gateway.LockstepMoveRequest.MoveType.MAX);
|
|
159
|
-
request.setWaitUntilIdle(waitUntilIdle);
|
|
160
|
-
await gateway.callAsync('device/lockstep_move', request);
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Moves the axes to the minimum valid position.
|
|
164
|
-
* The axes in the lockstep group maintain their offsets throughout movement.
|
|
165
|
-
* Respects lim.min for all axes in the group.
|
|
166
|
-
* @param waitUntilIdle Determines whether function should return after the movement is finished or just started.
|
|
167
|
-
*/
|
|
168
|
-
async moveMin(waitUntilIdle = true) {
|
|
169
|
-
const request = new gateway.LockstepMoveRequest();
|
|
170
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
171
|
-
request.setDevice(this.device.deviceAddress);
|
|
172
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
173
|
-
request.setType(gateway.LockstepMoveRequest.MoveType.MIN);
|
|
174
|
-
request.setWaitUntilIdle(waitUntilIdle);
|
|
175
|
-
await gateway.callAsync('device/lockstep_move', request);
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Waits until the lockstep group stops moving.
|
|
179
|
-
* @param throwErrorOnFault Determines whether to throw error when fault is observed.
|
|
180
|
-
*/
|
|
181
|
-
async waitUntilIdle(throwErrorOnFault = true) {
|
|
182
|
-
const request = new gateway.LockstepWaitUntilIdleRequest();
|
|
183
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
184
|
-
request.setDevice(this.device.deviceAddress);
|
|
185
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
186
|
-
request.setThrowErrorOnFault(throwErrorOnFault);
|
|
187
|
-
await gateway.callAsync('device/lockstep_wait_until_idle', request);
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Returns bool indicating whether the lockstep group is executing a motion command.
|
|
191
|
-
* @return True if the axes are currently executing a motion command.
|
|
192
|
-
*/
|
|
193
|
-
async isBusy() {
|
|
194
|
-
const request = new gateway.LockstepIsBusyRequest();
|
|
195
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
196
|
-
request.setDevice(this.device.deviceAddress);
|
|
197
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
198
|
-
const response = await gateway.callAsync('device/lockstep_is_busy', request, gateway.LockstepIsBusyResponse);
|
|
199
|
-
return response.getIsBusy();
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @deprecated Use GetAxisNumbers instead.
|
|
203
|
-
*
|
|
204
|
-
* Gets the axes of the lockstep group.
|
|
205
|
-
* @return LockstepAxes instance which contains the axes numbers of the lockstep group.
|
|
206
|
-
*/
|
|
207
|
-
async getAxes() {
|
|
208
|
-
const request = new gateway.LockstepGetAxesRequest();
|
|
209
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
210
|
-
request.setDevice(this.device.deviceAddress);
|
|
211
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
212
|
-
const response = await gateway.callAsync('device/lockstep_get_axes', request, gateway.LockstepGetAxesResponse);
|
|
213
|
-
return lockstep_axes_1.LockstepAxes.fromProtobuf(response.getAxes().toObject());
|
|
214
|
-
}
|
|
215
|
-
/**
|
|
216
|
-
* Gets the axis numbers of the lockstep group.
|
|
217
|
-
* @return Axis numbers in order specified when enabling lockstep.
|
|
218
|
-
*/
|
|
219
|
-
async getAxisNumbers() {
|
|
220
|
-
const request = new gateway.LockstepGetAxisNumbersRequest();
|
|
221
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
222
|
-
request.setDevice(this.device.deviceAddress);
|
|
223
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
224
|
-
const response = await gateway.callAsync('device/lockstep_get_axis_numbers', request, gateway.LockstepGetAxisNumbersResponse);
|
|
225
|
-
return response.getAxesList();
|
|
226
|
-
}
|
|
227
|
-
/**
|
|
228
|
-
* Gets the initial offsets of secondary axes of an enabled lockstep group.
|
|
229
|
-
* @param unit Units of position.
|
|
230
|
-
* @return Initial offset for each axis of the lockstep group.
|
|
231
|
-
*/
|
|
232
|
-
async getOffsets(unit = units_1.Units.NATIVE) {
|
|
233
|
-
const request = new gateway.LockstepGetOffsetsRequest();
|
|
234
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
235
|
-
request.setDevice(this.device.deviceAddress);
|
|
236
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
237
|
-
request.setUnit(unit);
|
|
238
|
-
const response = await gateway.callAsync('device/lockstep_get_offsets', request, gateway.LockstepGetOffsetsResponse);
|
|
239
|
-
return response.getOffsetsList();
|
|
240
|
-
}
|
|
241
|
-
/**
|
|
242
|
-
* Gets the twists of secondary axes of an enabled lockstep group.
|
|
243
|
-
* @param unit Units of position.
|
|
244
|
-
* @return Difference between the initial offset and the actual offset for each axis of the lockstep group.
|
|
245
|
-
*/
|
|
246
|
-
async getTwists(unit = units_1.Units.NATIVE) {
|
|
247
|
-
const request = new gateway.LockstepGetTwistsRequest();
|
|
248
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
249
|
-
request.setDevice(this.device.deviceAddress);
|
|
250
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
251
|
-
request.setUnit(unit);
|
|
252
|
-
const response = await gateway.callAsync('device/lockstep_get_twists', request, gateway.LockstepGetTwistsResponse);
|
|
253
|
-
return response.getTwistsList();
|
|
254
|
-
}
|
|
255
|
-
/**
|
|
256
|
-
* Checks if the lockstep group is currently enabled on the device.
|
|
257
|
-
* @return True if a lockstep group with this ID is enabled on the device.
|
|
258
|
-
*/
|
|
259
|
-
async isEnabled() {
|
|
260
|
-
const request = new gateway.LockstepIsEnabledRequest();
|
|
261
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
262
|
-
request.setDevice(this.device.deviceAddress);
|
|
263
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
264
|
-
const response = await gateway.callAsync('device/lockstep_is_enabled', request, gateway.LockstepIsEnabledResponse);
|
|
265
|
-
return response.getIsEnabled();
|
|
266
|
-
}
|
|
267
|
-
/**
|
|
268
|
-
* Returns a string which represents the enabled lockstep group.
|
|
269
|
-
* @return String which represents the enabled lockstep group.
|
|
270
|
-
*/
|
|
271
|
-
toString() {
|
|
272
|
-
const request = new gateway.LockstepToStringRequest();
|
|
273
|
-
request.setInterfaceId(this.device.connection.interfaceId);
|
|
274
|
-
request.setDevice(this.device.deviceAddress);
|
|
275
|
-
request.setLockstepGroupId(this.lockstepGroupId);
|
|
276
|
-
const response = gateway.callSync('device/lockstep_to_string', request, gateway.LockstepToStringResponse);
|
|
277
|
-
return response.getToStr();
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
exports.Lockstep = Lockstep;
|
|
281
|
-
//# sourceMappingURL=lockstep.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lockstep.js","sourceRoot":"","sources":["../../../src-web/ascii/lockstep.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAGtD,oCAAmF;AACnF,oDAAsC;AACtC,mDAA+C;AAE/C;;;GAGG;AACH,MAAa,QAAQ;IAiBnB,YAAY,MAAc,EAAE,eAAuB;QACjD,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;IAC1C,CAAC;IAnBD;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD;;OAEG;IACH,IAAW,eAAe;QACxB,OAAO,IAAI,CAAC,gBAAgB,CAAC;IAC/B,CAAC;IAQD;;;OAGG;IACI,KAAK,CAAC,MAAM,CACjB,GAAG,IAAc;QAEjB,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,qBAAqB,EAAE,CAAC;QACpD,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,kBAAkB,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I,CAAC,eAAe,CAAC,CAAC;QAEjD,MAAM,QAAQ,GAAG,OAAO,CAAC,QAAQ,CAC/B,2BAA2B,EAC3B,OAAO,EACP,OAAO,CAAC,wBAAwB,CAAC,CAAC;QACpC,OAAO,QAAQ,CAAC,QAAQ,EAAE,CAAC;IAC7B,CAAC;CACF;AA7UD,4BA6UC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Device } from './device';\nimport { Angle, Length, Native, AngularVelocity, Velocity, Units } from '../units';\nimport * as gateway from '../gateway';\nimport { LockstepAxes } from './lockstep_axes';\n\n/**\n * Represents a lockstep group with this ID on a device.\n * A lockstep group is a movement synchronized pair of axes on a device.\n */\nexport class Lockstep {\n /**\n * Device that controls this lockstep group.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n /**\n * The number that identifies the lockstep group on the device.\n */\n public get lockstepGroupId(): number {\n return this._lockstepGroupId;\n }\n private _lockstepGroupId: number;\n\n constructor(device: Device, lockstepGroupId: number) {\n this._device = device;\n this._lockstepGroupId = lockstepGroupId;\n }\n\n /**\n * Activate the lockstep group on the axes specified.\n * @param axes The numbers of axes in the lockstep group.\n */\n public async enable(\n ...axes: number[]\n ): Promise<void> {\n const request = new gateway.LockstepEnableRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setAxesList(axes);\n\n await gateway.callAsync('device/lockstep_enable', request);\n }\n\n /**\n * Disable the lockstep group.\n */\n public async disable(): Promise<void> {\n const request = new gateway.LockstepDisableRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n\n await gateway.callAsync('device/lockstep_disable', request);\n }\n\n /**\n * Stops ongoing lockstep group movement. Decelerates until zero speed.\n * @param waitUntilIdle Determines whether function should return after the movement is finished or just started.\n */\n public async stop(\n waitUntilIdle: boolean = true\n ): Promise<void> {\n const request = new gateway.LockstepStopRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setWaitUntilIdle(waitUntilIdle);\n\n await gateway.callAsync('device/lockstep_stop', request);\n }\n\n /**\n * Retracts the axes of the lockstep group until a home associated with an individual axis is detected.\n * @param waitUntilIdle Determines whether function should return after the movement is finished or just started.\n */\n public async home(\n waitUntilIdle: boolean = true\n ): Promise<void> {\n const request = new gateway.LockstepHomeRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setWaitUntilIdle(waitUntilIdle);\n\n await gateway.callAsync('device/lockstep_home', request);\n }\n\n /**\n * Move the first axis of the lockstep group to an absolute position.\n * The other axes in the lockstep group maintain their offsets throughout movement.\n * @param position Absolute position.\n * @param unit Units of position.\n * @param waitUntilIdle Determines whether function should return after the movement is finished or just started.\n */\n public async moveAbsolute(\n position: number,\n unit: Length | Angle | Native = Units.NATIVE,\n waitUntilIdle: boolean = true\n ): Promise<void> {\n const request = new gateway.LockstepMoveRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setType(gateway.LockstepMoveRequest.MoveType.ABS);\n request.setArg(position);\n request.setUnit(unit);\n request.setWaitUntilIdle(waitUntilIdle);\n\n await gateway.callAsync('device/lockstep_move', request);\n }\n\n /**\n * Move the first axis of the lockstep group to a position relative to its current position.\n * The other axes in the lockstep group maintain their offsets throughout movement.\n * @param position Relative position.\n * @param unit Units of position.\n * @param waitUntilIdle Determines whether function should return after the movement is finished or just started.\n */\n public async moveRelative(\n position: number,\n unit: Length | Angle | Native = Units.NATIVE,\n waitUntilIdle: boolean = true\n ): Promise<void> {\n const request = new gateway.LockstepMoveRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setType(gateway.LockstepMoveRequest.MoveType.REL);\n request.setArg(position);\n request.setUnit(unit);\n request.setWaitUntilIdle(waitUntilIdle);\n\n await gateway.callAsync('device/lockstep_move', request);\n }\n\n /**\n * Moves the first axis of the lockstep group at the specified speed.\n * The other axes in the lockstep group maintain their offsets throughout movement.\n * @param velocity Movement velocity.\n * @param unit Units of velocity.\n */\n public async moveVelocity(\n velocity: number,\n unit: Velocity | AngularVelocity | Native = Units.NATIVE\n ): Promise<void> {\n const request = new gateway.LockstepMoveRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setType(gateway.LockstepMoveRequest.MoveType.VEL);\n request.setArg(velocity);\n request.setUnit(unit);\n\n await gateway.callAsync('device/lockstep_move', request);\n }\n\n /**\n * Moves the axes to the maximum valid position.\n * The axes in the lockstep group maintain their offsets throughout movement.\n * Respects lim.max for all axes in the group.\n * @param waitUntilIdle Determines whether function should return after the movement is finished or just started.\n */\n public async moveMax(\n waitUntilIdle: boolean = true\n ): Promise<void> {\n const request = new gateway.LockstepMoveRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setType(gateway.LockstepMoveRequest.MoveType.MAX);\n request.setWaitUntilIdle(waitUntilIdle);\n\n await gateway.callAsync('device/lockstep_move', request);\n }\n\n /**\n * Moves the axes to the minimum valid position.\n * The axes in the lockstep group maintain their offsets throughout movement.\n * Respects lim.min for all axes in the group.\n * @param waitUntilIdle Determines whether function should return after the movement is finished or just started.\n */\n public async moveMin(\n waitUntilIdle: boolean = true\n ): Promise<void> {\n const request = new gateway.LockstepMoveRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setType(gateway.LockstepMoveRequest.MoveType.MIN);\n request.setWaitUntilIdle(waitUntilIdle);\n\n await gateway.callAsync('device/lockstep_move', request);\n }\n\n /**\n * Waits until the lockstep group stops moving.\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.LockstepWaitUntilIdleRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setThrowErrorOnFault(throwErrorOnFault);\n\n await gateway.callAsync('device/lockstep_wait_until_idle', request);\n }\n\n /**\n * Returns bool indicating whether the lockstep group is executing a motion command.\n * @return True if the axes are currently executing a motion command.\n */\n public async isBusy(): Promise<boolean> {\n const request = new gateway.LockstepIsBusyRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n\n const response = await gateway.callAsync<gateway.LockstepIsBusyResponse>(\n 'device/lockstep_is_busy',\n request,\n gateway.LockstepIsBusyResponse);\n return response.getIsBusy();\n }\n\n /**\n * @deprecated Use GetAxisNumbers instead.\n *\n * Gets the axes of the lockstep group.\n * @return LockstepAxes instance which contains the axes numbers of the lockstep group.\n */\n public async getAxes(): Promise<LockstepAxes> {\n const request = new gateway.LockstepGetAxesRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n\n const response = await gateway.callAsync<gateway.LockstepGetAxesResponse>(\n 'device/lockstep_get_axes',\n request,\n gateway.LockstepGetAxesResponse);\n return LockstepAxes.fromProtobuf(response.getAxes()!.toObject());\n }\n\n /**\n * Gets the axis numbers of the lockstep group.\n * @return Axis numbers in order specified when enabling lockstep.\n */\n public async getAxisNumbers(): Promise<number[]> {\n const request = new gateway.LockstepGetAxisNumbersRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n\n const response = await gateway.callAsync<gateway.LockstepGetAxisNumbersResponse>(\n 'device/lockstep_get_axis_numbers',\n request,\n gateway.LockstepGetAxisNumbersResponse);\n return response.getAxesList();\n }\n\n /**\n * Gets the initial offsets of secondary axes of an enabled lockstep group.\n * @param unit Units of position.\n * @return Initial offset for each axis of the lockstep group.\n */\n public async getOffsets(\n unit: Length | Angle | Native = Units.NATIVE\n ): Promise<number[]> {\n const request = new gateway.LockstepGetOffsetsRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setUnit(unit);\n\n const response = await gateway.callAsync<gateway.LockstepGetOffsetsResponse>(\n 'device/lockstep_get_offsets',\n request,\n gateway.LockstepGetOffsetsResponse);\n return response.getOffsetsList();\n }\n\n /**\n * Gets the twists of secondary axes of an enabled lockstep group.\n * @param unit Units of position.\n * @return Difference between the initial offset and the actual offset for each axis of the lockstep group.\n */\n public async getTwists(\n unit: Length | Angle | Native = Units.NATIVE\n ): Promise<number[]> {\n const request = new gateway.LockstepGetTwistsRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n request.setUnit(unit);\n\n const response = await gateway.callAsync<gateway.LockstepGetTwistsResponse>(\n 'device/lockstep_get_twists',\n request,\n gateway.LockstepGetTwistsResponse);\n return response.getTwistsList();\n }\n\n /**\n * Checks if the lockstep group is currently enabled on the device.\n * @return True if a lockstep group with this ID is enabled on the device.\n */\n public async isEnabled(): Promise<boolean> {\n const request = new gateway.LockstepIsEnabledRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n\n const response = await gateway.callAsync<gateway.LockstepIsEnabledResponse>(\n 'device/lockstep_is_enabled',\n request,\n gateway.LockstepIsEnabledResponse);\n return response.getIsEnabled();\n }\n\n /**\n * Returns a string which represents the enabled lockstep group.\n * @return String which represents the enabled lockstep group.\n */\n public toString(): string {\n const request = new gateway.LockstepToStringRequest();\n request.setInterfaceId(this.device.connection.interfaceId);\n request.setDevice(this.device.deviceAddress);\n request.setLockstepGroupId(this.lockstepGroupId);\n\n const response = gateway.callSync<gateway.LockstepToStringResponse>(\n 'device/lockstep_to_string',\n request,\n gateway.LockstepToStringResponse);\n return response.getToStr();\n }\n}\n"]}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The axis numbers of a lockstep group.
|
|
3
|
-
*/
|
|
4
|
-
export interface LockstepAxes {
|
|
5
|
-
/**
|
|
6
|
-
* The axis number used to set the first axis.
|
|
7
|
-
*/
|
|
8
|
-
axis1: number;
|
|
9
|
-
/**
|
|
10
|
-
* The axis number used to set the second axis.
|
|
11
|
-
*/
|
|
12
|
-
axis2: number;
|
|
13
|
-
/**
|
|
14
|
-
* The axis number used to set the third axis.
|
|
15
|
-
*/
|
|
16
|
-
axis3: number;
|
|
17
|
-
/**
|
|
18
|
-
* The axis number used to set the fourth axis.
|
|
19
|
-
*/
|
|
20
|
-
axis4: number;
|
|
21
|
-
}
|
|
22
|
-
export declare namespace LockstepAxes {
|
|
23
|
-
const __type = "LockstepAxes";
|
|
24
|
-
}
|
|
@@ -1,20 +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.LockstepAxes = void 0;
|
|
6
|
-
var LockstepAxes;
|
|
7
|
-
(function (LockstepAxes) {
|
|
8
|
-
LockstepAxes.__type = 'LockstepAxes';
|
|
9
|
-
/** @internal */
|
|
10
|
-
function fromProtobuf(pbData) {
|
|
11
|
-
return {
|
|
12
|
-
axis1: pbData.axis1,
|
|
13
|
-
axis2: pbData.axis2,
|
|
14
|
-
axis3: pbData.axis3,
|
|
15
|
-
axis4: pbData.axis4,
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
LockstepAxes.fromProtobuf = fromProtobuf;
|
|
19
|
-
})(LockstepAxes = exports.LockstepAxes || (exports.LockstepAxes = {}));
|
|
20
|
-
//# sourceMappingURL=lockstep_axes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"lockstep_axes.js","sourceRoot":"","sources":["../../../src-web/ascii/lockstep_axes.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AA8BtD,IAAiB,YAAY,CAY5B;AAZD,WAAiB,YAAY;IACd,mBAAM,GAAG,cAAc,CAAC;IAErC,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAqC;QAChE,OAAO;YACL,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;IAPe,yBAAY,eAO3B,CAAA;AACH,CAAC,EAZgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAY5B","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * The axis numbers of a lockstep group.\n */\nexport interface LockstepAxes {\n /**\n * The axis number used to set the first axis.\n */\n axis1: number;\n\n /**\n * The axis number used to set the second axis.\n */\n axis2: number;\n\n /**\n * The axis number used to set the third axis.\n */\n axis3: number;\n\n /**\n * The axis number used to set the fourth axis.\n */\n axis4: number;\n\n}\n\nexport namespace LockstepAxes {\n export const __type = 'LockstepAxes';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.LockstepAxes.AsObject): LockstepAxes {\n return {\n axis1: pbData.axis1,\n axis2: pbData.axis2,\n axis3: pbData.axis3,\n axis4: pbData.axis4,\n };\n }\n}\n"]}
|
|
@@ -1,17 +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.MessageType = void 0;
|
|
6
|
-
/**
|
|
7
|
-
* Denotes type of the response message.
|
|
8
|
-
* For more information refer to:
|
|
9
|
-
* [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_message_format).
|
|
10
|
-
*/
|
|
11
|
-
var MessageType;
|
|
12
|
-
(function (MessageType) {
|
|
13
|
-
MessageType[MessageType["REPLY"] = 0] = "REPLY";
|
|
14
|
-
MessageType[MessageType["INFO"] = 1] = "INFO";
|
|
15
|
-
MessageType[MessageType["ALERT"] = 2] = "ALERT";
|
|
16
|
-
})(MessageType = exports.MessageType || (exports.MessageType = {}));
|
|
17
|
-
//# sourceMappingURL=message_type.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"message_type.js","sourceRoot":"","sources":["../../../src-web/ascii/message_type.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD;;;;GAIG;AACH,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,+CAAS,CAAA;IACT,6CAAQ,CAAA;IACR,+CAAS,CAAA;AACX,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\n/**\n * Denotes type of the response message.\n * For more information refer to:\n * [ASCII Protocol Manual](https://www.zaber.com/protocol-manual#topic_message_format).\n */\nexport enum MessageType {\n REPLY = 0,\n INFO = 1,\n ALERT = 2,\n}\n"]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { MessageType } from './message_type';
|
|
2
|
-
/**
|
|
3
|
-
* Response message from the device.
|
|
4
|
-
*/
|
|
5
|
-
export interface Response {
|
|
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 Response {
|
|
36
|
-
const __type = "Response";
|
|
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.Response = void 0;
|
|
6
|
-
var Response;
|
|
7
|
-
(function (Response) {
|
|
8
|
-
Response.__type = 'Response';
|
|
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
|
-
Response.fromProtobuf = fromProtobuf;
|
|
22
|
-
})(Response = exports.Response || (exports.Response = {}));
|
|
23
|
-
//# sourceMappingURL=response.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"response.js","sourceRoot":"","sources":["../../../src-web/ascii/response.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AA8CtD,IAAiB,QAAQ,CAexB;AAfD,WAAiB,QAAQ;IACV,eAAM,GAAG,UAAU,CAAC;IAEjC,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAA+C;QAC1E,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,qBAAY,eAU3B,CAAA;AACH,CAAC,EAfgB,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAexB","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 * Response message from the device.\n */\nexport interface Response {\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 Response {\n export const __type = 'Response';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.GenericCommandResponse.AsObject): Response {\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"]}
|