@zaber/motion 9.2.0 → 9.2.1
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/dist/binding/wasm/zaber-motion-core.wasm +0 -0
- package/dist/lib/gateway/constants.js +1 -1
- package/dist/lib/gateway/constants.js.map +1 -1
- package/dist/lib/product/ge_1_x_gripper.d.ts +1 -8
- package/dist/lib/product/ge_1_x_gripper.d.ts.map +1 -1
- package/dist/lib/product/ge_1_x_gripper.js +3 -6
- package/dist/lib/product/ge_1_x_gripper.js.map +1 -1
- package/dist/lib/requests/index.d.ts +0 -1
- package/dist/lib/requests/index.d.ts.map +1 -1
- package/dist/lib/requests/index.js +0 -1
- package/dist/lib/requests/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts +0 -14
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.d.ts.map +0 -1
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js +0 -39
- package/dist/lib/requests/ge_1_x_gripper_calibrate_request.js.map +0 -1
|
Binary file
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Constants = void 0;
|
|
4
4
|
// The version string is updated automatically with `npx gulp set_version`. Do not edit manually.
|
|
5
5
|
exports.Constants = {
|
|
6
|
-
version: '9.2.
|
|
6
|
+
version: '9.2.1',
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/gateway/constants.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACpF,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,OAAO;CACjB,CAAC","sourcesContent":["// The version string is updated automatically with `npx gulp set_version`. Do not edit manually.\nexport const Constants = {\n version: '9.2.
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/gateway/constants.ts"],"names":[],"mappings":";;;AAAA,iGAAiG;AACpF,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,OAAO;CACjB,CAAC","sourcesContent":["// The version string is updated automatically with `npx gulp set_version`. Do not edit manually.\nexport const Constants = {\n version: '9.2.1',\n};\n"]}
|
|
@@ -89,9 +89,8 @@ export declare class Ge1xGripper {
|
|
|
89
89
|
driverDisable(): Promise<void>;
|
|
90
90
|
/**
|
|
91
91
|
* Performs a calibration of the travel range by moving to the fully open and fully closed positions.
|
|
92
|
-
* @param [options.saveToFlash=true] Save the calibration results to flash memory so they are retained on power cycle.
|
|
93
92
|
*/
|
|
94
|
-
calibrate(
|
|
93
|
+
calibrate(): Promise<void>;
|
|
95
94
|
/**
|
|
96
95
|
* Gets the current state of the gripper.
|
|
97
96
|
* @returns The current state of the gripper.
|
|
@@ -220,12 +219,6 @@ declare namespace Ge1xGripper {
|
|
|
220
219
|
*/
|
|
221
220
|
waitUntilIdle?: boolean;
|
|
222
221
|
}
|
|
223
|
-
interface CalibrateOptions {
|
|
224
|
-
/**
|
|
225
|
-
* Save the calibration results to flash memory so they are retained on power cycle.
|
|
226
|
-
*/
|
|
227
|
-
saveToFlash?: boolean;
|
|
228
|
-
}
|
|
229
222
|
interface SetHomeDirectionOptions {
|
|
230
223
|
/**
|
|
231
224
|
* Save the home direction setting to flash memory so it is retained on power cycle.
|
|
@@ -1 +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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AAE,OAAO,CAAC;KACzB;IACD,UAAiB,mBAAmB;QAChC;;WAEG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACzB;IACD,UAAiB,uBAAuB;QACpC;;WAEG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACzB;IACD,UAAiB,gBAAgB;QAC7B;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QACf;;WAEG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACzB;IACD,UAAiB,qBAAqB;QAClC;;WAEG;QACH,aAAa,CAAC,EAAE,OAAO,CAAC;KAC3B;CACF"}
|
|
@@ -266,16 +266,13 @@ class Ge1xGripper {
|
|
|
266
266
|
}
|
|
267
267
|
/**
|
|
268
268
|
* Performs a calibration of the travel range by moving to the fully open and fully closed positions.
|
|
269
|
-
* @param [options.saveToFlash=true] Save the calibration results to flash memory so they are retained on power cycle.
|
|
270
269
|
*/
|
|
271
|
-
async calibrate(
|
|
272
|
-
const { saveToFlash = true, } = options;
|
|
270
|
+
async calibrate() {
|
|
273
271
|
const request = {
|
|
274
|
-
...requests.
|
|
272
|
+
...requests.Ge1xGripperEmptyRequest.DEFAULT,
|
|
275
273
|
connectionId: this.connectionId,
|
|
276
|
-
saveToFlash: saveToFlash,
|
|
277
274
|
toBinary() {
|
|
278
|
-
return requests.
|
|
275
|
+
return requests.Ge1xGripperEmptyRequest.toBinary(this);
|
|
279
276
|
},
|
|
280
277
|
};
|
|
281
278
|
await gateway.callAsync('ge1x_gripper/calibrate', request);
|
|
@@ -1 +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,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EF,MAAM,QAAQ,GAAG,MAAM,OAAO,CAAC,SAAS,CACtC,yCAAyC,EACzC,OAAO,EACP,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;QACnC,OAAO,QAAQ,CAAC,KAAK,CAAC;IACxB,CAAC;IAED;;;OAGG;IACK,MAAM,CAAC,KAAK,CAClB,YAAoB;QAEpB,MAAM,OAAO,GAAuD;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;;AA7oBH,kCA8oBC;AA7oBC;;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 * When enabled, the gripper will not move to a preset position until the IO input changes.\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 that can be enabled using I/O or the activatePreset() method.\n * Note that presets are only activated by I/O when the I/O input changes to that preset number.\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"]}
|
|
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,CAAC,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,KAAK,CAAC,cAAc,CAChC,QAAgB,EAChB,UAA6C,EAAE;QAE/C,MAAM,EACJ,aAAa,GAAG,WAAW,CAAC,sBAAsB,EAClD,OAAO,GAAG,GAAG,GACd,G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AAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;IACvC,CAAC;;AAtoBH,kCAuoBC;AAtoBC;;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 */\n public async calibrate(): 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/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 * When enabled, the gripper will not move to a preset position until the IO input changes.\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 that can be enabled using I/O or the activatePreset() method.\n * Note that presets are only activated by I/O when the I/O input changes to that preset number.\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 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"]}
|
|
@@ -93,7 +93,6 @@ export * from './gateway_event';
|
|
|
93
93
|
export * from './gateway_request';
|
|
94
94
|
export * from './gateway_response';
|
|
95
95
|
export * from './ge_1_x_gripper_activate_preset_request';
|
|
96
|
-
export * from './ge_1_x_gripper_calibrate_request';
|
|
97
96
|
export * from './ge_1_x_gripper_empty_request';
|
|
98
97
|
export * from './ge_1_x_gripper_get_error_response';
|
|
99
98
|
export * from './ge_1_x_gripper_get_state_response';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":"AAEA,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0CAA0C,CAAC;AACzD,cAAc,2CAA2C,CAAC;AAC1D,cAAc,iCAAiC,CAAC;AAChD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sBAAsB,CAAC;AACrC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qCAAqC,CAAC;AACpD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,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AAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qCAAqC,CAAC;AACpD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0CAA0C,CAAC;AACzD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yCAAyC,CAAC;AACxD,cAAc,kCAAkC,CAAC;AACjD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC"}
|
|
@@ -111,7 +111,6 @@ __exportStar(require("./gateway_event"), exports);
|
|
|
111
111
|
__exportStar(require("./gateway_request"), exports);
|
|
112
112
|
__exportStar(require("./gateway_response"), exports);
|
|
113
113
|
__exportStar(require("./ge_1_x_gripper_activate_preset_request"), exports);
|
|
114
|
-
__exportStar(require("./ge_1_x_gripper_calibrate_request"), exports);
|
|
115
114
|
__exportStar(require("./ge_1_x_gripper_empty_request"), exports);
|
|
116
115
|
__exportStar(require("./ge_1_x_gripper_get_error_response"), exports);
|
|
117
116
|
__exportStar(require("./ge_1_x_gripper_get_state_response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,wDAAsC;AACtC,4DAA0C;AAC1C,2EAAyD;A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gD;AAChD,8DAA4C;AAC5C,uEAAqD;AACrD,yEAAuD;AACvD,yEAAuD;AACvD,8EAA4D;AAC5D,yEAAuD;AACvD,iEAA+C;AAC/C,iEAA+C;AAC/C,0DAAwC;AACxC,2DAAyC;AACzC,2DAAyC;AACzC,qEAAmD;AACnD,iFAA+D;AAC/D,iEAA+C;AAC/C,8DAA4C;AAC5C,sEAAoD;AACpD,4DAA0C;AAC1C,gEAA8C;AAC9C,2EAAyD;AACzD,8DAA4C;AAC5C,mDAAiC;AACjC,2DAAyC;AACzC,gEAA8C;AAC9C,8DAA4C;AAC5C,0DAAwC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0EAAwD;AACxD,mEAAiD;AACjD,mEAAiD;AACjD,4DAA0C;AAC1C,8DAA4C;AAC5C,wDAAsC;AACtC,4DAA0C","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport * from './alert_event_wrapper';\nexport * from './autofocus_focus_request';\nexport * from './autofocus_get_objective_params_request';\nexport * from './autofocus_get_objective_params_response';\nexport * from './autofocus_get_status_response';\nexport * from './autofocus_set_objective_params_request';\nexport * from './axes_empty_request';\nexport * from './axes_get_setting_request';\nexport * from './axes_move_request';\nexport * from './axis_empty_request';\nexport * from './axis_move_type';\nexport * from './axis_to_string_request';\nexport * from './binary_device_detect_request';\nexport * from './binary_device_detect_response';\nexport * from './binary_device_get_setting_request';\nexport * from './binary_device_home_request';\nexport * from './binary_device_move_request';\nexport * from './binary_device_set_setting_request';\nexport * from './binary_device_stop_request';\nexport * from './binary_generic_with_units_request';\nexport * from './binary_message_collection';\nexport * from './binary_reply_only_event_wrapper';\nexport * from './bool_response';\nexport * from './can_set_state_axis_response';\nexport * from './can_set_state_request';\nexport * from './channel_on';\nexport * from './channel_set_intensity';\nexport * from './check_version_request';\nexport * from './custom_interface_close_request';\nexport * from './custom_interface_open_response';\nexport * from './custom_interface_read_request';\nexport * from './custom_interface_write_request';\nexport * from './device_cancel_all_outputs_schedule_request';\nexport * from './device_cancel_output_schedule_request';\nexport * from './device_convert_setting_request';\nexport * from './device_detect_request';\nexport * from './device_detect_response';\nexport * from './device_empty_request';\nexport * from './device_get_all_analog_io_request';\nexport * from './device_get_all_analog_io_response';\nexport * from './device_get_all_digital_io_request';\nexport * from './device_get_all_digital_io_response';\nexport * from './device_get_analog_io_request';\nexport * from './device_get_digital_io_request';\nexport * from './device_get_many_by_type_request';\nexport * from './device_get_setting_request';\nexport * from './device_get_storage_request';\nexport * from './device_get_warnings_request';\nexport * from './device_get_warnings_response';\nexport * from './device_home_request';\nexport * from './device_identify_request';\nexport * from './device_move_request';\nexport * from './device_move_sin_request';\nexport * from './device_multi_get_setting_request';\nexport * from './device_on_all_request';\nexport * from './device_on_all_response';\nexport * from './device_restore_request';\nexport * from './device_set_all_analog_outputs_request';\nexport * from './device_set_all_analog_outputs_schedule_request';\nexport * from './device_set_all_digital_outputs_request';\nexport * from './device_set_all_digital_outputs_schedule_request';\nexport * from './device_set_analog_output_request';\nexport * from './device_set_analog_output_schedule_request';\nexport * from './device_set_digital_output_request';\nexport * from './device_set_digital_output_schedule_request';\nexport * from './device_set_lowpass_filter_request';\nexport * from './device_set_setting_bool_request';\nexport * from './device_set_setting_int_request';\nexport * from './device_set_setting_request';\nexport * from './device_set_setting_str_request';\nexport * from './device_set_storage_bool_request';\nexport * from './device_set_storage_number_request';\nexport * from './device_set_storage_request';\nexport * from './device_set_unit_conversions_request';\nexport * from './device_stop_request';\nexport * from './device_storage_list_keys_request';\nexport * from './device_storage_request';\nexport * from './device_type';\nexport * from './device_wait_until_idle_request';\nexport * from './disconnected_event';\nexport * from './discover_mdns_request';\nexport * from './discover_tcp_devices_response';\nexport * from './double_array_response';\nexport * from './double_response';\nexport * from './driver_enable_request';\nexport * from './empty_autofocus_request';\nexport * from './empty_request';\nexport * from './errors';\nexport * from './find_device_request';\nexport * from './find_device_response';\nexport * from './forget_devices_request';\nexport * from './gateway_event';\nexport * from './gateway_request';\nexport * from './gateway_response';\nexport * from './ge_1_x_gripper_activate_preset_request';\nexport * from './ge_1_x_gripper_calibrate_request';\nexport * from './ge_1_x_gripper_empty_request';\nexport * from './ge_1_x_gripper_get_error_response';\nexport * from './ge_1_x_gripper_get_state_response';\nexport * from './ge_1_x_gripper_move_request';\nexport * from './ge_1_x_gripper_open_connection_request';\nexport * from './ge_1_x_gripper_read_register_request';\nexport * from './ge_1_x_gripper_set_auto_home_request';\nexport * from './ge_1_x_gripper_set_force_request';\nexport * from './ge_1_x_gripper_set_home_direction_request';\nexport * from './ge_1_x_gripper_set_io_enabled_request';\nexport * from './ge_1_x_gripper_set_io_input_filter_request';\nexport * from './ge_1_x_gripper_set_preset_request';\nexport * from './ge_1_x_gripper_set_speed_request';\nexport * from './ge_1_x_gripper_wait_until_idle_request';\nexport * from './ge_1_x_gripper_write_register_request';\nexport * from './generic_binary_request';\nexport * from './generic_command_request';\nexport * from './generic_command_response_collection';\nexport * from './get_all_io_port_labels_response';\nexport * from './get_axis_setting_results';\nexport * from './get_axis_settings_typed_response';\nexport * from './get_command_unit_conversion_response';\nexport * from './get_io_port_label_request';\nexport * from './get_setting_results';\nexport * from './get_settings_typed_response';\nexport * from './get_simple_tuning_param_definition_response';\nexport * from './int_64_response';\nexport * from './int_array_response';\nexport * from './int_request';\nexport * from './int_response';\nexport * from './interface_empty_request';\nexport * from './interface_type';\nexport * from './load_paramset';\nexport * from './lockstep_disable_request';\nexport * from './lockstep_empty_request';\nexport * from './lockstep_enable_request';\nexport * from './lockstep_get_axis_numbers_response';\nexport * from './lockstep_get_request';\nexport * from './lockstep_home_request';\nexport * from './lockstep_move_request';\nexport * from './lockstep_move_sin_request';\nexport * from './lockstep_set_request';\nexport * from './lockstep_stop_request';\nexport * from './lockstep_wait_until_idle_request';\nexport * from './microscope_config_response';\nexport * from './microscope_empty_request';\nexport * from './microscope_find_request';\nexport * from './microscope_init_request';\nexport * from './microscope_trigger_camera_request';\nexport * from './objective_changer_change_request';\nexport * from './objective_changer_create_response';\nexport * from './objective_changer_get_current_response';\nexport * from './objective_changer_request';\nexport * from './objective_changer_set_request';\nexport * from './open_binary_interface_request';\nexport * from './open_interface_request';\nexport * from './open_interface_response';\nexport * from './oscilloscope_add_io_channel_request';\nexport * from './oscilloscope_add_setting_channel_request';\nexport * from './oscilloscope_data_get_request';\nexport * from './oscilloscope_data_get_sample_time_request';\nexport * from './oscilloscope_data_get_samples_response';\nexport * from './oscilloscope_data_identifier';\nexport * from './oscilloscope_read_response';\nexport * from './oscilloscope_request';\nexport * from './oscilloscope_start_request';\nexport * from './prepare_command_request';\nexport * from './process_on';\nexport * from './pvt_buffer_get_sequence_data_request';\nexport * from './pvt_buffer_get_sequence_data_response';\nexport * from './pvt_convert_time_request';\nexport * from './pvt_convert_time_response';\nexport * from './pvt_generate_positions_request';\nexport * from './pvt_generate_sequence_response';\nexport * from './pvt_generate_velocities_and_times_request';\nexport * from './pvt_generate_velocities_request';\nexport * from './pvt_items_request';\nexport * from './pvt_load_csv_request';\nexport * from './pvt_partial_convert_time_request';\nexport * from './pvt_partial_convert_time_response';\nexport * from './pvt_point_request';\nexport * from './pvt_points_request';\nexport * from './pvt_save_csv_request';\nexport * from './pvt_submit_sequence_data_request';\nexport * from './renumber_request';\nexport * from './response_type';\nexport * from './servo_tuning_paramset_response';\nexport * from './servo_tuning_request';\nexport * from './set_device_db_layered_sources_request';\nexport * from './set_device_db_source_request';\nexport * from './set_interface_checksum_enabled_request';\nexport * from './set_interface_timeout_request';\nexport * from './set_internal_mode_request';\nexport * from './set_io_port_label_request';\nexport * from './set_log_output_request';\nexport * from './set_process_controller_source';\nexport * from './set_servo_tuning_pid_request';\nexport * from './set_servo_tuning_request';\nexport * from './set_simple_tuning';\nexport * from './set_state_request';\nexport * from './stream_arc_request';\nexport * from './stream_buffer_erase_request';\nexport * from './stream_buffer_get_content_request';\nexport * from './stream_buffer_get_content_response';\nexport * from './stream_buffer_list';\nexport * from './stream_call_request';\nexport * from './stream_cancel_all_outputs_schedule_request';\nexport * from './stream_cancel_output_schedule_request';\nexport * from './stream_circle_request';\nexport * from './stream_empty_request';\nexport * from './stream_generic_command_batch_request';\nexport * from './stream_generic_command_request';\nexport * from './stream_get_axes_response';\nexport * from './stream_get_max_centripetal_acceleration_request';\nexport * from './stream_get_max_speed_request';\nexport * from './stream_get_max_tangential_acceleration_request';\nexport * from './stream_line_request';\nexport * from './stream_mode_response';\nexport * from './stream_segment_type';\nexport * from './stream_set_all_analog_outputs_request';\nexport * from './stream_set_all_analog_outputs_schedule_request';\nexport * from './stream_set_all_digital_outputs_request';\nexport * from './stream_set_all_digital_outputs_schedule_request';\nexport * from './stream_set_analog_output_request';\nexport * from './stream_set_analog_output_schedule_request';\nexport * from './stream_set_digital_output_request';\nexport * from './stream_set_digital_output_schedule_request';\nexport * from './stream_set_hold_request';\nexport * from './stream_set_max_centripetal_acceleration_request';\nexport * from './stream_set_max_speed_request';\nexport * from './stream_set_max_tangential_acceleration_request';\nexport * from './stream_setup_live_composite_request';\nexport * from './stream_setup_live_request';\nexport * from './stream_setup_store_arbitrary_axes_request';\nexport * from './stream_setup_store_composite_request';\nexport * from './stream_setup_store_request';\nexport * from './stream_wait_analog_input_request';\nexport * from './stream_wait_digital_input_request';\nexport * from './stream_wait_request';\nexport * from './stream_wait_until_idle_request';\nexport * from './string_array_response';\nexport * from './string_response';\nexport * from './test_dto_with_variants';\nexport * from './test_event';\nexport * from './test_request';\nexport * from './test_request_complex';\nexport * from './test_response';\nexport * from './test_response_long';\nexport * from './test_variant';\nexport * from './toggle_device_db_store_request';\nexport * from './tools_list_serial_ports_response';\nexport * from './translator_create_from_device_request';\nexport * from './translator_create_live_request';\nexport * from './translator_create_request';\nexport * from './translator_create_response';\nexport * from './translator_empty_request';\nexport * from './translator_flush_live_request';\nexport * from './translator_flush_response';\nexport * from './translator_get_axis_offset_request';\nexport * from './translator_get_axis_position_request';\nexport * from './translator_set_axis_position_request';\nexport * from './translator_set_feed_rate_override_request';\nexport * from './translator_set_traverse_rate_request';\nexport * from './translator_translate_request';\nexport * from './trigger_clear_action_request';\nexport * from './trigger_empty_request';\nexport * from './trigger_enable_request';\nexport * from './trigger_enabled_states';\nexport * from './trigger_fire_at_interval_request';\nexport * from './trigger_fire_when_distance_travelled_request';\nexport * from './trigger_fire_when_io_request';\nexport * from './trigger_fire_when_request';\nexport * from './trigger_fire_when_setting_request';\nexport * from './trigger_on_fire_request';\nexport * from './trigger_on_fire_set_request';\nexport * from './trigger_on_fire_set_to_setting_request';\nexport * from './trigger_set_label_request';\nexport * from './trigger_states';\nexport * from './typed_setting_response';\nexport * from './unit_convert_native_request';\nexport * from './unit_convert_unit_request';\nexport * from './unit_get_enum_request';\nexport * from './unit_get_enum_response';\nexport * from './unit_get_symbol_request';\nexport * from './unit_get_symbol_response';\nexport * from './unknown_binary_response_event_wrapper';\nexport * from './unknown_response_event_wrapper';\nexport * from './wait_to_clear_warnings_request';\nexport * from './wait_to_respond_request';\nexport * from './wdi_generic_float_request';\nexport * from './wdi_generic_request';\nexport * from './wdi_get_status_response';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,wDAAsC;AACtC,4DAA0C;AAC1C,2EAAyD;AACzD,4EAA0D;AAC1D,kEAAgD;AAChD,2EAAyD;AACzD,uDAAqC;AACrC,6DAA2C;AAC3C,sDAAoC;AACpC,uDAAqC;AACrC,mDAAiC;AACjC,2DAAyC;AACzC,iEAA+C;AAC/C,kEAAgD;AAChD,sEAAoD;AACpD,+DAA6C;AAC7C,+DAA6C;AAC7C,sEAAoD;AACpD,+DAA6C;AAC7C,sEAAoD;AACpD,8DAA4C;AAC5C,oEAAkD;AAClD,kDAAgC;AAChC,gEAA8C;AAC9C,0DAAwC;AACxC,+CAA6B;AAC7B,0DAAwC;AACxC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wC;AACxC,2DAAyC;AACzC,4DAA0C;AAC1C,6DAA2C;AAC3C,0EAAwD;AACxD,mEAAiD;AACjD,mEAAiD;AACjD,4DAA0C;AAC1C,8DAA4C;AAC5C,wDAAsC;AACtC,4DAA0C","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nexport * from './alert_event_wrapper';\nexport * from './autofocus_focus_request';\nexport * from './autofocus_get_objective_params_request';\nexport * from './autofocus_get_objective_params_response';\nexport * from './autofocus_get_status_response';\nexport * from './autofocus_set_objective_params_request';\nexport * from './axes_empty_request';\nexport * from './axes_get_setting_request';\nexport * from './axes_move_request';\nexport * from './axis_empty_request';\nexport * from './axis_move_type';\nexport * from './axis_to_string_request';\nexport * from './binary_device_detect_request';\nexport * from './binary_device_detect_response';\nexport * from './binary_device_get_setting_request';\nexport * from './binary_device_home_request';\nexport * from './binary_device_move_request';\nexport * from './binary_device_set_setting_request';\nexport * from './binary_device_stop_request';\nexport * from './binary_generic_with_units_request';\nexport * from './binary_message_collection';\nexport * from './binary_reply_only_event_wrapper';\nexport * from './bool_response';\nexport * from './can_set_state_axis_response';\nexport * from './can_set_state_request';\nexport * from './channel_on';\nexport * from './channel_set_intensity';\nexport * from './check_version_request';\nexport * from './custom_interface_close_request';\nexport * from './custom_interface_open_response';\nexport * from './custom_interface_read_request';\nexport * from './custom_interface_write_request';\nexport * from './device_cancel_all_outputs_schedule_request';\nexport * from './device_cancel_output_schedule_request';\nexport * from './device_convert_setting_request';\nexport * from './device_detect_request';\nexport * from './device_detect_response';\nexport * from './device_empty_request';\nexport * from './device_get_all_analog_io_request';\nexport * from './device_get_all_analog_io_response';\nexport * from './device_get_all_digital_io_request';\nexport * from './device_get_all_digital_io_response';\nexport * from './device_get_analog_io_request';\nexport * from './device_get_digital_io_request';\nexport * from './device_get_many_by_type_request';\nexport * from './device_get_setting_request';\nexport * from './device_get_storage_request';\nexport * from './device_get_warnings_request';\nexport * from './device_get_warnings_response';\nexport * from './device_home_request';\nexport * from './device_identify_request';\nexport * from './device_move_request';\nexport * from './device_move_sin_request';\nexport * from './device_multi_get_setting_request';\nexport * from './device_on_all_request';\nexport * from './device_on_all_response';\nexport * from './device_restore_request';\nexport * from './device_set_all_analog_outputs_request';\nexport * from './device_set_all_analog_outputs_schedule_request';\nexport * from './device_set_all_digital_outputs_request';\nexport * from './device_set_all_digital_outputs_schedule_request';\nexport * from './device_set_analog_output_request';\nexport * from './device_set_analog_output_schedule_request';\nexport * from './device_set_digital_output_request';\nexport * from './device_set_digital_output_schedule_request';\nexport * from './device_set_lowpass_filter_request';\nexport * from './device_set_setting_bool_request';\nexport * from './device_set_setting_int_request';\nexport * from './device_set_setting_request';\nexport * from './device_set_setting_str_request';\nexport * from './device_set_storage_bool_request';\nexport * from './device_set_storage_number_request';\nexport * from './device_set_storage_request';\nexport * from './device_set_unit_conversions_request';\nexport * from './device_stop_request';\nexport * from './device_storage_list_keys_request';\nexport * from './device_storage_request';\nexport * from './device_type';\nexport * from './device_wait_until_idle_request';\nexport * from './disconnected_event';\nexport * from './discover_mdns_request';\nexport * from './discover_tcp_devices_response';\nexport * from './double_array_response';\nexport * from './double_response';\nexport * from './driver_enable_request';\nexport * from './empty_autofocus_request';\nexport * from './empty_request';\nexport * from './errors';\nexport * from './find_device_request';\nexport * from './find_device_response';\nexport * from './forget_devices_request';\nexport * from './gateway_event';\nexport * from './gateway_request';\nexport * from './gateway_response';\nexport * from './ge_1_x_gripper_activate_preset_request';\nexport * from './ge_1_x_gripper_empty_request';\nexport * from './ge_1_x_gripper_get_error_response';\nexport * from './ge_1_x_gripper_get_state_response';\nexport * from './ge_1_x_gripper_move_request';\nexport * from './ge_1_x_gripper_open_connection_request';\nexport * from './ge_1_x_gripper_read_register_request';\nexport * from './ge_1_x_gripper_set_auto_home_request';\nexport * from './ge_1_x_gripper_set_force_request';\nexport * from './ge_1_x_gripper_set_home_direction_request';\nexport * from './ge_1_x_gripper_set_io_enabled_request';\nexport * from './ge_1_x_gripper_set_io_input_filter_request';\nexport * from './ge_1_x_gripper_set_preset_request';\nexport * from './ge_1_x_gripper_set_speed_request';\nexport * from './ge_1_x_gripper_wait_until_idle_request';\nexport * from './ge_1_x_gripper_write_register_request';\nexport * from './generic_binary_request';\nexport * from './generic_command_request';\nexport * from './generic_command_response_collection';\nexport * from './get_all_io_port_labels_response';\nexport * from './get_axis_setting_results';\nexport * from './get_axis_settings_typed_response';\nexport * from './get_command_unit_conversion_response';\nexport * from './get_io_port_label_request';\nexport * from './get_setting_results';\nexport * from './get_settings_typed_response';\nexport * from './get_simple_tuning_param_definition_response';\nexport * from './int_64_response';\nexport * from './int_array_response';\nexport * from './int_request';\nexport * from './int_response';\nexport * from './interface_empty_request';\nexport * from './interface_type';\nexport * from './load_paramset';\nexport * from './lockstep_disable_request';\nexport * from './lockstep_empty_request';\nexport * from './lockstep_enable_request';\nexport * from './lockstep_get_axis_numbers_response';\nexport * from './lockstep_get_request';\nexport * from './lockstep_home_request';\nexport * from './lockstep_move_request';\nexport * from './lockstep_move_sin_request';\nexport * from './lockstep_set_request';\nexport * from './lockstep_stop_request';\nexport * from './lockstep_wait_until_idle_request';\nexport * from './microscope_config_response';\nexport * from './microscope_empty_request';\nexport * from './microscope_find_request';\nexport * from './microscope_init_request';\nexport * from './microscope_trigger_camera_request';\nexport * from './objective_changer_change_request';\nexport * from './objective_changer_create_response';\nexport * from './objective_changer_get_current_response';\nexport * from './objective_changer_request';\nexport * from './objective_changer_set_request';\nexport * from './open_binary_interface_request';\nexport * from './open_interface_request';\nexport * from './open_interface_response';\nexport * from './oscilloscope_add_io_channel_request';\nexport * from './oscilloscope_add_setting_channel_request';\nexport * from './oscilloscope_data_get_request';\nexport * from './oscilloscope_data_get_sample_time_request';\nexport * from './oscilloscope_data_get_samples_response';\nexport * from './oscilloscope_data_identifier';\nexport * from './oscilloscope_read_response';\nexport * from './oscilloscope_request';\nexport * from './oscilloscope_start_request';\nexport * from './prepare_command_request';\nexport * from './process_on';\nexport * from './pvt_buffer_get_sequence_data_request';\nexport * from './pvt_buffer_get_sequence_data_response';\nexport * from './pvt_convert_time_request';\nexport * from './pvt_convert_time_response';\nexport * from './pvt_generate_positions_request';\nexport * from './pvt_generate_sequence_response';\nexport * from './pvt_generate_velocities_and_times_request';\nexport * from './pvt_generate_velocities_request';\nexport * from './pvt_items_request';\nexport * from './pvt_load_csv_request';\nexport * from './pvt_partial_convert_time_request';\nexport * from './pvt_partial_convert_time_response';\nexport * from './pvt_point_request';\nexport * from './pvt_points_request';\nexport * from './pvt_save_csv_request';\nexport * from './pvt_submit_sequence_data_request';\nexport * from './renumber_request';\nexport * from './response_type';\nexport * from './servo_tuning_paramset_response';\nexport * from './servo_tuning_request';\nexport * from './set_device_db_layered_sources_request';\nexport * from './set_device_db_source_request';\nexport * from './set_interface_checksum_enabled_request';\nexport * from './set_interface_timeout_request';\nexport * from './set_internal_mode_request';\nexport * from './set_io_port_label_request';\nexport * from './set_log_output_request';\nexport * from './set_process_controller_source';\nexport * from './set_servo_tuning_pid_request';\nexport * from './set_servo_tuning_request';\nexport * from './set_simple_tuning';\nexport * from './set_state_request';\nexport * from './stream_arc_request';\nexport * from './stream_buffer_erase_request';\nexport * from './stream_buffer_get_content_request';\nexport * from './stream_buffer_get_content_response';\nexport * from './stream_buffer_list';\nexport * from './stream_call_request';\nexport * from './stream_cancel_all_outputs_schedule_request';\nexport * from './stream_cancel_output_schedule_request';\nexport * from './stream_circle_request';\nexport * from './stream_empty_request';\nexport * from './stream_generic_command_batch_request';\nexport * from './stream_generic_command_request';\nexport * from './stream_get_axes_response';\nexport * from './stream_get_max_centripetal_acceleration_request';\nexport * from './stream_get_max_speed_request';\nexport * from './stream_get_max_tangential_acceleration_request';\nexport * from './stream_line_request';\nexport * from './stream_mode_response';\nexport * from './stream_segment_type';\nexport * from './stream_set_all_analog_outputs_request';\nexport * from './stream_set_all_analog_outputs_schedule_request';\nexport * from './stream_set_all_digital_outputs_request';\nexport * from './stream_set_all_digital_outputs_schedule_request';\nexport * from './stream_set_analog_output_request';\nexport * from './stream_set_analog_output_schedule_request';\nexport * from './stream_set_digital_output_request';\nexport * from './stream_set_digital_output_schedule_request';\nexport * from './stream_set_hold_request';\nexport * from './stream_set_max_centripetal_acceleration_request';\nexport * from './stream_set_max_speed_request';\nexport * from './stream_set_max_tangential_acceleration_request';\nexport * from './stream_setup_live_composite_request';\nexport * from './stream_setup_live_request';\nexport * from './stream_setup_store_arbitrary_axes_request';\nexport * from './stream_setup_store_composite_request';\nexport * from './stream_setup_store_request';\nexport * from './stream_wait_analog_input_request';\nexport * from './stream_wait_digital_input_request';\nexport * from './stream_wait_request';\nexport * from './stream_wait_until_idle_request';\nexport * from './string_array_response';\nexport * from './string_response';\nexport * from './test_dto_with_variants';\nexport * from './test_event';\nexport * from './test_request';\nexport * from './test_request_complex';\nexport * from './test_response';\nexport * from './test_response_long';\nexport * from './test_variant';\nexport * from './toggle_device_db_store_request';\nexport * from './tools_list_serial_ports_response';\nexport * from './translator_create_from_device_request';\nexport * from './translator_create_live_request';\nexport * from './translator_create_request';\nexport * from './translator_create_response';\nexport * from './translator_empty_request';\nexport * from './translator_flush_live_request';\nexport * from './translator_flush_response';\nexport * from './translator_get_axis_offset_request';\nexport * from './translator_get_axis_position_request';\nexport * from './translator_set_axis_position_request';\nexport * from './translator_set_feed_rate_override_request';\nexport * from './translator_set_traverse_rate_request';\nexport * from './translator_translate_request';\nexport * from './trigger_clear_action_request';\nexport * from './trigger_empty_request';\nexport * from './trigger_enable_request';\nexport * from './trigger_enabled_states';\nexport * from './trigger_fire_at_interval_request';\nexport * from './trigger_fire_when_distance_travelled_request';\nexport * from './trigger_fire_when_io_request';\nexport * from './trigger_fire_when_request';\nexport * from './trigger_fire_when_setting_request';\nexport * from './trigger_on_fire_request';\nexport * from './trigger_on_fire_set_request';\nexport * from './trigger_on_fire_set_to_setting_request';\nexport * from './trigger_set_label_request';\nexport * from './trigger_states';\nexport * from './typed_setting_response';\nexport * from './unit_convert_native_request';\nexport * from './unit_convert_unit_request';\nexport * from './unit_get_enum_request';\nexport * from './unit_get_enum_response';\nexport * from './unit_get_symbol_request';\nexport * from './unit_get_symbol_response';\nexport * from './unknown_binary_response_event_wrapper';\nexport * from './unknown_response_event_wrapper';\nexport * from './wait_to_clear_warnings_request';\nexport * from './wait_to_respond_request';\nexport * from './wdi_generic_float_request';\nexport * from './wdi_generic_request';\nexport * from './wdi_get_status_response';\n"]}
|
package/package.json
CHANGED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BSON } from 'bson';
|
|
2
|
-
export interface Ge1xGripperCalibrateRequest {
|
|
3
|
-
connectionId: number;
|
|
4
|
-
saveToFlash: boolean;
|
|
5
|
-
}
|
|
6
|
-
export declare const Ge1xGripperCalibrateRequest: {
|
|
7
|
-
fromBinary: (buffer: Uint8Array) => Ge1xGripperCalibrateRequest;
|
|
8
|
-
toBinary: (value: Ge1xGripperCalibrateRequest) => Uint8Array;
|
|
9
|
-
DEFAULT: Readonly<Ge1xGripperCalibrateRequest>;
|
|
10
|
-
sanitize: (value: Ge1xGripperCalibrateRequest) => Ge1xGripperCalibrateRequest;
|
|
11
|
-
convert: (value: BSON.Document) => Ge1xGripperCalibrateRequest;
|
|
12
|
-
isA: (value: any) => value is Ge1xGripperCalibrateRequest;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=ge_1_x_gripper_calibrate_request.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ge_1_x_gripper_calibrate_request.d.ts","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_calibrate_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,WAAW,2BAA2B;IAC1C,YAAY,EAAE,MAAM,CAAC;IAErB,WAAW,EAAE,OAAO,CAAC;CAEtB;AAED,eAAO,MAAM,2BAA2B;yBACjB,UAAU,KAAG,2BAA2B;sBAE3C,2BAA2B,KAAG,UAAU;;sBAOxC,2BAA2B,KAAG,2BAA2B;qBAS1D,KAAK,QAAQ,KAAG,2BAA2B;iBAK/C,GAAG;CASjB,CAAC"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Ge1xGripperCalibrateRequest = void 0;
|
|
4
|
-
// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //
|
|
5
|
-
// ============== DO NOT EDIT DIRECTLY ============== //
|
|
6
|
-
const bson_1 = require("bson");
|
|
7
|
-
const sanitizer_1 = require("../gateway/sanitizer");
|
|
8
|
-
exports.Ge1xGripperCalibrateRequest = {
|
|
9
|
-
fromBinary: (buffer) => exports.Ge1xGripperCalibrateRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
|
|
10
|
-
toBinary: (value) => bson_1.BSON.serialize(exports.Ge1xGripperCalibrateRequest.sanitize(value)),
|
|
11
|
-
DEFAULT: Object.freeze({
|
|
12
|
-
connectionId: 0,
|
|
13
|
-
saveToFlash: false,
|
|
14
|
-
}),
|
|
15
|
-
sanitize: (value) => {
|
|
16
|
-
if (value == null) {
|
|
17
|
-
throw new TypeError('Expected Ge1xGripperCalibrateRequest object but got null or undefined.');
|
|
18
|
-
}
|
|
19
|
-
if (typeof value !== 'object') {
|
|
20
|
-
throw new TypeError(`Expected Ge1xGripperCalibrateRequest object but got ${typeof value}.`);
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
connectionId: sanitizer_1.sanitizer.sanitizeInt(value.connectionId, 'connectionId'),
|
|
24
|
-
saveToFlash: sanitizer_1.sanitizer.sanitizeBool(value.saveToFlash, 'saveToFlash'),
|
|
25
|
-
};
|
|
26
|
-
},
|
|
27
|
-
convert: (value) => ({
|
|
28
|
-
connectionId: value.connectionId,
|
|
29
|
-
saveToFlash: value.saveToFlash,
|
|
30
|
-
}),
|
|
31
|
-
isA: (value) => {
|
|
32
|
-
const castValue = value;
|
|
33
|
-
return (value != null &&
|
|
34
|
-
typeof value === 'object' &&
|
|
35
|
-
sanitizer_1.sanitizer.isInt(castValue.connectionId) &&
|
|
36
|
-
sanitizer_1.sanitizer.isBool(castValue.saveToFlash));
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
//# sourceMappingURL=ge_1_x_gripper_calibrate_request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ge_1_x_gripper_calibrate_request.js","sourceRoot":"","sources":["../../../src/requests/ge_1_x_gripper_calibrate_request.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AASpC,QAAA,2BAA2B,GAAG;IACzC,UAAU,EAAE,CAAC,MAAkB,EAA+B,EAAE,CAAC,mCAA2B,CAAC,OAAO,CAAC,WAAI,CAAC,WAAW,CAAC,MAAM,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;IAErJ,QAAQ,EAAE,CAAC,KAAkC,EAAc,EAAE,CAAC,WAAI,CAAC,SAAS,CAAC,mCAA2B,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAEzH,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,YAAY,EAAE,CAAC;QACf,WAAW,EAAE,KAAK;KACnB,CAA0C;IAE3C,QAAQ,EAAE,CAAC,KAAkC,EAA+B,EAAE;QAC5E,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,wEAAwE,CAAC,CAAA;QAAC,CAAC;QACpH,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE,CAAC;YAAC,MAAM,IAAI,SAAS,CAAC,uDAAuD,OAAO,KAAK,GAAG,CAAC,CAAA;QAAC,CAAC;QAC9H,OAAO;YACL,YAAY,EAAE,qBAAS,CAAC,WAAW,CAAC,KAAK,CAAC,YAAY,EAAE,cAAc,CAAC;YACvE,WAAW,EAAE,qBAAS,CAAC,YAAY,CAAC,KAAK,CAAC,WAAW,EAAE,aAAa,CAAC;SACtE,CAAC;IACJ,CAAC;IAED,OAAO,EAAE,CAAC,KAAoB,EAA+B,EAAE,CAAC,CAAC;QAC/D,YAAY,EAAE,KAAK,CAAC,YAAY;QAChC,WAAW,EAAE,KAAK,CAAC,WAAW;KAC/B,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAAwC,EAAE;QACxD,MAAM,SAAS,GAAG,KAAoC,CAAC;QACvD,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,CAAC;YACvC,qBAAS,CAAC,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,CACxC,CAAC;IACJ,CAAC;CACF,CAAC","sourcesContent":["// ===== THIS FILE IS GENERATED FROM A TEMPLATE ===== //\n// ============== DO NOT EDIT DIRECTLY ============== //\nimport { BSON } from 'bson';\nimport { sanitizer } from '../gateway/sanitizer';\n\nexport interface Ge1xGripperCalibrateRequest {\n connectionId: number;\n\n saveToFlash: boolean;\n\n}\n\nexport const Ge1xGripperCalibrateRequest = {\n fromBinary: (buffer: Uint8Array): Ge1xGripperCalibrateRequest => Ge1xGripperCalibrateRequest.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: Ge1xGripperCalibrateRequest): Uint8Array => BSON.serialize(Ge1xGripperCalibrateRequest.sanitize(value)),\n\n DEFAULT: Object.freeze({\n connectionId: 0,\n saveToFlash: false,\n }) as Readonly<Ge1xGripperCalibrateRequest>,\n\n sanitize: (value: Ge1xGripperCalibrateRequest): Ge1xGripperCalibrateRequest => {\n if (value == null) { throw new TypeError('Expected Ge1xGripperCalibrateRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected Ge1xGripperCalibrateRequest object but got ${typeof value}.`) }\n return {\n connectionId: sanitizer.sanitizeInt(value.connectionId, 'connectionId'),\n saveToFlash: sanitizer.sanitizeBool(value.saveToFlash, 'saveToFlash'),\n };\n },\n\n convert: (value: BSON.Document): Ge1xGripperCalibrateRequest => ({\n connectionId: value.connectionId,\n saveToFlash: value.saveToFlash,\n }),\n\n isA: (value: any): value is Ge1xGripperCalibrateRequest => {\n const castValue = value as Ge1xGripperCalibrateRequest;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.connectionId) &&\n sanitizer.isBool(castValue.saveToFlash)\n );\n },\n};\n"]}
|