@zaber/motion 9.0.1 → 9.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +2 -81
- package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
- 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/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} +24 -24
- 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} +99 -99
- 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/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/index.d.ts +17 -17
- package/dist/lib/requests/index.d.ts.map +1 -1
- package/dist/lib/requests/index.js +17 -17
- package/dist/lib/requests/index.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/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
|
@@ -25,14 +25,14 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
return result;
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.
|
|
28
|
+
exports.Ge1xGripper = void 0;
|
|
29
29
|
const gateway = __importStar(require("../gateway"));
|
|
30
30
|
const requests = __importStar(require("../requests"));
|
|
31
31
|
const finalizer_1 = require("../finalizer");
|
|
32
32
|
/**
|
|
33
33
|
* Class representing a gripper in the GE1x series.
|
|
34
34
|
*/
|
|
35
|
-
class
|
|
35
|
+
class Ge1xGripper {
|
|
36
36
|
/**
|
|
37
37
|
* The identifier for the connection.
|
|
38
38
|
*/
|
|
@@ -41,41 +41,41 @@ class GE1Gripper {
|
|
|
41
41
|
}
|
|
42
42
|
constructor(connectionId) {
|
|
43
43
|
this._connectionId = connectionId;
|
|
44
|
-
(0, finalizer_1.registerForFinalization)(this,
|
|
44
|
+
(0, finalizer_1.registerForFinalization)(this, Ge1xGripper._free.bind(null, connectionId));
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Opens a serial connection to a gripper.
|
|
48
48
|
* @param portName The name of the serial port to connect to.
|
|
49
|
-
* @param [options.deviceAddress=
|
|
49
|
+
* @param [options.deviceAddress=Ge1xGripper.DEFAULT_DEVICE_ADDRESS] The address of the gripper to connect to.
|
|
50
50
|
* @param [options.timeout=500] The timeout in milliseconds for any request sent using this connection.
|
|
51
|
-
* @returns A
|
|
51
|
+
* @returns A Ge1xGripper instance representing the connection to the gripper.
|
|
52
52
|
*/
|
|
53
53
|
static async openConnection(portName, options = {}) {
|
|
54
|
-
const { deviceAddress =
|
|
54
|
+
const { deviceAddress = Ge1xGripper.DEFAULT_DEVICE_ADDRESS, timeout = 500, } = options;
|
|
55
55
|
const request = {
|
|
56
|
-
...requests.
|
|
56
|
+
...requests.Ge1xGripperOpenConnectionRequest.DEFAULT,
|
|
57
57
|
portName: portName,
|
|
58
58
|
deviceAddress: deviceAddress,
|
|
59
59
|
timeout: timeout,
|
|
60
60
|
toBinary() {
|
|
61
|
-
return requests.
|
|
61
|
+
return requests.Ge1xGripperOpenConnectionRequest.toBinary(this);
|
|
62
62
|
},
|
|
63
63
|
};
|
|
64
|
-
const response = await gateway.callAsync('
|
|
65
|
-
return new
|
|
64
|
+
const response = await gateway.callAsync('ge1x_gripper/open_connection', request, requests.IntResponse.fromBinary);
|
|
65
|
+
return new Ge1xGripper(response.value);
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Closes the connection to the gripper.
|
|
69
69
|
*/
|
|
70
70
|
async close() {
|
|
71
71
|
const request = {
|
|
72
|
-
...requests.
|
|
72
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
73
73
|
connectionId: this.connectionId,
|
|
74
74
|
toBinary() {
|
|
75
|
-
return requests.
|
|
75
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
76
76
|
},
|
|
77
77
|
};
|
|
78
|
-
await gateway.callAsync('
|
|
78
|
+
await gateway.callAsync('ge1x_gripper/close_connection', request);
|
|
79
79
|
}
|
|
80
80
|
/**
|
|
81
81
|
* Reads a single register value from the gripper.
|
|
@@ -84,14 +84,14 @@ class GE1Gripper {
|
|
|
84
84
|
*/
|
|
85
85
|
async readRegister(registerAddress) {
|
|
86
86
|
const request = {
|
|
87
|
-
...requests.
|
|
87
|
+
...requests.Ge1xGripperReadRegisterRequest.DEFAULT,
|
|
88
88
|
connectionId: this.connectionId,
|
|
89
89
|
registerAddress: registerAddress,
|
|
90
90
|
toBinary() {
|
|
91
|
-
return requests.
|
|
91
|
+
return requests.Ge1xGripperReadRegisterRequest.toBinary(this);
|
|
92
92
|
},
|
|
93
93
|
};
|
|
94
|
-
const response = await gateway.callAsync('
|
|
94
|
+
const response = await gateway.callAsync('ge1x_gripper/read_register', request, requests.IntResponse.fromBinary);
|
|
95
95
|
return response.value;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
@@ -101,15 +101,15 @@ class GE1Gripper {
|
|
|
101
101
|
*/
|
|
102
102
|
async writeRegister(registerAddress, data) {
|
|
103
103
|
const request = {
|
|
104
|
-
...requests.
|
|
104
|
+
...requests.Ge1xGripperWriteRegisterRequest.DEFAULT,
|
|
105
105
|
connectionId: this.connectionId,
|
|
106
106
|
registerAddress: registerAddress,
|
|
107
107
|
data: data,
|
|
108
108
|
toBinary() {
|
|
109
|
-
return requests.
|
|
109
|
+
return requests.Ge1xGripperWriteRegisterRequest.toBinary(this);
|
|
110
110
|
},
|
|
111
111
|
};
|
|
112
|
-
await gateway.callAsync('
|
|
112
|
+
await gateway.callAsync('ge1x_gripper/write_register', request);
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* Homes gripper by moving it to its homing position.
|
|
@@ -118,27 +118,27 @@ class GE1Gripper {
|
|
|
118
118
|
async home(options = {}) {
|
|
119
119
|
const { waitUntilIdle = true, } = options;
|
|
120
120
|
const request = {
|
|
121
|
-
...requests.
|
|
121
|
+
...requests.Ge1xGripperWaitUntilIdleRequest.DEFAULT,
|
|
122
122
|
connectionId: this.connectionId,
|
|
123
123
|
waitUntilIdle: waitUntilIdle,
|
|
124
124
|
toBinary() {
|
|
125
|
-
return requests.
|
|
125
|
+
return requests.Ge1xGripperWaitUntilIdleRequest.toBinary(this);
|
|
126
126
|
},
|
|
127
127
|
};
|
|
128
|
-
await gateway.callAsync('
|
|
128
|
+
await gateway.callAsync('ge1x_gripper/home', request);
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
131
|
* Waits until the gripper has stopped moving.
|
|
132
132
|
*/
|
|
133
133
|
async waitUntilIdle() {
|
|
134
134
|
const request = {
|
|
135
|
-
...requests.
|
|
135
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
136
136
|
connectionId: this.connectionId,
|
|
137
137
|
toBinary() {
|
|
138
|
-
return requests.
|
|
138
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
139
139
|
},
|
|
140
140
|
};
|
|
141
|
-
await gateway.callAsync('
|
|
141
|
+
await gateway.callAsync('ge1x_gripper/wait_until_idle', request);
|
|
142
142
|
}
|
|
143
143
|
/**
|
|
144
144
|
* Moves the gripper to a specified position.
|
|
@@ -148,15 +148,15 @@ class GE1Gripper {
|
|
|
148
148
|
async move(position, options = {}) {
|
|
149
149
|
const { waitUntilIdle = true, } = options;
|
|
150
150
|
const request = {
|
|
151
|
-
...requests.
|
|
151
|
+
...requests.Ge1xGripperMoveRequest.DEFAULT,
|
|
152
152
|
connectionId: this.connectionId,
|
|
153
153
|
position: position,
|
|
154
154
|
waitUntilIdle: waitUntilIdle,
|
|
155
155
|
toBinary() {
|
|
156
|
-
return requests.
|
|
156
|
+
return requests.Ge1xGripperMoveRequest.toBinary(this);
|
|
157
157
|
},
|
|
158
158
|
};
|
|
159
|
-
await gateway.callAsync('
|
|
159
|
+
await gateway.callAsync('ge1x_gripper/move', request);
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
162
|
* Moves the gripper to the open position.
|
|
@@ -165,15 +165,15 @@ class GE1Gripper {
|
|
|
165
165
|
async moveOpen(options = {}) {
|
|
166
166
|
const { waitUntilIdle = true, } = options;
|
|
167
167
|
const request = {
|
|
168
|
-
...requests.
|
|
168
|
+
...requests.Ge1xGripperMoveRequest.DEFAULT,
|
|
169
169
|
connectionId: this.connectionId,
|
|
170
170
|
position: 100,
|
|
171
171
|
waitUntilIdle: waitUntilIdle,
|
|
172
172
|
toBinary() {
|
|
173
|
-
return requests.
|
|
173
|
+
return requests.Ge1xGripperMoveRequest.toBinary(this);
|
|
174
174
|
},
|
|
175
175
|
};
|
|
176
|
-
await gateway.callAsync('
|
|
176
|
+
await gateway.callAsync('ge1x_gripper/move', request);
|
|
177
177
|
}
|
|
178
178
|
/**
|
|
179
179
|
* Moves the gripper to the closed position.
|
|
@@ -182,15 +182,15 @@ class GE1Gripper {
|
|
|
182
182
|
async moveClose(options = {}) {
|
|
183
183
|
const { waitUntilIdle = true, } = options;
|
|
184
184
|
const request = {
|
|
185
|
-
...requests.
|
|
185
|
+
...requests.Ge1xGripperMoveRequest.DEFAULT,
|
|
186
186
|
connectionId: this.connectionId,
|
|
187
187
|
position: 0,
|
|
188
188
|
waitUntilIdle: waitUntilIdle,
|
|
189
189
|
toBinary() {
|
|
190
|
-
return requests.
|
|
190
|
+
return requests.Ge1xGripperMoveRequest.toBinary(this);
|
|
191
191
|
},
|
|
192
192
|
};
|
|
193
|
-
await gateway.callAsync('
|
|
193
|
+
await gateway.callAsync('ge1x_gripper/move', request);
|
|
194
194
|
}
|
|
195
195
|
/**
|
|
196
196
|
* Stops the gripper from moving.
|
|
@@ -199,14 +199,14 @@ class GE1Gripper {
|
|
|
199
199
|
async stop(options = {}) {
|
|
200
200
|
const { waitUntilIdle = true, } = options;
|
|
201
201
|
const request = {
|
|
202
|
-
...requests.
|
|
202
|
+
...requests.Ge1xGripperWaitUntilIdleRequest.DEFAULT,
|
|
203
203
|
connectionId: this.connectionId,
|
|
204
204
|
waitUntilIdle: waitUntilIdle,
|
|
205
205
|
toBinary() {
|
|
206
|
-
return requests.
|
|
206
|
+
return requests.Ge1xGripperWaitUntilIdleRequest.toBinary(this);
|
|
207
207
|
},
|
|
208
208
|
};
|
|
209
|
-
await gateway.callAsync('
|
|
209
|
+
await gateway.callAsync('ge1x_gripper/stop', request);
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
212
|
* Sets the gripping force of the gripper.
|
|
@@ -214,14 +214,14 @@ class GE1Gripper {
|
|
|
214
214
|
*/
|
|
215
215
|
async setForce(force) {
|
|
216
216
|
const request = {
|
|
217
|
-
...requests.
|
|
217
|
+
...requests.Ge1xGripperSetForceRequest.DEFAULT,
|
|
218
218
|
connectionId: this.connectionId,
|
|
219
219
|
force: force,
|
|
220
220
|
toBinary() {
|
|
221
|
-
return requests.
|
|
221
|
+
return requests.Ge1xGripperSetForceRequest.toBinary(this);
|
|
222
222
|
},
|
|
223
223
|
};
|
|
224
|
-
await gateway.callAsync('
|
|
224
|
+
await gateway.callAsync('ge1x_gripper/set_force', request);
|
|
225
225
|
}
|
|
226
226
|
/**
|
|
227
227
|
* Sets the maximum speed of the gripper.
|
|
@@ -229,40 +229,40 @@ class GE1Gripper {
|
|
|
229
229
|
*/
|
|
230
230
|
async setSpeed(speed) {
|
|
231
231
|
const request = {
|
|
232
|
-
...requests.
|
|
232
|
+
...requests.Ge1xGripperSetSpeedRequest.DEFAULT,
|
|
233
233
|
connectionId: this.connectionId,
|
|
234
234
|
speed: speed,
|
|
235
235
|
toBinary() {
|
|
236
|
-
return requests.
|
|
236
|
+
return requests.Ge1xGripperSetSpeedRequest.toBinary(this);
|
|
237
237
|
},
|
|
238
238
|
};
|
|
239
|
-
await gateway.callAsync('
|
|
239
|
+
await gateway.callAsync('ge1x_gripper/set_speed', request);
|
|
240
240
|
}
|
|
241
241
|
/**
|
|
242
242
|
* Enables the gripper driver.
|
|
243
243
|
*/
|
|
244
244
|
async driverEnable() {
|
|
245
245
|
const request = {
|
|
246
|
-
...requests.
|
|
246
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
247
247
|
connectionId: this.connectionId,
|
|
248
248
|
toBinary() {
|
|
249
|
-
return requests.
|
|
249
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
250
250
|
},
|
|
251
251
|
};
|
|
252
|
-
await gateway.callAsync('
|
|
252
|
+
await gateway.callAsync('ge1x_gripper/driver_enable', request);
|
|
253
253
|
}
|
|
254
254
|
/**
|
|
255
255
|
* Disables the gripper driver.
|
|
256
256
|
*/
|
|
257
257
|
async driverDisable() {
|
|
258
258
|
const request = {
|
|
259
|
-
...requests.
|
|
259
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
260
260
|
connectionId: this.connectionId,
|
|
261
261
|
toBinary() {
|
|
262
|
-
return requests.
|
|
262
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
263
263
|
},
|
|
264
264
|
};
|
|
265
|
-
await gateway.callAsync('
|
|
265
|
+
await gateway.callAsync('ge1x_gripper/driver_disable', request);
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Performs a calibration of the travel range by moving to the fully open and fully closed positions.
|
|
@@ -271,14 +271,14 @@ class GE1Gripper {
|
|
|
271
271
|
async calibrate(options = {}) {
|
|
272
272
|
const { saveToFlash = true, } = options;
|
|
273
273
|
const request = {
|
|
274
|
-
...requests.
|
|
274
|
+
...requests.Ge1xGripperCalibrateRequest.DEFAULT,
|
|
275
275
|
connectionId: this.connectionId,
|
|
276
276
|
saveToFlash: saveToFlash,
|
|
277
277
|
toBinary() {
|
|
278
|
-
return requests.
|
|
278
|
+
return requests.Ge1xGripperCalibrateRequest.toBinary(this);
|
|
279
279
|
},
|
|
280
280
|
};
|
|
281
|
-
await gateway.callAsync('
|
|
281
|
+
await gateway.callAsync('ge1x_gripper/calibrate', request);
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
284
|
* Gets the current state of the gripper.
|
|
@@ -286,13 +286,13 @@ class GE1Gripper {
|
|
|
286
286
|
*/
|
|
287
287
|
async getState() {
|
|
288
288
|
const request = {
|
|
289
|
-
...requests.
|
|
289
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
290
290
|
connectionId: this.connectionId,
|
|
291
291
|
toBinary() {
|
|
292
|
-
return requests.
|
|
292
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
293
293
|
},
|
|
294
294
|
};
|
|
295
|
-
const response = await gateway.callAsync('
|
|
295
|
+
const response = await gateway.callAsync('ge1x_gripper/get_state', request, requests.Ge1xGripperGetStateResponse.fromBinary);
|
|
296
296
|
return response.value;
|
|
297
297
|
}
|
|
298
298
|
/**
|
|
@@ -301,13 +301,13 @@ class GE1Gripper {
|
|
|
301
301
|
*/
|
|
302
302
|
async getError() {
|
|
303
303
|
const request = {
|
|
304
|
-
...requests.
|
|
304
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
305
305
|
connectionId: this.connectionId,
|
|
306
306
|
toBinary() {
|
|
307
|
-
return requests.
|
|
307
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
308
308
|
},
|
|
309
309
|
};
|
|
310
|
-
const response = await gateway.callAsync('
|
|
310
|
+
const response = await gateway.callAsync('ge1x_gripper/get_error', request, requests.Ge1xGripperGetErrorResponse.fromBinary);
|
|
311
311
|
return response.value;
|
|
312
312
|
}
|
|
313
313
|
/**
|
|
@@ -315,13 +315,13 @@ class GE1Gripper {
|
|
|
315
315
|
*/
|
|
316
316
|
async clearError() {
|
|
317
317
|
const request = {
|
|
318
|
-
...requests.
|
|
318
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
319
319
|
connectionId: this.connectionId,
|
|
320
320
|
toBinary() {
|
|
321
|
-
return requests.
|
|
321
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
322
322
|
},
|
|
323
323
|
};
|
|
324
|
-
await gateway.callAsync('
|
|
324
|
+
await gateway.callAsync('ge1x_gripper/clear_error', request);
|
|
325
325
|
}
|
|
326
326
|
/**
|
|
327
327
|
* Checks if the gripper has been homed.
|
|
@@ -329,13 +329,13 @@ class GE1Gripper {
|
|
|
329
329
|
*/
|
|
330
330
|
async isHomed() {
|
|
331
331
|
const request = {
|
|
332
|
-
...requests.
|
|
332
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
333
333
|
connectionId: this.connectionId,
|
|
334
334
|
toBinary() {
|
|
335
|
-
return requests.
|
|
335
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
336
336
|
},
|
|
337
337
|
};
|
|
338
|
-
const response = await gateway.callAsync('
|
|
338
|
+
const response = await gateway.callAsync('ge1x_gripper/is_homed', request, requests.BoolResponse.fromBinary);
|
|
339
339
|
return response.value;
|
|
340
340
|
}
|
|
341
341
|
/**
|
|
@@ -344,13 +344,13 @@ class GE1Gripper {
|
|
|
344
344
|
*/
|
|
345
345
|
async getPosition() {
|
|
346
346
|
const request = {
|
|
347
|
-
...requests.
|
|
347
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
348
348
|
connectionId: this.connectionId,
|
|
349
349
|
toBinary() {
|
|
350
|
-
return requests.
|
|
350
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
351
351
|
},
|
|
352
352
|
};
|
|
353
|
-
const response = await gateway.callAsync('
|
|
353
|
+
const response = await gateway.callAsync('ge1x_gripper/get_position', request, requests.DoubleResponse.fromBinary);
|
|
354
354
|
return response.value;
|
|
355
355
|
}
|
|
356
356
|
/**
|
|
@@ -359,13 +359,13 @@ class GE1Gripper {
|
|
|
359
359
|
*/
|
|
360
360
|
async getCurrent() {
|
|
361
361
|
const request = {
|
|
362
|
-
...requests.
|
|
362
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
363
363
|
connectionId: this.connectionId,
|
|
364
364
|
toBinary() {
|
|
365
|
-
return requests.
|
|
365
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
366
366
|
},
|
|
367
367
|
};
|
|
368
|
-
const response = await gateway.callAsync('
|
|
368
|
+
const response = await gateway.callAsync('ge1x_gripper/get_current', request, requests.IntResponse.fromBinary);
|
|
369
369
|
return response.value;
|
|
370
370
|
}
|
|
371
371
|
/**
|
|
@@ -376,15 +376,15 @@ class GE1Gripper {
|
|
|
376
376
|
async setHomeDirection(direction, options = {}) {
|
|
377
377
|
const { saveToFlash = true, } = options;
|
|
378
378
|
const request = {
|
|
379
|
-
...requests.
|
|
379
|
+
...requests.Ge1xGripperSetHomeDirectionRequest.DEFAULT,
|
|
380
380
|
connectionId: this.connectionId,
|
|
381
381
|
direction: direction,
|
|
382
382
|
saveToFlash: saveToFlash,
|
|
383
383
|
toBinary() {
|
|
384
|
-
return requests.
|
|
384
|
+
return requests.Ge1xGripperSetHomeDirectionRequest.toBinary(this);
|
|
385
385
|
},
|
|
386
386
|
};
|
|
387
|
-
await gateway.callAsync('
|
|
387
|
+
await gateway.callAsync('ge1x_gripper/set_home_direction', request);
|
|
388
388
|
}
|
|
389
389
|
/**
|
|
390
390
|
* Enables or disables automatic homing on power up.
|
|
@@ -394,15 +394,15 @@ class GE1Gripper {
|
|
|
394
394
|
async setAutoHome(enabled, options = {}) {
|
|
395
395
|
const { saveToFlash = true, } = options;
|
|
396
396
|
const request = {
|
|
397
|
-
...requests.
|
|
397
|
+
...requests.Ge1xGripperSetAutoHomeRequest.DEFAULT,
|
|
398
398
|
connectionId: this.connectionId,
|
|
399
399
|
enabled: enabled,
|
|
400
400
|
saveToFlash: saveToFlash,
|
|
401
401
|
toBinary() {
|
|
402
|
-
return requests.
|
|
402
|
+
return requests.Ge1xGripperSetAutoHomeRequest.toBinary(this);
|
|
403
403
|
},
|
|
404
404
|
};
|
|
405
|
-
await gateway.callAsync('
|
|
405
|
+
await gateway.callAsync('ge1x_gripper/set_auto_home', request);
|
|
406
406
|
}
|
|
407
407
|
/**
|
|
408
408
|
* Enables or disables IO control for the gripper.
|
|
@@ -412,15 +412,15 @@ class GE1Gripper {
|
|
|
412
412
|
async setIoEnabled(enabled, options = {}) {
|
|
413
413
|
const { saveToFlash = true, } = options;
|
|
414
414
|
const request = {
|
|
415
|
-
...requests.
|
|
415
|
+
...requests.Ge1xGripperSetIoEnabledRequest.DEFAULT,
|
|
416
416
|
connectionId: this.connectionId,
|
|
417
417
|
enabled: enabled,
|
|
418
418
|
saveToFlash: saveToFlash,
|
|
419
419
|
toBinary() {
|
|
420
|
-
return requests.
|
|
420
|
+
return requests.Ge1xGripperSetIoEnabledRequest.toBinary(this);
|
|
421
421
|
},
|
|
422
422
|
};
|
|
423
|
-
await gateway.callAsync('
|
|
423
|
+
await gateway.callAsync('ge1x_gripper/set_io_enabled', request);
|
|
424
424
|
}
|
|
425
425
|
/**
|
|
426
426
|
* Sets the debounce filter time for the gripper IO input to suppress noise.
|
|
@@ -430,15 +430,15 @@ class GE1Gripper {
|
|
|
430
430
|
async setIoInputFilter(duration, options = {}) {
|
|
431
431
|
const { saveToFlash = true, } = options;
|
|
432
432
|
const request = {
|
|
433
|
-
...requests.
|
|
433
|
+
...requests.Ge1xGripperSetIoInputFilterRequest.DEFAULT,
|
|
434
434
|
connectionId: this.connectionId,
|
|
435
435
|
duration: duration,
|
|
436
436
|
saveToFlash: saveToFlash,
|
|
437
437
|
toBinary() {
|
|
438
|
-
return requests.
|
|
438
|
+
return requests.Ge1xGripperSetIoInputFilterRequest.toBinary(this);
|
|
439
439
|
},
|
|
440
440
|
};
|
|
441
|
-
await gateway.callAsync('
|
|
441
|
+
await gateway.callAsync('ge1x_gripper/set_io_input_filter', request);
|
|
442
442
|
}
|
|
443
443
|
/**
|
|
444
444
|
* Saves a position, force, and speed as a preset.
|
|
@@ -451,7 +451,7 @@ class GE1Gripper {
|
|
|
451
451
|
async setPreset(presetNumber, position, options = {}) {
|
|
452
452
|
const { force = 100, speed = 100, saveToFlash = true, } = options;
|
|
453
453
|
const request = {
|
|
454
|
-
...requests.
|
|
454
|
+
...requests.Ge1xGripperSetPresetRequest.DEFAULT,
|
|
455
455
|
connectionId: this.connectionId,
|
|
456
456
|
presetNumber: presetNumber,
|
|
457
457
|
position: position,
|
|
@@ -459,10 +459,10 @@ class GE1Gripper {
|
|
|
459
459
|
speed: speed,
|
|
460
460
|
saveToFlash: saveToFlash,
|
|
461
461
|
toBinary() {
|
|
462
|
-
return requests.
|
|
462
|
+
return requests.Ge1xGripperSetPresetRequest.toBinary(this);
|
|
463
463
|
},
|
|
464
464
|
};
|
|
465
|
-
await gateway.callAsync('
|
|
465
|
+
await gateway.callAsync('ge1x_gripper/set_preset', request);
|
|
466
466
|
}
|
|
467
467
|
/**
|
|
468
468
|
* Activates a preset, causing the gripper to move to the preset position using the preset force and speed.
|
|
@@ -472,15 +472,15 @@ class GE1Gripper {
|
|
|
472
472
|
async activatePreset(presetNumber, options = {}) {
|
|
473
473
|
const { waitUntilIdle = true, } = options;
|
|
474
474
|
const request = {
|
|
475
|
-
...requests.
|
|
475
|
+
...requests.Ge1xGripperActivatePresetRequest.DEFAULT,
|
|
476
476
|
connectionId: this.connectionId,
|
|
477
477
|
presetNumber: presetNumber,
|
|
478
478
|
waitUntilIdle: waitUntilIdle,
|
|
479
479
|
toBinary() {
|
|
480
|
-
return requests.
|
|
480
|
+
return requests.Ge1xGripperActivatePresetRequest.toBinary(this);
|
|
481
481
|
},
|
|
482
482
|
};
|
|
483
|
-
await gateway.callAsync('
|
|
483
|
+
await gateway.callAsync('ge1x_gripper/activate_preset', request);
|
|
484
484
|
}
|
|
485
485
|
/**
|
|
486
486
|
* Gets the preset number currently activated by the gripper IO input.
|
|
@@ -488,13 +488,13 @@ class GE1Gripper {
|
|
|
488
488
|
*/
|
|
489
489
|
async getIoInputPresetNumber() {
|
|
490
490
|
const request = {
|
|
491
|
-
...requests.
|
|
491
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
492
492
|
connectionId: this.connectionId,
|
|
493
493
|
toBinary() {
|
|
494
|
-
return requests.
|
|
494
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
495
495
|
},
|
|
496
496
|
};
|
|
497
|
-
const response = await gateway.callAsync('
|
|
497
|
+
const response = await gateway.callAsync('ge1x_gripper/get_io_input_preset_number', request, requests.IntResponse.fromBinary);
|
|
498
498
|
return response.value;
|
|
499
499
|
}
|
|
500
500
|
/**
|
|
@@ -503,26 +503,26 @@ class GE1Gripper {
|
|
|
503
503
|
*/
|
|
504
504
|
static _free(connectionId) {
|
|
505
505
|
const request = {
|
|
506
|
-
...requests.
|
|
506
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
507
507
|
connectionId: connectionId,
|
|
508
508
|
toBinary() {
|
|
509
|
-
return requests.
|
|
509
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
510
510
|
},
|
|
511
511
|
};
|
|
512
|
-
gateway.callSync('
|
|
512
|
+
gateway.callSync('ge1x_gripper/free_connection', request);
|
|
513
513
|
}
|
|
514
514
|
/**
|
|
515
|
-
* Releases the native resources of the ge 1 gripper.
|
|
515
|
+
* Releases the native resources of the ge 1 x gripper.
|
|
516
516
|
* Should only be called if your environment does not support FinalizationRegistry.
|
|
517
517
|
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
|
|
518
518
|
*/
|
|
519
519
|
free() {
|
|
520
|
-
|
|
520
|
+
Ge1xGripper._free(this.connectionId);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
exports.
|
|
523
|
+
exports.Ge1xGripper = Ge1xGripper;
|
|
524
524
|
/**
|
|
525
525
|
* The default device address for a gripper in the GE1x series.
|
|
526
526
|
*/
|
|
527
|
-
|
|
528
|
-
//# sourceMappingURL=
|
|
527
|
+
Ge1xGripper.DEFAULT_DEVICE_ADDRESS = 1;
|
|
528
|
+
//# sourceMappingURL=ge_1_x_gripper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ge_1_x_gripper.js","sourceRoot":"","sources":["../../../src/product/ge_1_x_gripper.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,oDAAsC;AACtC,sDAAwC;AACxC,4CAAuD;AAKvD;;GAEG;AACH,MAAa,WAAW;IAMtB;;OAEG;IACH,IAAW,YAAY;QACrB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;IAGD,YAAY,YAAoB;QAC9B,IAAI,CAAC,aAAa,GAAG,YAAY,CAAC;QAClC,IAAA,mCAAuB,EAAC,IAAI,EAAE,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CA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YAClE,GAAG,QAAQ,CAAC,uBAAuB,CAAC,OAAO;YAC3C,YAAY,EAAE,YAAY;YAC1B,QAAQ;gBACN,OAAO,QAAQ,CAAC,uBAAuB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACzD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,8BAA8B,EAAE,OAAO,CAAC,CAAC;IAC5D,CAAC;IAED;;;;OAIG;IACI,IAAI;QACT,WAAW,CAAC,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACvC,CAAC;;AA3oBH,kCA4oBC;AA3oBC;;GAEG;AACoB,kCAAsB,GAAW,CAAC,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\n\nimport * as gateway from '../gateway';\nimport * as requests from '../requests';\nimport { registerForFinalization } from '../finalizer';\nimport { Ge1xGripperState } from './ge_1_x_gripper_state';\nimport { Ge1xGripperError } from './ge_1_x_gripper_error';\nimport { Ge1xGripperDirection } from './ge_1_x_gripper_direction';\n\n/**\n * Class representing a gripper in the GE1x series.\n */\nexport class Ge1xGripper {\n /**\n * The default device address for a gripper in the GE1x series.\n */\n public static readonly DEFAULT_DEVICE_ADDRESS: number = 1;\n\n /**\n * The identifier for the connection.\n */\n public get connectionId(): number {\n return this._connectionId;\n }\n private _connectionId: number;\n\n constructor(connectionId: number) {\n this._connectionId = connectionId;\n registerForFinalization(this, Ge1xGripper._free.bind(null, connectionId));\n }\n\n /**\n * Opens a serial connection to a gripper.\n * @param portName The name of the serial port to connect to.\n * @param [options.deviceAddress=Ge1xGripper.DEFAULT_DEVICE_ADDRESS] The address of the gripper to connect to.\n * @param [options.timeout=500] The timeout in milliseconds for any request sent using this connection.\n * @returns A Ge1xGripper instance representing the connection to the gripper.\n */\n public static async openConnection(\n portName: string,\n options: Ge1xGripper.OpenConnectionOptions = {}\n ): Promise<Ge1xGripper> {\n const {\n deviceAddress = Ge1xGripper.DEFAULT_DEVICE_ADDRESS,\n timeout = 500,\n } = options;\n const request: requests.Ge1xGripperOpenConnectionRequest & gateway.Message = {\n ...requests.Ge1xGripperOpenConnectionRequest.DEFAULT,\n portName: portName,\n deviceAddress: deviceAddress,\n timeout: timeout,\n toBinary() {\n return requests.Ge1xGripperOpenConnectionRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'ge1x_gripper/open_connection',\n request,\n requests.IntResponse.fromBinary);\n return new Ge1xGripper(response.value);\n }\n\n /**\n * Closes the connection to the gripper.\n */\n public async close(): Promise<void> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/close_connection', request);\n }\n\n /**\n * Reads a single register value from the gripper.\n * @param registerAddress The address of the register to read.\n * @returns The data at the specified register address.\n */\n public async readRegister(\n registerAddress: number\n ): Promise<number> {\n const request: requests.Ge1xGripperReadRegisterRequest & gateway.Message = {\n ...requests.Ge1xGripperReadRegisterRequest.DEFAULT,\n connectionId: this.connectionId,\n registerAddress: registerAddress,\n toBinary() {\n return requests.Ge1xGripperReadRegisterRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'ge1x_gripper/read_register',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Writes a single register value to the gripper.\n * @param registerAddress The address of the register to write.\n * @param data The data to write to the specified register address.\n */\n public async writeRegister(\n registerAddress: number,\n data: number\n ): Promise<void> {\n const request: requests.Ge1xGripperWriteRegisterRequest & gateway.Message = {\n ...requests.Ge1xGripperWriteRegisterRequest.DEFAULT,\n connectionId: this.connectionId,\n registerAddress: registerAddress,\n data: data,\n toBinary() {\n return requests.Ge1xGripperWriteRegisterRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/write_register', request);\n }\n\n /**\n * Homes gripper by moving it to its homing position.\n * @param [options.waitUntilIdle=true] Wait until homing has completed before returning.\n */\n public async home(\n options: Ge1xGripper.HomeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.Ge1xGripperWaitUntilIdleRequest & gateway.Message = {\n ...requests.Ge1xGripperWaitUntilIdleRequest.DEFAULT,\n connectionId: this.connectionId,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.Ge1xGripperWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/home', request);\n }\n\n /**\n * Waits until the gripper has stopped moving.\n */\n public async waitUntilIdle(): Promise<void> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/wait_until_idle', request);\n }\n\n /**\n * Moves the gripper to a specified position.\n * @param position The target position for the gripper as a percentage, where 0 is closed and 100 is open.\n * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.\n */\n public async move(\n position: number,\n options: Ge1xGripper.MoveOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.Ge1xGripperMoveRequest & gateway.Message = {\n ...requests.Ge1xGripperMoveRequest.DEFAULT,\n connectionId: this.connectionId,\n position: position,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.Ge1xGripperMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/move', request);\n }\n\n /**\n * Moves the gripper to the open position.\n * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.\n */\n public async moveOpen(\n options: Ge1xGripper.MoveOpenOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.Ge1xGripperMoveRequest & gateway.Message = {\n ...requests.Ge1xGripperMoveRequest.DEFAULT,\n connectionId: this.connectionId,\n position: 100,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.Ge1xGripperMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/move', request);\n }\n\n /**\n * Moves the gripper to the closed position.\n * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.\n */\n public async moveClose(\n options: Ge1xGripper.MoveCloseOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.Ge1xGripperMoveRequest & gateway.Message = {\n ...requests.Ge1xGripperMoveRequest.DEFAULT,\n connectionId: this.connectionId,\n position: 0,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.Ge1xGripperMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/move', request);\n }\n\n /**\n * Stops the gripper from moving.\n * @param [options.waitUntilIdle=true] Wait until the gripper has stopped before returning.\n */\n public async stop(\n options: Ge1xGripper.StopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.Ge1xGripperWaitUntilIdleRequest & gateway.Message = {\n ...requests.Ge1xGripperWaitUntilIdleRequest.DEFAULT,\n connectionId: this.connectionId,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.Ge1xGripperWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/stop', request);\n }\n\n /**\n * Sets the gripping force of the gripper.\n * @param force The gripping force as a percentage from 20 to 100.\n */\n public async setForce(\n force: number\n ): Promise<void> {\n const request: requests.Ge1xGripperSetForceRequest & gateway.Message = {\n ...requests.Ge1xGripperSetForceRequest.DEFAULT,\n connectionId: this.connectionId,\n force: force,\n toBinary() {\n return requests.Ge1xGripperSetForceRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_force', request);\n }\n\n /**\n * Sets the maximum speed of the gripper.\n * @param speed The maximum speed as a percentage from 1 to 100.\n */\n public async setSpeed(\n speed: number\n ): Promise<void> {\n const request: requests.Ge1xGripperSetSpeedRequest & gateway.Message = {\n ...requests.Ge1xGripperSetSpeedRequest.DEFAULT,\n connectionId: this.connectionId,\n speed: speed,\n toBinary() {\n return requests.Ge1xGripperSetSpeedRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_speed', request);\n }\n\n /**\n * Enables the gripper driver.\n */\n public async driverEnable(): Promise<void> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/driver_enable', request);\n }\n\n /**\n * Disables the gripper driver.\n */\n public async driverDisable(): Promise<void> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/driver_disable', request);\n }\n\n /**\n * Performs a calibration of the travel range by moving to the fully open and fully closed positions.\n * @param [options.saveToFlash=true] Save the calibration results to flash memory so they are retained on power cycle.\n */\n public async calibrate(\n options: Ge1xGripper.CalibrateOptions = {}\n ): Promise<void> {\n const {\n saveToFlash = true,\n } = options;\n const request: requests.Ge1xGripperCalibrateRequest & gateway.Message = {\n ...requests.Ge1xGripperCalibrateRequest.DEFAULT,\n connectionId: this.connectionId,\n saveToFlash: saveToFlash,\n toBinary() {\n return requests.Ge1xGripperCalibrateRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/calibrate', request);\n }\n\n /**\n * Gets the current state of the gripper.\n * @returns The current state of the gripper.\n */\n public async getState(): Promise<Ge1xGripperState> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.Ge1xGripperGetStateResponse>(\n 'ge1x_gripper/get_state',\n request,\n requests.Ge1xGripperGetStateResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Gets the current error of the gripper.\n * @returns The current error of the gripper.\n */\n public async getError(): Promise<Ge1xGripperError> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.Ge1xGripperGetErrorResponse>(\n 'ge1x_gripper/get_error',\n request,\n requests.Ge1xGripperGetErrorResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Clears the current error of the gripper.\n */\n public async clearError(): Promise<void> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/clear_error', request);\n }\n\n /**\n * Checks if the gripper has been homed.\n * @returns True if the gripper is homed, false otherwise.\n */\n public async isHomed(): Promise<boolean> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'ge1x_gripper/is_homed',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Gets the current position of the gripper.\n * @returns The current position of the gripper as a percentage, where 0 is closed and 100 is open.\n */\n public async getPosition(): Promise<number> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'ge1x_gripper/get_position',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Gets the current current of the gripper.\n * @returns The current current of the gripper in milliamps.\n */\n public async getCurrent(): Promise<number> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'ge1x_gripper/get_current',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets the home direction for the gripper.\n * @param direction The home direction to set.\n * @param [options.saveToFlash=true] Save the home direction setting to flash memory so it is retained on power cycle.\n */\n public async setHomeDirection(\n direction: Ge1xGripperDirection,\n options: Ge1xGripper.SetHomeDirectionOptions = {}\n ): Promise<void> {\n const {\n saveToFlash = true,\n } = options;\n const request: requests.Ge1xGripperSetHomeDirectionRequest & gateway.Message = {\n ...requests.Ge1xGripperSetHomeDirectionRequest.DEFAULT,\n connectionId: this.connectionId,\n direction: direction,\n saveToFlash: saveToFlash,\n toBinary() {\n return requests.Ge1xGripperSetHomeDirectionRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_home_direction', request);\n }\n\n /**\n * Enables or disables automatic homing on power up.\n * @param enabled True to enable automatic homing on power up, false to disable.\n * @param [options.saveToFlash=true] Save the auto home setting to flash memory so it is retained on power cycle.\n */\n public async setAutoHome(\n enabled: boolean,\n options: Ge1xGripper.SetAutoHomeOptions = {}\n ): Promise<void> {\n const {\n saveToFlash = true,\n } = options;\n const request: requests.Ge1xGripperSetAutoHomeRequest & gateway.Message = {\n ...requests.Ge1xGripperSetAutoHomeRequest.DEFAULT,\n connectionId: this.connectionId,\n enabled: enabled,\n saveToFlash: saveToFlash,\n toBinary() {\n return requests.Ge1xGripperSetAutoHomeRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_auto_home', request);\n }\n\n /**\n * Enables or disables IO control for the gripper.\n * @param enabled True to enable IO control, false to disable.\n * @param [options.saveToFlash=true] Save the IO enabled setting to flash memory so it is retained on power cycle.\n */\n public async setIoEnabled(\n enabled: boolean,\n options: Ge1xGripper.SetIoEnabledOptions = {}\n ): Promise<void> {\n const {\n saveToFlash = true,\n } = options;\n const request: requests.Ge1xGripperSetIoEnabledRequest & gateway.Message = {\n ...requests.Ge1xGripperSetIoEnabledRequest.DEFAULT,\n connectionId: this.connectionId,\n enabled: enabled,\n saveToFlash: saveToFlash,\n toBinary() {\n return requests.Ge1xGripperSetIoEnabledRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_io_enabled', request);\n }\n\n /**\n * Sets the debounce filter time for the gripper IO input to suppress noise.\n * @param duration The IO input filter time in milliseconds.\n * @param [options.saveToFlash=true] Save the IO input filter setting to flash memory so it is retained on power cycle.\n */\n public async setIoInputFilter(\n duration: number,\n options: Ge1xGripper.SetIoInputFilterOptions = {}\n ): Promise<void> {\n const {\n saveToFlash = true,\n } = options;\n const request: requests.Ge1xGripperSetIoInputFilterRequest & gateway.Message = {\n ...requests.Ge1xGripperSetIoInputFilterRequest.DEFAULT,\n connectionId: this.connectionId,\n duration: duration,\n saveToFlash: saveToFlash,\n toBinary() {\n return requests.Ge1xGripperSetIoInputFilterRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_io_input_filter', request);\n }\n\n /**\n * Saves a position, force, and speed as a preset.\n * @param presetNumber The preset number to save the preset to, from 1 to 4.\n * @param position The target position for the preset as a percentage, where 0 is closed and 100 is open.\n * @param [options.force=100] The gripping force for the preset as a percentage from 20 to 100.\n * @param [options.speed=100] The maximum speed for the preset as a percentage from 1 to 100.\n * @param [options.saveToFlash=true] Save the preset to flash memory so it is retained on power cycle.\n */\n public async setPreset(\n presetNumber: number,\n position: number,\n options: Ge1xGripper.SetPresetOptions = {}\n ): Promise<void> {\n const {\n force = 100,\n speed = 100,\n saveToFlash = true,\n } = options;\n const request: requests.Ge1xGripperSetPresetRequest & gateway.Message = {\n ...requests.Ge1xGripperSetPresetRequest.DEFAULT,\n connectionId: this.connectionId,\n presetNumber: presetNumber,\n position: position,\n force: force,\n speed: speed,\n saveToFlash: saveToFlash,\n toBinary() {\n return requests.Ge1xGripperSetPresetRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/set_preset', request);\n }\n\n /**\n * Activates a preset, causing the gripper to move to the preset position using the preset force and speed.\n * @param presetNumber The preset number to activate, from 1 to 4.\n * @param [options.waitUntilIdle=true] Wait until the move has completed before returning.\n */\n public async activatePreset(\n presetNumber: number,\n options: Ge1xGripper.ActivatePresetOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.Ge1xGripperActivatePresetRequest & gateway.Message = {\n ...requests.Ge1xGripperActivatePresetRequest.DEFAULT,\n connectionId: this.connectionId,\n presetNumber: presetNumber,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.Ge1xGripperActivatePresetRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('ge1x_gripper/activate_preset', request);\n }\n\n /**\n * Gets the preset number currently activated by the gripper IO input.\n * @returns The current preset number activated by the gripper IO input.\n */\n public async getIoInputPresetNumber(): Promise<number> {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: this.connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'ge1x_gripper/get_io_input_preset_number',\n request,\n requests.IntResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Frees the connection instance.\n * @param connectionId Connection ID to be freed.\n */\n private static _free(\n connectionId: number\n ): void {\n const request: requests.Ge1xGripperEmptyRequest & gateway.Message = {\n ...requests.Ge1xGripperEmptyRequest.DEFAULT,\n connectionId: connectionId,\n toBinary() {\n return requests.Ge1xGripperEmptyRequest.toBinary(this);\n },\n };\n\n gateway.callSync('ge1x_gripper/free_connection', request);\n }\n\n /**\n * Releases the native resources of the ge 1 x gripper.\n * Should only be called if your environment does not support FinalizationRegistry.\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n */\n public free(): void {\n Ge1xGripper._free(this.connectionId);\n }\n}\n\nnamespace Ge1xGripper {\n export interface OpenConnectionOptions {\n /**\n * The address of the gripper to connect to.\n */\n deviceAddress?: number;\n /**\n * The timeout in milliseconds for any request sent using this connection.\n */\n timeout?: number;\n }\n export interface HomeOptions {\n /**\n * Wait until homing has completed before returning.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveOptions {\n /**\n * Wait until the move has completed before returning.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveOpenOptions {\n /**\n * Wait until the move has completed before returning.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveCloseOptions {\n /**\n * Wait until the move has completed before returning.\n */\n waitUntilIdle?: boolean;\n }\n export interface StopOptions {\n /**\n * Wait until the gripper has stopped before returning.\n */\n waitUntilIdle?: boolean;\n }\n export interface CalibrateOptions {\n /**\n * Save the calibration results to flash memory so they are retained on power cycle.\n */\n saveToFlash?: boolean;\n }\n export interface SetHomeDirectionOptions {\n /**\n * Save the home direction setting to flash memory so it is retained on power cycle.\n */\n saveToFlash?: boolean;\n }\n export interface SetAutoHomeOptions {\n /**\n * Save the auto home setting to flash memory so it is retained on power cycle.\n */\n saveToFlash?: boolean;\n }\n export interface SetIoEnabledOptions {\n /**\n * Save the IO enabled setting to flash memory so it is retained on power cycle.\n */\n saveToFlash?: boolean;\n }\n export interface SetIoInputFilterOptions {\n /**\n * Save the IO input filter setting to flash memory so it is retained on power cycle.\n */\n saveToFlash?: boolean;\n }\n export interface SetPresetOptions {\n /**\n * The gripping force for the preset as a percentage from 20 to 100.\n */\n force?: number;\n /**\n * The maximum speed for the preset as a percentage from 1 to 100.\n */\n speed?: number;\n /**\n * Save the preset to flash memory so it is retained on power cycle.\n */\n saveToFlash?: boolean;\n }\n export interface ActivatePresetOptions {\n /**\n * Wait until the move has completed before returning.\n */\n waitUntilIdle?: boolean;\n }\n}\n"]}
|