@zaber/motion 9.0.1 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +6 -6
- package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
- package/dist/lib/ascii/axis_settings.d.ts +22 -1
- package/dist/lib/ascii/axis_settings.d.ts.map +1 -1
- package/dist/lib/ascii/axis_settings.js +48 -1
- package/dist/lib/ascii/axis_settings.js.map +1 -1
- package/dist/lib/ascii/device_settings.d.ts +55 -1
- package/dist/lib/ascii/device_settings.d.ts.map +1 -1
- package/dist/lib/ascii/device_settings.js +74 -1
- package/dist/lib/ascii/device_settings.js.map +1 -1
- package/dist/lib/ascii/get_axis_setting_typed_result.d.ts +29 -0
- package/dist/lib/ascii/get_axis_setting_typed_result.d.ts.map +1 -0
- package/dist/lib/ascii/get_axis_setting_typed_result.js +52 -0
- package/dist/lib/ascii/get_axis_setting_typed_result.js.map +1 -0
- package/dist/lib/ascii/get_setting_bool_result.d.ts +23 -0
- package/dist/lib/ascii/get_setting_bool_result.d.ts.map +1 -0
- package/dist/lib/ascii/get_setting_bool_result.js +39 -0
- package/dist/lib/ascii/get_setting_bool_result.js.map +1 -0
- package/dist/lib/ascii/get_setting_int_result.d.ts +23 -0
- package/dist/lib/ascii/get_setting_int_result.d.ts.map +1 -0
- package/dist/lib/ascii/get_setting_int_result.js +39 -0
- package/dist/lib/ascii/get_setting_int_result.js.map +1 -0
- package/dist/lib/ascii/get_setting_string_result.d.ts +23 -0
- package/dist/lib/ascii/get_setting_string_result.d.ts.map +1 -0
- package/dist/lib/ascii/get_setting_string_result.js +39 -0
- package/dist/lib/ascii/get_setting_string_result.js.map +1 -0
- package/dist/lib/ascii/get_setting_typed_result.d.ts +29 -0
- package/dist/lib/ascii/get_setting_typed_result.d.ts.map +1 -0
- package/dist/lib/ascii/get_setting_typed_result.js +52 -0
- package/dist/lib/ascii/get_setting_typed_result.js.map +1 -0
- package/dist/lib/ascii/get_settings_by_type_result.d.ts +35 -0
- package/dist/lib/ascii/get_settings_by_type_result.d.ts.map +1 -0
- package/dist/lib/ascii/get_settings_by_type_result.js +50 -0
- package/dist/lib/ascii/get_settings_by_type_result.js.map +1 -0
- package/dist/lib/ascii/index.d.ts +8 -0
- package/dist/lib/ascii/index.d.ts.map +1 -1
- package/dist/lib/ascii/index.js +8 -0
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/pvt_buffer.d.ts +22 -1
- package/dist/lib/ascii/pvt_buffer.d.ts.map +1 -1
- package/dist/lib/ascii/pvt_buffer.js +9 -1
- package/dist/lib/ascii/pvt_buffer.js.map +1 -1
- package/dist/lib/ascii/pvt_buffer_axis_units.d.ts +29 -0
- package/dist/lib/ascii/pvt_buffer_axis_units.d.ts.map +1 -0
- package/dist/lib/ascii/pvt_buffer_axis_units.js +44 -0
- package/dist/lib/ascii/pvt_buffer_axis_units.js.map +1 -0
- package/dist/lib/ascii/pvt_csv_data.js.map +1 -1
- package/dist/lib/ascii/pvt_partial_csv_data.js.map +1 -1
- package/dist/lib/ascii/setting_constants.d.ts +12 -0
- package/dist/lib/ascii/setting_constants.d.ts.map +1 -1
- package/dist/lib/ascii/setting_constants.js +12 -0
- package/dist/lib/ascii/setting_constants.js.map +1 -1
- package/dist/lib/ascii/simple_tuning.d.ts +4 -0
- package/dist/lib/ascii/simple_tuning.d.ts.map +1 -1
- package/dist/lib/ascii/simple_tuning.js +5 -1
- package/dist/lib/ascii/simple_tuning.js.map +1 -1
- package/dist/lib/ascii/typed_setting.d.ts +20 -0
- package/dist/lib/ascii/typed_setting.d.ts.map +1 -0
- package/dist/lib/ascii/typed_setting.js +84 -0
- package/dist/lib/ascii/typed_setting.js.map +1 -0
- package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.d.ts → ge_1_x_gripper_movement_failed_exception.d.ts} +2 -2
- package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.d.ts.map +1 -0
- package/dist/lib/exceptions/{ge_1_gripper_movement_failed_exception.js → ge_1_x_gripper_movement_failed_exception.js} +5 -5
- package/dist/lib/exceptions/ge_1_x_gripper_movement_failed_exception.js.map +1 -0
- package/dist/lib/exceptions/index.d.ts +1 -1
- package/dist/lib/exceptions/index.d.ts.map +1 -1
- package/dist/lib/exceptions/index.js +1 -1
- package/dist/lib/exceptions/index.js.map +1 -1
- package/dist/lib/gateway/constants.js +1 -1
- package/dist/lib/gateway/constants.js.map +1 -1
- package/dist/lib/gateway/convert_exceptions.js +1 -1
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/product/{ge_1_gripper.d.ts → ge_1_x_gripper.d.ts} +27 -25
- package/dist/lib/product/ge_1_x_gripper.d.ts.map +1 -0
- package/dist/lib/product/{ge_1_gripper.js → ge_1_x_gripper.js} +102 -100
- package/dist/lib/product/ge_1_x_gripper.js.map +1 -0
- package/dist/lib/product/{ge_1_gripper_direction.d.ts → ge_1_x_gripper_direction.d.ts} +4 -4
- package/dist/lib/product/ge_1_x_gripper_direction.d.ts.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_direction.js +24 -0
- package/dist/lib/product/ge_1_x_gripper_direction.js.map +1 -0
- package/dist/lib/product/{ge_1_gripper_error.d.ts → ge_1_x_gripper_error.d.ts} +4 -4
- package/dist/lib/product/ge_1_x_gripper_error.d.ts.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_error.js +46 -0
- package/dist/lib/product/ge_1_x_gripper_error.js.map +1 -0
- package/dist/lib/product/{ge_1_gripper_state.d.ts → ge_1_x_gripper_state.d.ts} +4 -4
- package/dist/lib/product/ge_1_x_gripper_state.d.ts.map +1 -0
- package/dist/lib/product/ge_1_x_gripper_state.js +32 -0
- package/dist/lib/product/ge_1_x_gripper_state.js.map +1 -0
- package/dist/lib/product/index.d.ts +4 -4
- package/dist/lib/product/index.d.ts.map +1 -1
- package/dist/lib/product/index.js +4 -4
- package/dist/lib/product/index.js.map +1 -1
- package/dist/lib/requests/device_convert_setting_request.d.ts +1 -0
- package/dist/lib/requests/device_convert_setting_request.d.ts.map +1 -1
- package/dist/lib/requests/device_convert_setting_request.js +5 -1
- package/dist/lib/requests/device_convert_setting_request.js.map +1 -1
- package/dist/lib/requests/device_get_many_by_type_request.d.ts +19 -0
- package/dist/lib/requests/device_get_many_by_type_request.d.ts.map +1 -0
- package/dist/lib/requests/device_get_many_by_type_request.js +56 -0
- package/dist/lib/requests/device_get_many_by_type_request.js.map +1 -0
- package/dist/lib/requests/errors.d.ts +2 -2
- package/dist/lib/requests/errors.d.ts.map +1 -1
- package/dist/lib/requests/errors.js +2 -2
- package/dist/lib/requests/errors.js.map +1 -1
- package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_activate_preset_request.js → ge_1_x_gripper_activate_preset_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_activate_preset_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_calibrate_request.js → ge_1_x_gripper_calibrate_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts +13 -0
- package/dist/lib/requests/ge_1_x_gripper_empty_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_empty_request.js → ge_1_x_gripper_empty_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_empty_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.d.ts.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.js +36 -0
- package/dist/lib/requests/ge_1_x_gripper_get_error_response.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.d.ts.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.js +36 -0
- package/dist/lib/requests/ge_1_x_gripper_get_state_response.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_move_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_move_request.js → ge_1_x_gripper_move_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_move_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_open_connection_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_open_connection_request.js → ge_1_x_gripper_open_connection_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_open_connection_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_read_register_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_read_register_request.js → ge_1_x_gripper_read_register_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_read_register_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_io_enabled_request.js → ge_1_x_gripper_set_auto_home_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_set_auto_home_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_set_force_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_force_request.js → ge_1_x_gripper_set_force_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_set_force_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts +16 -0
- package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_home_direction_request.js → ge_1_x_gripper_set_home_direction_request.js} +10 -10
- package/dist/lib/requests/ge_1_x_gripper_set_home_direction_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_auto_home_request.js → ge_1_x_gripper_set_io_enabled_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_set_io_enabled_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_io_input_filter_request.js → ge_1_x_gripper_set_io_input_filter_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_set_io_input_filter_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts +18 -0
- package/dist/lib/requests/ge_1_x_gripper_set_preset_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_preset_request.js → ge_1_x_gripper_set_preset_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_set_preset_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_set_speed_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_set_speed_request.js → ge_1_x_gripper_set_speed_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_set_speed_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts +14 -0
- package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_wait_until_idle_request.js → ge_1_x_gripper_wait_until_idle_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_wait_until_idle_request.js.map +1 -0
- package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts +15 -0
- package/dist/lib/requests/ge_1_x_gripper_write_register_request.d.ts.map +1 -0
- package/dist/lib/requests/{ge_1_gripper_write_register_request.js → ge_1_x_gripper_write_register_request.js} +7 -7
- package/dist/lib/requests/ge_1_x_gripper_write_register_request.js.map +1 -0
- package/dist/lib/requests/get_axis_settings_typed_response.d.ts +14 -0
- package/dist/lib/requests/get_axis_settings_typed_response.d.ts.map +1 -0
- package/dist/lib/requests/get_axis_settings_typed_response.js +35 -0
- package/dist/lib/requests/get_axis_settings_typed_response.js.map +1 -0
- package/dist/lib/requests/get_settings_typed_response.d.ts +14 -0
- package/dist/lib/requests/get_settings_typed_response.d.ts.map +1 -0
- package/dist/lib/requests/get_settings_typed_response.js +35 -0
- package/dist/lib/requests/get_settings_typed_response.js.map +1 -0
- package/dist/lib/requests/index.d.ts +21 -17
- package/dist/lib/requests/index.d.ts.map +1 -1
- package/dist/lib/requests/index.js +21 -17
- package/dist/lib/requests/index.js.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts +4 -0
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.d.ts.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js +11 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_request.js.map +1 -1
- package/dist/lib/requests/pvt_buffer_get_sequence_data_response.js.map +1 -1
- package/dist/lib/requests/pvt_convert_time_request.js.map +1 -1
- package/dist/lib/requests/pvt_convert_time_response.js.map +1 -1
- package/dist/lib/requests/pvt_generate_positions_request.js.map +1 -1
- package/dist/lib/requests/pvt_generate_sequence_response.js.map +1 -1
- package/dist/lib/requests/pvt_generate_velocities_and_times_request.js.map +1 -1
- package/dist/lib/requests/pvt_generate_velocities_request.js.map +1 -1
- package/dist/lib/requests/pvt_items_request.js.map +1 -1
- package/dist/lib/requests/pvt_partial_convert_time_request.js.map +1 -1
- package/dist/lib/requests/pvt_partial_convert_time_response.js.map +1 -1
- package/dist/lib/requests/pvt_save_csv_request.js.map +1 -1
- package/dist/lib/requests/pvt_submit_sequence_data_request.js.map +1 -1
- package/dist/lib/requests/test_dto_with_variants.js.map +1 -1
- package/dist/lib/requests/test_request_complex.d.ts +2 -0
- package/dist/lib/requests/test_request_complex.d.ts.map +1 -1
- package/dist/lib/requests/test_request_complex.js +13 -2
- package/dist/lib/requests/test_request_complex.js.map +1 -1
- package/dist/lib/requests/typed_setting_response.d.ts +14 -0
- package/dist/lib/requests/typed_setting_response.d.ts.map +1 -0
- package/dist/lib/requests/typed_setting_response.js +40 -0
- package/dist/lib/requests/typed_setting_response.js.map +1 -0
- package/dist/lib/requests/unit_convert_native_request.d.ts +1 -0
- package/dist/lib/requests/unit_convert_native_request.d.ts.map +1 -1
- package/dist/lib/requests/unit_convert_native_request.js +5 -1
- package/dist/lib/requests/unit_convert_native_request.js.map +1 -1
- package/dist/lib/unit_conversion_descriptor.d.ts +4 -0
- package/dist/lib/unit_conversion_descriptor.d.ts.map +1 -1
- package/dist/lib/unit_conversion_descriptor.js +5 -1
- package/dist/lib/unit_conversion_descriptor.js.map +1 -1
- package/dist/lib/unit_table.d.ts +4 -2
- package/dist/lib/unit_table.d.ts.map +1 -1
- package/dist/lib/unit_table.js +6 -2
- package/dist/lib/unit_table.js.map +1 -1
- package/package.json +1 -1
- package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.d.ts.map +0 -1
- package/dist/lib/exceptions/ge_1_gripper_movement_failed_exception.js.map +0 -1
- package/dist/lib/product/ge_1_gripper.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper.js.map +0 -1
- package/dist/lib/product/ge_1_gripper_direction.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper_direction.js +0 -24
- package/dist/lib/product/ge_1_gripper_direction.js.map +0 -1
- package/dist/lib/product/ge_1_gripper_error.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper_error.js +0 -46
- package/dist/lib/product/ge_1_gripper_error.js.map +0 -1
- package/dist/lib/product/ge_1_gripper_state.d.ts.map +0 -1
- package/dist/lib/product/ge_1_gripper_state.js +0 -32
- package/dist/lib/product/ge_1_gripper_state.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_activate_preset_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_activate_preset_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_calibrate_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_calibrate_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_empty_request.d.ts +0 -13
- package/dist/lib/requests/ge_1_gripper_empty_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_empty_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_get_error_response.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_error_response.js +0 -36
- package/dist/lib/requests/ge_1_gripper_get_error_response.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_get_state_response.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_get_state_response.js +0 -36
- package/dist/lib/requests/ge_1_gripper_get_state_response.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_move_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_move_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_move_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_open_connection_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_open_connection_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_read_register_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_read_register_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_set_auto_home_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_auto_home_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_set_force_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_force_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts +0 -16
- package/dist/lib/requests/ge_1_gripper_set_home_direction_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_home_direction_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_enabled_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_io_input_filter_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts +0 -18
- package/dist/lib/requests/ge_1_gripper_set_preset_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_preset_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_set_speed_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_set_speed_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_wait_until_idle_request.js.map +0 -1
- package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts +0 -15
- package/dist/lib/requests/ge_1_gripper_write_register_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_gripper_write_register_request.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,+CAAwD;AACxD,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAA4F,CAAC;AACzH,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACjE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAChF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAA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,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport { Errors as PbErrors } from '../requests/errors';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Uint8Array) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BAD_COMMAND, exceptions.BadCommandException);\nerrorMapping.set(PbErrors.BAD_DATA, exceptions.BadDataException);\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_DETECTION_FAILED, exceptions.DeviceDetectionFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.DRIVER_DISABLED, exceptions.DriverDisabledException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.GE_1_GRIPPER_MOVEMENT_FAILED, exceptions.Ge1GripperMovementFailedException);\nerrorMapping.set(PbErrors.INCOMPATIBLE_SHARED_LIBRARY, exceptions.IncompatibleSharedLibraryException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_CSV_DATA, exceptions.InvalidCsvDataException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_REQUEST_DATA, exceptions.InvalidRequestDataException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OPERATION_FAILED, exceptions.OperationFailedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.PVT_DISCONTINUITY, exceptions.PvtDiscontinuityException);\nerrorMapping.set(PbErrors.PVT_EXECUTION, exceptions.PvtExecutionException);\nerrorMapping.set(PbErrors.PVT_MODE, exceptions.PvtModeException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_FAILED, exceptions.PvtMovementFailedException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_INTERRUPTED, exceptions.PvtMovementInterruptedException);\nerrorMapping.set(PbErrors.PVT_SEQUENCE_GENERATION_FAILED, exceptions.PvtSequenceGenerationFailedException);\nerrorMapping.set(PbErrors.PVT_SETUP_FAILED, exceptions.PvtSetupFailedException);\nerrorMapping.set(PbErrors.REMOTE_MODE, exceptions.RemoteModeException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.STREAM_DISCONTINUITY, exceptions.StreamDiscontinuityException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TIMEOUT, exceptions.TimeoutException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Uint8Array): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,+CAAwD;AACxD,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAA4F,CAAC;AACzH,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,gBAAgB,CAAC,CAAC;AACjE,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAChF,YAAY,CAAC,GAAG,CAAC,eAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC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B,CAAC,CAAC;AAE/E,SAAgB,kBAAkB,CAAC,KAAe,EAAE,OAAe,EAAE,UAAuB;IAC1F,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACvB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;IACpD,CAAC;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport { Errors as PbErrors } from '../requests/errors';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Uint8Array) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BAD_COMMAND, exceptions.BadCommandException);\nerrorMapping.set(PbErrors.BAD_DATA, exceptions.BadDataException);\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_DETECTION_FAILED, exceptions.DeviceDetectionFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.DRIVER_DISABLED, exceptions.DriverDisabledException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.GE_1_X_GRIPPER_MOVEMENT_FAILED, exceptions.Ge1xGripperMovementFailedException);\nerrorMapping.set(PbErrors.INCOMPATIBLE_SHARED_LIBRARY, exceptions.IncompatibleSharedLibraryException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_CSV_DATA, exceptions.InvalidCsvDataException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_REQUEST_DATA, exceptions.InvalidRequestDataException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OPERATION_FAILED, exceptions.OperationFailedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.PVT_DISCONTINUITY, exceptions.PvtDiscontinuityException);\nerrorMapping.set(PbErrors.PVT_EXECUTION, exceptions.PvtExecutionException);\nerrorMapping.set(PbErrors.PVT_MODE, exceptions.PvtModeException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_FAILED, exceptions.PvtMovementFailedException);\nerrorMapping.set(PbErrors.PVT_MOVEMENT_INTERRUPTED, exceptions.PvtMovementInterruptedException);\nerrorMapping.set(PbErrors.PVT_SEQUENCE_GENERATION_FAILED, exceptions.PvtSequenceGenerationFailedException);\nerrorMapping.set(PbErrors.PVT_SETUP_FAILED, exceptions.PvtSetupFailedException);\nerrorMapping.set(PbErrors.REMOTE_MODE, exceptions.RemoteModeException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.STREAM_DISCONTINUITY, exceptions.StreamDiscontinuityException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TIMEOUT, exceptions.TimeoutException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Uint8Array): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { Ge1xGripperState } from './ge_1_x_gripper_state';
|
|
2
|
+
import { Ge1xGripperError } from './ge_1_x_gripper_error';
|
|
3
|
+
import { Ge1xGripperDirection } from './ge_1_x_gripper_direction';
|
|
4
4
|
/**
|
|
5
5
|
* Class representing a gripper in the GE1x series.
|
|
6
6
|
*/
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class Ge1xGripper {
|
|
8
8
|
/**
|
|
9
9
|
* The default device address for a gripper in the GE1x series.
|
|
10
10
|
*/
|
|
@@ -18,11 +18,11 @@ export declare class GE1Gripper {
|
|
|
18
18
|
/**
|
|
19
19
|
* Opens a serial connection to a gripper.
|
|
20
20
|
* @param portName The name of the serial port to connect to.
|
|
21
|
-
* @param [options.deviceAddress=
|
|
21
|
+
* @param [options.deviceAddress=Ge1xGripper.DEFAULT_DEVICE_ADDRESS] The address of the gripper to connect to.
|
|
22
22
|
* @param [options.timeout=500] The timeout in milliseconds for any request sent using this connection.
|
|
23
|
-
* @returns A
|
|
23
|
+
* @returns A Ge1xGripper instance representing the connection to the gripper.
|
|
24
24
|
*/
|
|
25
|
-
static openConnection(portName: string, options?:
|
|
25
|
+
static openConnection(portName: string, options?: Ge1xGripper.OpenConnectionOptions): Promise<Ge1xGripper>;
|
|
26
26
|
/**
|
|
27
27
|
* Closes the connection to the gripper.
|
|
28
28
|
*/
|
|
@@ -43,7 +43,7 @@ export declare class GE1Gripper {
|
|
|
43
43
|
* Homes gripper by moving it to its homing position.
|
|
44
44
|
* @param [options.waitUntilIdle=true] Wait until homing has completed before returning.
|
|
45
45
|
*/
|
|
46
|
-
home(options?:
|
|
46
|
+
home(options?: Ge1xGripper.HomeOptions): Promise<void>;
|
|
47
47
|
/**
|
|
48
48
|
* Waits until the gripper has stopped moving.
|
|
49
49
|
*/
|
|
@@ -53,22 +53,22 @@ export declare class GE1Gripper {
|
|
|
53
53
|
* @param position The target position for the gripper as a percentage, where 0 is closed and 100 is open.
|
|
54
54
|
* @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
|
|
55
55
|
*/
|
|
56
|
-
move(position: number, options?:
|
|
56
|
+
move(position: number, options?: Ge1xGripper.MoveOptions): Promise<void>;
|
|
57
57
|
/**
|
|
58
58
|
* Moves the gripper to the open position.
|
|
59
59
|
* @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
|
|
60
60
|
*/
|
|
61
|
-
moveOpen(options?:
|
|
61
|
+
moveOpen(options?: Ge1xGripper.MoveOpenOptions): Promise<void>;
|
|
62
62
|
/**
|
|
63
63
|
* Moves the gripper to the closed position.
|
|
64
64
|
* @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
|
|
65
65
|
*/
|
|
66
|
-
moveClose(options?:
|
|
66
|
+
moveClose(options?: Ge1xGripper.MoveCloseOptions): Promise<void>;
|
|
67
67
|
/**
|
|
68
68
|
* Stops the gripper from moving.
|
|
69
69
|
* @param [options.waitUntilIdle=true] Wait until the gripper has stopped before returning.
|
|
70
70
|
*/
|
|
71
|
-
stop(options?:
|
|
71
|
+
stop(options?: Ge1xGripper.StopOptions): Promise<void>;
|
|
72
72
|
/**
|
|
73
73
|
* Sets the gripping force of the gripper.
|
|
74
74
|
* @param force The gripping force as a percentage from 20 to 100.
|
|
@@ -91,17 +91,17 @@ export declare class GE1Gripper {
|
|
|
91
91
|
* Performs a calibration of the travel range by moving to the fully open and fully closed positions.
|
|
92
92
|
* @param [options.saveToFlash=true] Save the calibration results to flash memory so they are retained on power cycle.
|
|
93
93
|
*/
|
|
94
|
-
calibrate(options?:
|
|
94
|
+
calibrate(options?: Ge1xGripper.CalibrateOptions): Promise<void>;
|
|
95
95
|
/**
|
|
96
96
|
* Gets the current state of the gripper.
|
|
97
97
|
* @returns The current state of the gripper.
|
|
98
98
|
*/
|
|
99
|
-
getState(): Promise<
|
|
99
|
+
getState(): Promise<Ge1xGripperState>;
|
|
100
100
|
/**
|
|
101
101
|
* Gets the current error of the gripper.
|
|
102
102
|
* @returns The current error of the gripper.
|
|
103
103
|
*/
|
|
104
|
-
getError(): Promise<
|
|
104
|
+
getError(): Promise<Ge1xGripperError>;
|
|
105
105
|
/**
|
|
106
106
|
* Clears the current error of the gripper.
|
|
107
107
|
*/
|
|
@@ -126,40 +126,42 @@ export declare class GE1Gripper {
|
|
|
126
126
|
* @param direction The home direction to set.
|
|
127
127
|
* @param [options.saveToFlash=true] Save the home direction setting to flash memory so it is retained on power cycle.
|
|
128
128
|
*/
|
|
129
|
-
setHomeDirection(direction:
|
|
129
|
+
setHomeDirection(direction: Ge1xGripperDirection, options?: Ge1xGripper.SetHomeDirectionOptions): Promise<void>;
|
|
130
130
|
/**
|
|
131
131
|
* Enables or disables automatic homing on power up.
|
|
132
132
|
* @param enabled True to enable automatic homing on power up, false to disable.
|
|
133
133
|
* @param [options.saveToFlash=true] Save the auto home setting to flash memory so it is retained on power cycle.
|
|
134
134
|
*/
|
|
135
|
-
setAutoHome(enabled: boolean, options?:
|
|
135
|
+
setAutoHome(enabled: boolean, options?: Ge1xGripper.SetAutoHomeOptions): Promise<void>;
|
|
136
136
|
/**
|
|
137
137
|
* Enables or disables IO control for the gripper.
|
|
138
|
+
* When enabled, the gripper will not move to a preset position until the IO input changes.
|
|
138
139
|
* @param enabled True to enable IO control, false to disable.
|
|
139
140
|
* @param [options.saveToFlash=true] Save the IO enabled setting to flash memory so it is retained on power cycle.
|
|
140
141
|
*/
|
|
141
|
-
setIoEnabled(enabled: boolean, options?:
|
|
142
|
+
setIoEnabled(enabled: boolean, options?: Ge1xGripper.SetIoEnabledOptions): Promise<void>;
|
|
142
143
|
/**
|
|
143
144
|
* Sets the debounce filter time for the gripper IO input to suppress noise.
|
|
144
145
|
* @param duration The IO input filter time in milliseconds.
|
|
145
146
|
* @param [options.saveToFlash=true] Save the IO input filter setting to flash memory so it is retained on power cycle.
|
|
146
147
|
*/
|
|
147
|
-
setIoInputFilter(duration: number, options?:
|
|
148
|
+
setIoInputFilter(duration: number, options?: Ge1xGripper.SetIoInputFilterOptions): Promise<void>;
|
|
148
149
|
/**
|
|
149
|
-
* Saves a position, force, and speed as a preset.
|
|
150
|
+
* Saves a position, force, and speed as a preset that can be enabled using I/O or the activatePreset() method.
|
|
151
|
+
* Note that presets are only activated by I/O when the I/O input changes to that preset number.
|
|
150
152
|
* @param presetNumber The preset number to save the preset to, from 1 to 4.
|
|
151
153
|
* @param position The target position for the preset as a percentage, where 0 is closed and 100 is open.
|
|
152
154
|
* @param [options.force=100] The gripping force for the preset as a percentage from 20 to 100.
|
|
153
155
|
* @param [options.speed=100] The maximum speed for the preset as a percentage from 1 to 100.
|
|
154
156
|
* @param [options.saveToFlash=true] Save the preset to flash memory so it is retained on power cycle.
|
|
155
157
|
*/
|
|
156
|
-
setPreset(presetNumber: number, position: number, options?:
|
|
158
|
+
setPreset(presetNumber: number, position: number, options?: Ge1xGripper.SetPresetOptions): Promise<void>;
|
|
157
159
|
/**
|
|
158
160
|
* Activates a preset, causing the gripper to move to the preset position using the preset force and speed.
|
|
159
161
|
* @param presetNumber The preset number to activate, from 1 to 4.
|
|
160
162
|
* @param [options.waitUntilIdle=true] Wait until the move has completed before returning.
|
|
161
163
|
*/
|
|
162
|
-
activatePreset(presetNumber: number, options?:
|
|
164
|
+
activatePreset(presetNumber: number, options?: Ge1xGripper.ActivatePresetOptions): Promise<void>;
|
|
163
165
|
/**
|
|
164
166
|
* Gets the preset number currently activated by the gripper IO input.
|
|
165
167
|
* @returns The current preset number activated by the gripper IO input.
|
|
@@ -171,13 +173,13 @@ export declare class GE1Gripper {
|
|
|
171
173
|
*/
|
|
172
174
|
private static _free;
|
|
173
175
|
/**
|
|
174
|
-
* Releases the native resources of the ge 1 gripper.
|
|
176
|
+
* Releases the native resources of the ge 1 x gripper.
|
|
175
177
|
* Should only be called if your environment does not support FinalizationRegistry.
|
|
176
178
|
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
|
|
177
179
|
*/
|
|
178
180
|
free(): void;
|
|
179
181
|
}
|
|
180
|
-
declare namespace
|
|
182
|
+
declare namespace Ge1xGripper {
|
|
181
183
|
interface OpenConnectionOptions {
|
|
182
184
|
/**
|
|
183
185
|
* The address of the gripper to connect to.
|
|
@@ -270,4 +272,4 @@ declare namespace GE1Gripper {
|
|
|
270
272
|
}
|
|
271
273
|
}
|
|
272
274
|
export {};
|
|
273
|
-
//# sourceMappingURL=
|
|
275
|
+
//# sourceMappingURL=ge_1_x_gripper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ge_1_x_gripper.d.ts","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAElE;;GAEG;AACH,qBAAa,WAAW;IACtB;;OAEG;IACH,gBAAuB,sBAAsB,EAAE,MAAM,CAAK;IAE1D;;OAEG;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