@zaber/motion 9.2.1 → 9.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +6 -6
- package/dist/binding/wasm/zaber-motion-core.wasm +0 -0
- package/dist/lib/ascii/accel_type.d.ts +17 -0
- package/dist/lib/ascii/accel_type.d.ts.map +1 -0
- package/dist/lib/ascii/accel_type.js +26 -0
- package/dist/lib/ascii/accel_type.js.map +1 -0
- package/dist/lib/ascii/axis.d.ts +8 -0
- package/dist/lib/ascii/axis.d.ts.map +1 -1
- package/dist/lib/ascii/axis.js +22 -0
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/axis_settings.d.ts +6 -0
- package/dist/lib/ascii/axis_settings.d.ts.map +1 -1
- package/dist/lib/ascii/axis_settings.js +19 -0
- package/dist/lib/ascii/axis_settings.js.map +1 -1
- package/dist/lib/ascii/device.d.ts +8 -0
- package/dist/lib/ascii/device.d.ts.map +1 -1
- package/dist/lib/ascii/device.js +21 -0
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/device_settings.d.ts +6 -0
- package/dist/lib/ascii/device_settings.d.ts.map +1 -1
- package/dist/lib/ascii/device_settings.js +18 -0
- package/dist/lib/ascii/device_settings.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +1 -0
- package/dist/lib/ascii/index.d.ts.map +1 -1
- package/dist/lib/ascii/index.js +1 -0
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/lockstep.js +2 -2
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/gateway/constants.js +1 -1
- package/dist/lib/gateway/constants.js.map +1 -1
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/index.js +3 -1
- package/dist/lib/index.js.map +1 -1
- package/dist/lib/measurement_or_value.d.ts +21 -0
- package/dist/lib/measurement_or_value.d.ts.map +1 -0
- package/dist/lib/measurement_or_value.js +67 -0
- package/dist/lib/measurement_or_value.js.map +1 -0
- package/dist/lib/movement/default_motion_units.d.ts +32 -0
- package/dist/lib/movement/default_motion_units.d.ts.map +1 -0
- package/dist/lib/movement/default_motion_units.js +47 -0
- package/dist/lib/movement/default_motion_units.js.map +1 -0
- package/dist/lib/movement/index.d.ts +3 -0
- package/dist/lib/movement/index.d.ts.map +1 -0
- package/dist/lib/movement/index.js +21 -0
- package/dist/lib/movement/index.js.map +1 -0
- package/dist/lib/movement/moveable.d.ts +418 -0
- package/dist/lib/movement/moveable.d.ts.map +1 -0
- package/dist/lib/movement/moveable.js +639 -0
- package/dist/lib/movement/moveable.js.map +1 -0
- package/dist/lib/requests/device_has_command_request.d.ts +17 -0
- package/dist/lib/requests/device_has_command_request.d.ts.map +1 -0
- package/dist/lib/requests/device_has_command_request.js +51 -0
- package/dist/lib/requests/device_has_command_request.js.map +1 -0
- package/dist/lib/requests/index.d.ts +12 -1
- package/dist/lib/requests/index.d.ts.map +1 -1
- package/dist/lib/requests/index.js +12 -1
- package/dist/lib/requests/index.js.map +1 -1
- package/dist/lib/requests/lockstep_move_request.d.ts +4 -0
- package/dist/lib/requests/lockstep_move_request.d.ts.map +1 -1
- package/dist/lib/requests/lockstep_move_request.js +14 -1
- package/dist/lib/requests/lockstep_move_request.js.map +1 -1
- package/dist/lib/requests/moveable_driver_enable_request.d.ts +14 -0
- package/dist/lib/requests/moveable_driver_enable_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_driver_enable_request.js +39 -0
- package/dist/lib/requests/moveable_driver_enable_request.js.map +1 -0
- package/dist/lib/requests/moveable_get_acceleration_request.d.ts +17 -0
- package/dist/lib/requests/moveable_get_acceleration_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_get_acceleration_request.js +44 -0
- package/dist/lib/requests/moveable_get_acceleration_request.js.map +1 -0
- package/dist/lib/requests/moveable_get_setting_request.d.ts +15 -0
- package/dist/lib/requests/moveable_get_setting_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_get_setting_request.js +39 -0
- package/dist/lib/requests/moveable_get_setting_request.js.map +1 -0
- package/dist/lib/requests/moveable_id_request.d.ts +13 -0
- package/dist/lib/requests/moveable_id_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_id_request.js +35 -0
- package/dist/lib/requests/moveable_id_request.js.map +1 -0
- package/dist/lib/requests/moveable_move_request.d.ts +21 -0
- package/dist/lib/requests/moveable_move_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_move_request.js +72 -0
- package/dist/lib/requests/moveable_move_request.js.map +1 -0
- package/dist/lib/requests/moveable_move_sin_request.d.ts +18 -0
- package/dist/lib/requests/moveable_move_sin_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_move_sin_request.js +61 -0
- package/dist/lib/requests/moveable_move_sin_request.js.map +1 -0
- package/dist/lib/requests/moveable_set_acceleration_request.d.ts +17 -0
- package/dist/lib/requests/moveable_set_acceleration_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_set_acceleration_request.js +52 -0
- package/dist/lib/requests/moveable_set_acceleration_request.js.map +1 -0
- package/dist/lib/requests/moveable_set_setting_request.d.ts +15 -0
- package/dist/lib/requests/moveable_set_setting_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_set_setting_request.js +46 -0
- package/dist/lib/requests/moveable_set_setting_request.js.map +1 -0
- package/dist/lib/requests/moveable_setup_request.d.ts +19 -0
- package/dist/lib/requests/moveable_setup_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_setup_request.js +53 -0
- package/dist/lib/requests/moveable_setup_request.js.map +1 -0
- package/dist/lib/requests/moveable_type.d.ts +14 -0
- package/dist/lib/requests/moveable_type.d.ts.map +1 -0
- package/dist/lib/requests/moveable_type.js +23 -0
- package/dist/lib/requests/moveable_type.js.map +1 -0
- package/dist/lib/requests/moveable_wait_until_idle_request.d.ts +14 -0
- package/dist/lib/requests/moveable_wait_until_idle_request.d.ts.map +1 -0
- package/dist/lib/requests/moveable_wait_until_idle_request.js +39 -0
- package/dist/lib/requests/moveable_wait_until_idle_request.js.map +1 -0
- package/package.json +6 -2
- package/dist/lib/requests/lockstep_disable_request.d.ts +0 -16
- package/dist/lib/requests/lockstep_disable_request.d.ts.map +0 -1
- package/dist/lib/requests/lockstep_disable_request.js +0 -47
- package/dist/lib/requests/lockstep_disable_request.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moveable.js","sourceRoot":"","sources":["../../../src/movement/moveable.ts"],"names":[],"mappings":";AAAA,wDAAwD;AACxD,wDAAwD;;;;;;;;;;;;;;;;;;;;;;;;;;AAExD,oDAAsC;AACtC,sDAAwC;AACxC,4CAAuD;AACvD,wCAAqC;AAErC,gDAA6C;AAO7C;;GAEG;AACH,MAAa,QAAQ;IACnB;;OAEG;IACH,IAAW,UAAU;QACnB,OAAO,IAAI,CAAC,WAAW,CAAC;IAC1B,CAAC;IAGD;;OAEG;IACH,IAAW,MAAM;QACf,OAAO,IAAI,CAAC,OAAO,CAAC;IACtB,CAAC;IAGD,YAAY,UAAkB,EAAE,MAAc;QAC5C,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;QAC9B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,IAAA,mCAAuB,EAAC,IAAI,EAAE,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IACvE,CAAC;IAED;;;;;OAKG;IACI,MAAM,CAAC,KAAK,CAAC,QAAQ,CAC1B,IAAU,EACV,UAAoC,EAAE;QAEtC,MAAM,EACJ,KAAK,GACN,GAAG,OAAO,CAAC;QACZ,MAAM,OAAO,GAAoD;YAC/D,GAAG,QAAQ,CAAC,oBAAoB,CAAC,OAAO;YACxC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,WAAW;YAC/C,cAAc,EAAE,IAAI,CAAC,UAAU;YAC/B,YAAY,EAAE,QAAQ,CAAC,YAAY,CAAC,IAAI;YACxC,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yC,EAAE;QAE3C,MAAM,EACJ,iBAAiB,GAAG,IAAI,GACzB,GAAG,OAAO,CAAC;QACZ,MAAM,OAAO,GAA4D;YACvE,GAAG,QAAQ,CAAC,4BAA4B,CAAC,OAAO;YAChD,UAAU,EAAE,IAAI,CAAC,UAAU;YAC3B,iBAAiB,EAAE,iBAAiB;YACpC,QAAQ;gBACN,OAAO,QAAQ,CAAC,4BAA4B,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YAC9D,CAAC;SACF,CAAC;QAEF,MAAM,OAAO,CAAC,SAAS,CAAC,0BAA0B,EAAE,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED;;;OAGG;IACK,MAAM,CAAC,KAAK,CAClB,UAAkB;QAElB,MAAM,OAAO,GAAiD;YAC5D,GAAG,QAAQ,CAAC,iBAAiB,CAAC,OAAO;YACrC,UAAU,EAAE,UAAU;YACtB,QAAQ;gBACN,OAAO,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACnD,CAAC;SACF,CAAC;QAEF,OAAO,CAAC,QAAQ,CAAC,eAAe,EAAE,OAAO,CAAC,CAAC;IAC7C,CAAC;IAED;;;;OAIG;IACI,IAAI;QACT,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;IAClC,CAAC;CACF;AA5zBD,4BA4zBC","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 { Axis } from '../ascii/axis';\nimport { Device } from '../ascii/device';\nimport { Lockstep } from '../ascii/lockstep';\nimport { MeasurementOrValue } from '../measurement_or_value';\nimport { DefaultMotionUnits } from './default_motion_units';\nimport { Angle, Length, Native, Velocity, AngularVelocity, Acceleration, AngularAcceleration } from '../units';\nimport { AccelType } from '../ascii/accel_type';\nimport { CyclicDirection } from '../cyclic_direction';\n\n/**\n * Represents something that moves: either an axis of a device, or a lockstep group.\n */\nexport class Moveable {\n /**\n * The identifier for the moveable instance.\n */\n public get moveableId(): number {\n return this._moveableId;\n }\n private _moveableId: number;\n\n /**\n * The device this moveable is on.\n */\n public get device(): Device {\n return this._device;\n }\n private _device: Device;\n\n constructor(moveableId: number, device: Device) {\n this._moveableId = moveableId;\n this._device = device;\n registerForFinalization(this, Moveable._free.bind(null, moveableId));\n }\n\n /**\n * Creates a Moveable instance for a given axis.\n * @param axis Axis to create a Moveable for.\n * @param options.units Default units of measurement used for movement operations.\n * @returns A Moveable instance for the specified axis.\n */\n public static async fromAxis(\n axis: Axis,\n options: Moveable.FromAxisOptions = {}\n ): Promise<Moveable> {\n const {\n units,\n } = options;\n const request: requests.MoveableSetupRequest & gateway.Message = {\n ...requests.MoveableSetupRequest.DEFAULT,\n interfaceId: axis.device.connection.interfaceId,\n moveableNumber: axis.axisNumber,\n moveableType: requests.MoveableType.AXIS,\n device: axis.device.deviceAddress,\n defaultUnits: units,\n toBinary() {\n return requests.MoveableSetupRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'moveable/setup',\n request,\n requests.IntResponse.fromBinary);\n return new Moveable(response.value, axis.device);\n }\n\n /**\n * Creates a Moveable instance for a given lockstep group.\n * @param lockstep Lockstep group to create a Moveable for.\n * @param options.units Default units of measurement used for movement operations.\n * @returns A Moveable instance for the specified lockstep group.\n */\n public static async fromLockstep(\n lockstep: Lockstep,\n options: Moveable.FromLockstepOptions = {}\n ): Promise<Moveable> {\n const {\n units,\n } = options;\n const request: requests.MoveableSetupRequest & gateway.Message = {\n ...requests.MoveableSetupRequest.DEFAULT,\n interfaceId: lockstep.device.connection.interfaceId,\n moveableNumber: lockstep.lockstepGroupId,\n moveableType: requests.MoveableType.LOCKSTEP,\n device: lockstep.device.deviceAddress,\n defaultUnits: units,\n toBinary() {\n return requests.MoveableSetupRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'moveable/setup',\n request,\n requests.IntResponse.fromBinary);\n return new Moveable(response.value, lockstep.device);\n }\n\n /**\n * Creates a Moveable instance for a single-axis device.\n * @param device Device to create a Moveable for.\n * @param options.units Default units of measurement used for movement operations.\n * @returns A Moveable instance for the specified device.\n */\n public static async fromDevice(\n device: Device,\n options: Moveable.FromDeviceOptions = {}\n ): Promise<Moveable> {\n const {\n units,\n } = options;\n const request: requests.MoveableSetupRequest & gateway.Message = {\n ...requests.MoveableSetupRequest.DEFAULT,\n interfaceId: device.connection.interfaceId,\n moveableNumber: 1,\n moveableType: requests.MoveableType.DEVICE,\n device: device.deviceAddress,\n defaultUnits: units,\n toBinary() {\n return requests.MoveableSetupRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'moveable/setup',\n request,\n requests.IntResponse.fromBinary);\n return new Moveable(response.value, device);\n }\n\n /**\n * Moves to an absolute position.\n * @param position Absolute position to move to.\n * @param options.velocity Movement velocity. If not specified, the maximum velocity setting is used.\n * @param options.acceleration Movement acceleration. If not specified, the default acceleration setting is used.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n * @param options.cyclicDirection Which direction a cyclic device should take to get to the target position.\n * @param options.extraCycles Number of extra cycles to complete before stopping at the target.\n */\n public async moveAbsolute(\n position: MeasurementOrValue,\n options: Moveable.MoveAbsoluteOptions = {}\n ): Promise<void> {\n const {\n velocity,\n acceleration,\n waitUntilIdle = true,\n cyclicDirection,\n extraCycles,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n position: position,\n velocity: velocity,\n acceleration: acceleration,\n waitUntilIdle: waitUntilIdle,\n cyclicDirection: cyclicDirection,\n extraCycles: extraCycles,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_abs', request);\n }\n\n /**\n * Moves by a relative amount from the current position.\n * @param position Relative displacement to move by.\n * @param options.velocity Movement velocity. If not specified, the maximum velocity setting is used.\n * @param options.acceleration Movement acceleration. If not specified, the default acceleration setting is used.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveRelative(\n position: MeasurementOrValue,\n options: Moveable.MoveRelativeOptions = {}\n ): Promise<void> {\n const {\n velocity,\n acceleration,\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n position: position,\n velocity: velocity,\n acceleration: acceleration,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_rel', request);\n }\n\n /**\n * Begins moving at a specified velocity.\n * @param velocity Velocity to move at.\n * @param options.acceleration Movement acceleration. If not specified, the default acceleration setting is used.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveVelocity(\n velocity: MeasurementOrValue,\n options: Moveable.MoveVelocityOptions = {}\n ): Promise<void> {\n const {\n acceleration,\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n velocity: velocity,\n acceleration: acceleration,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_vel', request);\n }\n\n /**\n * Moves to the end of travel.\n * @param options.velocity Movement velocity. If not specified, the maximum velocity setting is used.\n * @param options.acceleration Movement acceleration. If not specified, the default acceleration setting is used.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveMax(\n options: Moveable.MoveMaxOptions = {}\n ): Promise<void> {\n const {\n velocity,\n acceleration,\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n velocity: velocity,\n acceleration: acceleration,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_max', request);\n }\n\n /**\n * Moves to the beginning of travel.\n * @param options.velocity Movement velocity. If not specified, the maximum velocity setting is used.\n * @param options.acceleration Movement acceleration. If not specified, the default acceleration setting is used.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveMin(\n options: Moveable.MoveMinOptions = {}\n ): Promise<void> {\n const {\n velocity,\n acceleration,\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n velocity: velocity,\n acceleration: acceleration,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_min', request);\n }\n\n /**\n * Returns the current position of the moveable.\n * @param options.unit Units of position. If not specified, the default position unit is used.\n * @returns Current position.\n */\n public async getPosition(\n options: Moveable.GetPositionOptions = {}\n ): Promise<number> {\n const {\n unit,\n } = options;\n const request: requests.MoveableGetSettingRequest & gateway.Message = {\n ...requests.MoveableGetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n unit: unit,\n toBinary() {\n return requests.MoveableGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_position',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the current encoder position of the moveable.\n * @param options.unit Units of position. If not specified, the default position unit is used.\n * @returns Current encoder position.\n */\n public async getEncoderPosition(\n options: Moveable.GetEncoderPositionOptions = {}\n ): Promise<number> {\n const {\n unit,\n } = options;\n const request: requests.MoveableGetSettingRequest & gateway.Message = {\n ...requests.MoveableGetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n unit: unit,\n toBinary() {\n return requests.MoveableGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_encoder_position',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Moves the moveable to the home position.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async home(\n options: Moveable.HomeOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/home', request);\n }\n\n /**\n * Returns bool indicating whether the moveable has position reference and was homed.\n * @returns True if the moveable has position reference and was homed.\n */\n public async isHomed(): Promise<boolean> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'moveable/is_homed',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns bool indicating whether the moveable is executing a motion command.\n * @returns True if the moveable is currently executing a motion command.\n */\n public async isBusy(): Promise<boolean> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'moveable/is_busy',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns bool indicating whether the moveable is parked.\n * @returns True if the moveable is parked.\n */\n public async isParked(): Promise<boolean> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.BoolResponse>(\n 'moveable/is_parked',\n request,\n requests.BoolResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Stops ongoing movement of the moveable.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async stop(\n options: Moveable.StopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/stop', request);\n }\n\n /**\n * Moves the moveable in a sinusoidal trajectory.\n * @param amplitude Amplitude of the sinusoidal motion (half of the motion's peak-to-peak range).\n * @param period Period of the sinusoidal motion.\n * @param [options.count=0] Number of sinusoidal cycles to complete.\n * Must be a multiple of 0.5.\n * If count is not specified or set to 0, the moveable will move indefinitely.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished or just started.\n */\n public async moveSin(\n amplitude: MeasurementOrValue,\n period: MeasurementOrValue,\n options: Moveable.MoveSinOptions = {}\n ): Promise<void> {\n const {\n count = 0,\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveSinRequest & gateway.Message = {\n ...requests.MoveableMoveSinRequest.DEFAULT,\n moveableId: this.moveableId,\n amplitude: amplitude,\n period: period,\n count: count,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveSinRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_sin', request);\n }\n\n /**\n * Stops the moveable at the end of the sinusoidal trajectory.\n * If the sinusoidal motion was started with an integer-plus-half cycle count,\n * the motion ends at the half-way point of the sinusoidal trajectory.\n * @param [options.waitUntilIdle=true] Determines whether function should return after the movement is finished.\n */\n public async moveSinStop(\n options: Moveable.MoveSinStopOptions = {}\n ): Promise<void> {\n const {\n waitUntilIdle = true,\n } = options;\n const request: requests.MoveableMoveRequest & gateway.Message = {\n ...requests.MoveableMoveRequest.DEFAULT,\n moveableId: this.moveableId,\n waitUntilIdle: waitUntilIdle,\n toBinary() {\n return requests.MoveableMoveRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/move_sin_stop', request);\n }\n\n /**\n * Parks the moveable.\n */\n public async park(): Promise<void> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/park', request);\n }\n\n /**\n * Unparks the moveable.\n */\n public async unpark(): Promise<void> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/unpark', request);\n }\n\n /**\n * Returns the current velocity of the moveable.\n * @param options.unit Units of velocity. If not specified, the default velocity unit is used.\n * @returns Current velocity.\n */\n public async getVelocity(\n options: Moveable.GetVelocityOptions = {}\n ): Promise<number> {\n const {\n unit,\n } = options;\n const request: requests.MoveableGetSettingRequest & gateway.Message = {\n ...requests.MoveableGetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n unit: unit,\n toBinary() {\n return requests.MoveableGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_velocity',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the maximum speed that this moveable will execute moves at by default.\n * If a different velocity is specified on a move command, that will override\n * this value for that command only.\n * @param options.unit Units of velocity. If not specified, the default velocity unit is used.\n * @returns Maximum speed.\n */\n public async getMaxSpeed(\n options: Moveable.GetMaxSpeedOptions = {}\n ): Promise<number> {\n const {\n unit,\n } = options;\n const request: requests.MoveableGetSettingRequest & gateway.Message = {\n ...requests.MoveableGetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n unit: unit,\n toBinary() {\n return requests.MoveableGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_max_speed',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets the maximum speed of the moveable. For a lockstep group, sets the value on all axes.\n * @param speed Maximum speed to set.\n */\n public async setMaxSpeed(\n speed: MeasurementOrValue\n ): Promise<void> {\n const request: requests.MoveableSetSettingRequest & gateway.Message = {\n ...requests.MoveableSetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n value: speed,\n toBinary() {\n return requests.MoveableSetSettingRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/set_max_speed', request);\n }\n\n /**\n * Returns the maximum acceleration of the moveable. For a lockstep group, returns the lowest value across all axes.\n * @param options.accelType Which acceleration ramp to return. Defaults to AccelDecel.\n * @param options.unit Units of acceleration. If not specified, the default acceleration unit is used.\n * @returns Maximum acceleration.\n */\n public async getMaxAcceleration(\n options: Moveable.GetMaxAccelerationOptions = {}\n ): Promise<number> {\n const {\n accelType,\n unit,\n } = options;\n const request: requests.MoveableGetAccelerationRequest & gateway.Message = {\n ...requests.MoveableGetAccelerationRequest.DEFAULT,\n moveableId: this.moveableId,\n accelType: accelType,\n unit: unit,\n toBinary() {\n return requests.MoveableGetAccelerationRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_max_acceleration',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Sets the maximum acceleration of the moveable. For a lockstep group, sets the value on all axes.\n * @param accel Maximum acceleration to set.\n * @param options.accelType Which acceleration ramp to set. Defaults to AccelDecel.\n */\n public async setMaxAcceleration(\n accel: MeasurementOrValue,\n options: Moveable.SetMaxAccelerationOptions = {}\n ): Promise<void> {\n const {\n accelType,\n } = options;\n const request: requests.MoveableSetAccelerationRequest & gateway.Message = {\n ...requests.MoveableSetAccelerationRequest.DEFAULT,\n moveableId: this.moveableId,\n accel: accel,\n accelType: accelType,\n toBinary() {\n return requests.MoveableSetAccelerationRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/set_max_acceleration', request);\n }\n\n /**\n * Returns the minimum limit of the moveable.\n * @param options.unit Units of position. If not specified, the default position unit is used.\n * @returns Minimum limit.\n */\n public async getLimitMin(\n options: Moveable.GetLimitMinOptions = {}\n ): Promise<number> {\n const {\n unit,\n } = options;\n const request: requests.MoveableGetSettingRequest & gateway.Message = {\n ...requests.MoveableGetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n unit: unit,\n toBinary() {\n return requests.MoveableGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_limit_min',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the maximum limit of the moveable.\n * @param options.unit Units of position. If not specified, the default position unit is used.\n * @returns Maximum limit.\n */\n public async getLimitMax(\n options: Moveable.GetLimitMaxOptions = {}\n ): Promise<number> {\n const {\n unit,\n } = options;\n const request: requests.MoveableGetSettingRequest & gateway.Message = {\n ...requests.MoveableGetSettingRequest.DEFAULT,\n moveableId: this.moveableId,\n unit: unit,\n toBinary() {\n return requests.MoveableGetSettingRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.DoubleResponse>(\n 'moveable/get_limit_max',\n request,\n requests.DoubleResponse.fromBinary);\n return response.value;\n }\n\n /**\n * Returns the lockstep group this moveable represents, or null if it is not a lockstep moveable.\n * @returns Lockstep instance, or null if this is not a lockstep moveable.\n */\n public async getLockstep(): Promise<Lockstep | null> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'moveable/get_lockstep',\n request,\n requests.IntResponse.fromBinary);\n return response.value !== 0 ? new Lockstep(this.device, response.value) : null;\n }\n\n /**\n * Returns the axis this moveable represents.\n * For a lockstep moveable, returns the primary axis of the lockstep group.\n * @returns Axis this moveable is based on.\n */\n public async getAxis(): Promise<Axis> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n const response = await gateway.callAsync<requests.IntResponse>(\n 'moveable/get_axis',\n request,\n requests.IntResponse.fromBinary);\n return new Axis(this.device, response.value);\n }\n\n /**\n * Disables the driver, which prevents current from being sent to the motor or load.\n * If the driver is already disabled, the driver remains disabled.\n */\n public async driverDisable(): Promise<void> {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: this.moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/driver_disable', request);\n }\n\n /**\n * Attempts to enable the driver repeatedly for the specified timeout.\n * If the driver is already enabled, the driver remains enabled.\n * @param [options.timeout=10] Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n public async driverEnable(\n options: Moveable.DriverEnableOptions = {}\n ): Promise<void> {\n const {\n timeout = 10,\n } = options;\n const request: requests.MoveableDriverEnableRequest & gateway.Message = {\n ...requests.MoveableDriverEnableRequest.DEFAULT,\n moveableId: this.moveableId,\n timeout: timeout,\n toBinary() {\n return requests.MoveableDriverEnableRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/driver_enable', request);\n }\n\n /**\n * Waits until the moveable stops moving.\n * @param [options.throwErrorOnFault=true] Determines whether to throw error when fault is observed.\n */\n public async waitUntilIdle(\n options: Moveable.WaitUntilIdleOptions = {}\n ): Promise<void> {\n const {\n throwErrorOnFault = true,\n } = options;\n const request: requests.MoveableWaitUntilIdleRequest & gateway.Message = {\n ...requests.MoveableWaitUntilIdleRequest.DEFAULT,\n moveableId: this.moveableId,\n throwErrorOnFault: throwErrorOnFault,\n toBinary() {\n return requests.MoveableWaitUntilIdleRequest.toBinary(this);\n },\n };\n\n await gateway.callAsync('moveable/wait_until_idle', request);\n }\n\n /**\n * Frees the moveable instance.\n * @param moveableId The ID of the moveable to free.\n */\n private static _free(\n moveableId: number\n ): void {\n const request: requests.MoveableIdRequest & gateway.Message = {\n ...requests.MoveableIdRequest.DEFAULT,\n moveableId: moveableId,\n toBinary() {\n return requests.MoveableIdRequest.toBinary(this);\n },\n };\n\n gateway.callSync('moveable/free', request);\n }\n\n /**\n * Releases the native resources of the moveable.\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 Moveable._free(this.moveableId);\n }\n}\n\nnamespace Moveable {\n export interface FromAxisOptions {\n /**\n * Default units of measurement used for movement operations.\n */\n units?: DefaultMotionUnits;\n }\n export interface FromLockstepOptions {\n /**\n * Default units of measurement used for movement operations.\n */\n units?: DefaultMotionUnits;\n }\n export interface FromDeviceOptions {\n /**\n * Default units of measurement used for movement operations.\n */\n units?: DefaultMotionUnits;\n }\n export interface MoveAbsoluteOptions {\n /**\n * Movement velocity. If not specified, the maximum velocity setting is used.\n */\n velocity?: MeasurementOrValue;\n /**\n * Movement acceleration. If not specified, the default acceleration setting is used.\n */\n acceleration?: MeasurementOrValue;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n /**\n * Which direction a cyclic device should take to get to the target position.\n */\n cyclicDirection?: CyclicDirection;\n /**\n * Number of extra cycles to complete before stopping at the target.\n */\n extraCycles?: number;\n }\n export interface MoveRelativeOptions {\n /**\n * Movement velocity. If not specified, the maximum velocity setting is used.\n */\n velocity?: MeasurementOrValue;\n /**\n * Movement acceleration. If not specified, the default acceleration setting is used.\n */\n acceleration?: MeasurementOrValue;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveVelocityOptions {\n /**\n * Movement acceleration. If not specified, the default acceleration setting is used.\n */\n acceleration?: MeasurementOrValue;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveMaxOptions {\n /**\n * Movement velocity. If not specified, the maximum velocity setting is used.\n */\n velocity?: MeasurementOrValue;\n /**\n * Movement acceleration. If not specified, the default acceleration setting is used.\n */\n acceleration?: MeasurementOrValue;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveMinOptions {\n /**\n * Movement velocity. If not specified, the maximum velocity setting is used.\n */\n velocity?: MeasurementOrValue;\n /**\n * Movement acceleration. If not specified, the default acceleration setting is used.\n */\n acceleration?: MeasurementOrValue;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface GetPositionOptions {\n /**\n * Units of position. If not specified, the default position unit is used.\n */\n unit?: Length | Angle | Native;\n }\n export interface GetEncoderPositionOptions {\n /**\n * Units of position. If not specified, the default position unit is used.\n */\n unit?: Length | Angle | Native;\n }\n export interface HomeOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface StopOptions {\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveSinOptions {\n /**\n * Number of sinusoidal cycles to complete.\n * Must be a multiple of 0.5.\n * If count is not specified or set to 0, the moveable will move indefinitely.\n */\n count?: number;\n /**\n * Determines whether function should return after the movement is finished or just started.\n */\n waitUntilIdle?: boolean;\n }\n export interface MoveSinStopOptions {\n /**\n * Determines whether function should return after the movement is finished.\n */\n waitUntilIdle?: boolean;\n }\n export interface GetVelocityOptions {\n /**\n * Units of velocity. If not specified, the default velocity unit is used.\n */\n unit?: Velocity | AngularVelocity | Native;\n }\n export interface GetMaxSpeedOptions {\n /**\n * Units of velocity. If not specified, the default velocity unit is used.\n */\n unit?: Velocity | AngularVelocity | Native;\n }\n export interface GetMaxAccelerationOptions {\n /**\n * Which acceleration ramp to return. Defaults to AccelDecel.\n */\n accelType?: AccelType;\n /**\n * Units of acceleration. If not specified, the default acceleration unit is used.\n */\n unit?: Acceleration | AngularAcceleration | Native;\n }\n export interface SetMaxAccelerationOptions {\n /**\n * Which acceleration ramp to set. Defaults to AccelDecel.\n */\n accelType?: AccelType;\n }\n export interface GetLimitMinOptions {\n /**\n * Units of position. If not specified, the default position unit is used.\n */\n unit?: Length | Angle | Native;\n }\n export interface GetLimitMaxOptions {\n /**\n * Units of position. If not specified, the default position unit is used.\n */\n unit?: Length | Angle | Native;\n }\n export interface DriverEnableOptions {\n /**\n * Timeout in seconds. Specify 0 to attempt to enable the driver once.\n */\n timeout?: number;\n }\n export interface WaitUntilIdleOptions {\n /**\n * Determines whether to throw error when fault is observed.\n */\n throwErrorOnFault?: boolean;\n }\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BSON } from 'bson';
|
|
2
|
+
export interface DeviceHasCommandRequest {
|
|
3
|
+
interfaceId: number;
|
|
4
|
+
device: number;
|
|
5
|
+
axis: number;
|
|
6
|
+
command: string;
|
|
7
|
+
allowPartial: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const DeviceHasCommandRequest: {
|
|
10
|
+
fromBinary: (buffer: Uint8Array) => DeviceHasCommandRequest;
|
|
11
|
+
toBinary: (value: DeviceHasCommandRequest) => Uint8Array;
|
|
12
|
+
DEFAULT: Readonly<DeviceHasCommandRequest>;
|
|
13
|
+
sanitize: (value: DeviceHasCommandRequest) => DeviceHasCommandRequest;
|
|
14
|
+
convert: (value: BSON.Document) => DeviceHasCommandRequest;
|
|
15
|
+
isA: (value: any) => value is DeviceHasCommandRequest;
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=device_has_command_request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device_has_command_request.d.ts","sourceRoot":"","sources":["../../../src/requests/device_has_command_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC;IAEf,IAAI,EAAE,MAAM,CAAC;IAEb,OAAO,EAAE,MAAM,CAAC;IAEhB,YAAY,EAAE,OAAO,CAAC;CAEvB;AAED,eAAO,MAAM,uBAAuB;yBACb,UAAU,KAAG,uBAAuB;sBAEvC,uBAAuB,KAAG,UAAU;;sBAUpC,uBAAuB,KAAG,uBAAuB;qBAYlD,KAAK,QAAQ,KAAG,uBAAuB;iBAQ3C,GAAG;CAYjB,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeviceHasCommandRequest = 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.DeviceHasCommandRequest = {
|
|
9
|
+
fromBinary: (buffer) => exports.DeviceHasCommandRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
|
|
10
|
+
toBinary: (value) => bson_1.BSON.serialize(exports.DeviceHasCommandRequest.sanitize(value)),
|
|
11
|
+
DEFAULT: Object.freeze({
|
|
12
|
+
interfaceId: 0,
|
|
13
|
+
device: 0,
|
|
14
|
+
axis: 0,
|
|
15
|
+
command: '',
|
|
16
|
+
allowPartial: false,
|
|
17
|
+
}),
|
|
18
|
+
sanitize: (value) => {
|
|
19
|
+
if (value == null) {
|
|
20
|
+
throw new TypeError('Expected DeviceHasCommandRequest object but got null or undefined.');
|
|
21
|
+
}
|
|
22
|
+
if (typeof value !== 'object') {
|
|
23
|
+
throw new TypeError(`Expected DeviceHasCommandRequest object but got ${typeof value}.`);
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
interfaceId: sanitizer_1.sanitizer.sanitizeInt(value.interfaceId, 'interfaceId'),
|
|
27
|
+
device: sanitizer_1.sanitizer.sanitizeInt(value.device, 'device'),
|
|
28
|
+
axis: sanitizer_1.sanitizer.sanitizeInt(value.axis, 'axis'),
|
|
29
|
+
command: sanitizer_1.sanitizer.sanitizeString(value.command, 'command'),
|
|
30
|
+
allowPartial: sanitizer_1.sanitizer.sanitizeBool(value.allowPartial, 'allowPartial'),
|
|
31
|
+
};
|
|
32
|
+
},
|
|
33
|
+
convert: (value) => ({
|
|
34
|
+
interfaceId: value.interfaceId,
|
|
35
|
+
device: value.device,
|
|
36
|
+
axis: value.axis,
|
|
37
|
+
command: value.command,
|
|
38
|
+
allowPartial: value.allowPartial,
|
|
39
|
+
}),
|
|
40
|
+
isA: (value) => {
|
|
41
|
+
const castValue = value;
|
|
42
|
+
return (value != null &&
|
|
43
|
+
typeof value === 'object' &&
|
|
44
|
+
sanitizer_1.sanitizer.isInt(castValue.interfaceId) &&
|
|
45
|
+
sanitizer_1.sanitizer.isInt(castValue.device) &&
|
|
46
|
+
sanitizer_1.sanitizer.isInt(castValue.axis) &&
|
|
47
|
+
sanitizer_1.sanitizer.isString(castValue.command) &&
|
|
48
|
+
sanitizer_1.sanitizer.isBool(castValue.allowPartial));
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=device_has_command_request.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"device_has_command_request.js","sourceRoot":"","sources":["../../../src/requests/device_has_command_request.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AAepC,QAAA,uBAAuB,GAAG;IACrC,UAAU,EAAE,CAAC,M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W;QAC9B,MAAM,EAAE,KAAK,CAAC,MAAM;QACpB,IAAI,EAAE,KAAK,CAAC,IAAI;QAChB,OAAO,EAAE,KAAK,CAAC,OAAO;QACtB,YAAY,EAAE,KAAK,CAAC,YAAY;KACjC,CAAC;IAEF,GAAG,EAAE,CAAC,KAAU,EAAoC,EAAE;QACpD,MAAM,SAAS,GAAG,KAAgC,CAAC;QACnD,OAAO,CACL,KAAK,IAAI,IAAI;YACb,OAAO,KAAK,KAAK,QAAQ;YACzB,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC;YACtC,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,MAAM,CAAC;YACjC,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,IAAI,CAAC;YAC/B,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC;YACrC,qBAAS,CAAC,MAAM,CAAC,SAAS,CAAC,YAAY,CAAC,CACzC,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 DeviceHasCommandRequest {\n interfaceId: number;\n\n device: number;\n\n axis: number;\n\n command: string;\n\n allowPartial: boolean;\n\n}\n\nexport const DeviceHasCommandRequest = {\n fromBinary: (buffer: Uint8Array): DeviceHasCommandRequest => DeviceHasCommandRequest.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: DeviceHasCommandRequest): Uint8Array => BSON.serialize(DeviceHasCommandRequest.sanitize(value)),\n\n DEFAULT: Object.freeze({\n interfaceId: 0,\n device: 0,\n axis: 0,\n command: '',\n allowPartial: false,\n }) as Readonly<DeviceHasCommandRequest>,\n\n sanitize: (value: DeviceHasCommandRequest): DeviceHasCommandRequest => {\n if (value == null) { throw new TypeError('Expected DeviceHasCommandRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected DeviceHasCommandRequest object but got ${typeof value}.`) }\n return {\n interfaceId: sanitizer.sanitizeInt(value.interfaceId, 'interfaceId'),\n device: sanitizer.sanitizeInt(value.device, 'device'),\n axis: sanitizer.sanitizeInt(value.axis, 'axis'),\n command: sanitizer.sanitizeString(value.command, 'command'),\n allowPartial: sanitizer.sanitizeBool(value.allowPartial, 'allowPartial'),\n };\n },\n\n convert: (value: BSON.Document): DeviceHasCommandRequest => ({\n interfaceId: value.interfaceId,\n device: value.device,\n axis: value.axis,\n command: value.command,\n allowPartial: value.allowPartial,\n }),\n\n isA: (value: any): value is DeviceHasCommandRequest => {\n const castValue = value as DeviceHasCommandRequest;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.interfaceId) &&\n sanitizer.isInt(castValue.device) &&\n sanitizer.isInt(castValue.axis) &&\n sanitizer.isString(castValue.command) &&\n sanitizer.isBool(castValue.allowPartial)\n );\n },\n};\n"]}
|
|
@@ -47,6 +47,7 @@ export * from './device_get_setting_request';
|
|
|
47
47
|
export * from './device_get_storage_request';
|
|
48
48
|
export * from './device_get_warnings_request';
|
|
49
49
|
export * from './device_get_warnings_response';
|
|
50
|
+
export * from './device_has_command_request';
|
|
50
51
|
export * from './device_home_request';
|
|
51
52
|
export * from './device_identify_request';
|
|
52
53
|
export * from './device_move_request';
|
|
@@ -126,7 +127,6 @@ export * from './int_response';
|
|
|
126
127
|
export * from './interface_empty_request';
|
|
127
128
|
export * from './interface_type';
|
|
128
129
|
export * from './load_paramset';
|
|
129
|
-
export * from './lockstep_disable_request';
|
|
130
130
|
export * from './lockstep_empty_request';
|
|
131
131
|
export * from './lockstep_enable_request';
|
|
132
132
|
export * from './lockstep_get_axis_numbers_response';
|
|
@@ -142,6 +142,17 @@ export * from './microscope_empty_request';
|
|
|
142
142
|
export * from './microscope_find_request';
|
|
143
143
|
export * from './microscope_init_request';
|
|
144
144
|
export * from './microscope_trigger_camera_request';
|
|
145
|
+
export * from './moveable_driver_enable_request';
|
|
146
|
+
export * from './moveable_get_acceleration_request';
|
|
147
|
+
export * from './moveable_get_setting_request';
|
|
148
|
+
export * from './moveable_id_request';
|
|
149
|
+
export * from './moveable_move_request';
|
|
150
|
+
export * from './moveable_move_sin_request';
|
|
151
|
+
export * from './moveable_set_acceleration_request';
|
|
152
|
+
export * from './moveable_set_setting_request';
|
|
153
|
+
export * from './moveable_setup_request';
|
|
154
|
+
export * from './moveable_type';
|
|
155
|
+
export * from './moveable_wait_until_idle_request';
|
|
145
156
|
export * from './objective_changer_change_request';
|
|
146
157
|
export * from './objective_changer_create_response';
|
|
147
158
|
export * from './objective_changer_get_current_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,yBAA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AA6B,CAAC;AAC5C,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,wCAAwC,CAAC;AACvD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,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"}
|
|
@@ -65,6 +65,7 @@ __exportStar(require("./device_get_setting_request"), exports);
|
|
|
65
65
|
__exportStar(require("./device_get_storage_request"), exports);
|
|
66
66
|
__exportStar(require("./device_get_warnings_request"), exports);
|
|
67
67
|
__exportStar(require("./device_get_warnings_response"), exports);
|
|
68
|
+
__exportStar(require("./device_has_command_request"), exports);
|
|
68
69
|
__exportStar(require("./device_home_request"), exports);
|
|
69
70
|
__exportStar(require("./device_identify_request"), exports);
|
|
70
71
|
__exportStar(require("./device_move_request"), exports);
|
|
@@ -144,7 +145,6 @@ __exportStar(require("./int_response"), exports);
|
|
|
144
145
|
__exportStar(require("./interface_empty_request"), exports);
|
|
145
146
|
__exportStar(require("./interface_type"), exports);
|
|
146
147
|
__exportStar(require("./load_paramset"), exports);
|
|
147
|
-
__exportStar(require("./lockstep_disable_request"), exports);
|
|
148
148
|
__exportStar(require("./lockstep_empty_request"), exports);
|
|
149
149
|
__exportStar(require("./lockstep_enable_request"), exports);
|
|
150
150
|
__exportStar(require("./lockstep_get_axis_numbers_response"), exports);
|
|
@@ -160,6 +160,17 @@ __exportStar(require("./microscope_empty_request"), exports);
|
|
|
160
160
|
__exportStar(require("./microscope_find_request"), exports);
|
|
161
161
|
__exportStar(require("./microscope_init_request"), exports);
|
|
162
162
|
__exportStar(require("./microscope_trigger_camera_request"), exports);
|
|
163
|
+
__exportStar(require("./moveable_driver_enable_request"), exports);
|
|
164
|
+
__exportStar(require("./moveable_get_acceleration_request"), exports);
|
|
165
|
+
__exportStar(require("./moveable_get_setting_request"), exports);
|
|
166
|
+
__exportStar(require("./moveable_id_request"), exports);
|
|
167
|
+
__exportStar(require("./moveable_move_request"), exports);
|
|
168
|
+
__exportStar(require("./moveable_move_sin_request"), exports);
|
|
169
|
+
__exportStar(require("./moveable_set_acceleration_request"), exports);
|
|
170
|
+
__exportStar(require("./moveable_set_setting_request"), exports);
|
|
171
|
+
__exportStar(require("./moveable_setup_request"), exports);
|
|
172
|
+
__exportStar(require("./moveable_type"), exports);
|
|
173
|
+
__exportStar(require("./moveable_wait_until_idle_request"), exports);
|
|
163
174
|
__exportStar(require("./objective_changer_change_request"), exports);
|
|
164
175
|
__exportStar(require("./objective_changer_create_response"), exports);
|
|
165
176
|
__exportStar(require("./objective_changer_get_current_response"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,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D,8DAA4C;AAC5C,+DAA6C;AAC7C,6DAA2C;AAC3C,kEAAgD;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_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,+CAA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FAA+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_has_command_request';\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_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 './moveable_driver_enable_request';\nexport * from './moveable_get_acceleration_request';\nexport * from './moveable_get_setting_request';\nexport * from './moveable_id_request';\nexport * from './moveable_move_request';\nexport * from './moveable_move_sin_request';\nexport * from './moveable_set_acceleration_request';\nexport * from './moveable_set_setting_request';\nexport * from './moveable_setup_request';\nexport * from './moveable_type';\nexport * from './moveable_wait_until_idle_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,5 +1,6 @@
|
|
|
1
1
|
import { BSON } from 'bson';
|
|
2
2
|
import { AxisMoveType } from '../requests/axis_move_type';
|
|
3
|
+
import { CyclicDirection } from '../cyclic_direction';
|
|
3
4
|
import { Units } from '../units';
|
|
4
5
|
export interface LockstepMoveRequest {
|
|
5
6
|
interfaceId: number;
|
|
@@ -8,11 +9,14 @@ export interface LockstepMoveRequest {
|
|
|
8
9
|
waitUntilIdle: boolean;
|
|
9
10
|
type: AxisMoveType;
|
|
10
11
|
arg: number;
|
|
12
|
+
argInt: number;
|
|
11
13
|
unit: Units;
|
|
12
14
|
velocity: number;
|
|
13
15
|
velocityUnit: Units;
|
|
14
16
|
acceleration: number;
|
|
15
17
|
accelerationUnit: Units;
|
|
18
|
+
cyclicDirection?: (CyclicDirection | null);
|
|
19
|
+
extraCycles?: (number | null);
|
|
16
20
|
}
|
|
17
21
|
export declare const LockstepMoveRequest: {
|
|
18
22
|
fromBinary: (buffer: Uint8Array) => LockstepMoveRequest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lockstep_move_request.d.ts","sourceRoot":"","sources":["../../../src/requests/lockstep_move_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC;IAEf,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,OAAO,CAAC;IAEvB,IAAI,EAAE,YAAY,CAAC;IAEnB,GAAG,EAAE,MAAM,CAAC;IAEZ,IAAI,EAAE,KAAK,CAAC;IAEZ,QAAQ,EAAE,MAAM,CAAC;IAEjB,YAAY,EAAE,KAAK,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,gBAAgB,EAAE,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"lockstep_move_request.d.ts","sourceRoot":"","sources":["../../../src/requests/lockstep_move_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,MAAM,WAAW,mBAAmB;IAClC,WAAW,EAAE,MAAM,CAAC;IAEpB,MAAM,EAAE,MAAM,CAAC;IAEf,eAAe,EAAE,MAAM,CAAC;IAExB,aAAa,EAAE,OAAO,CAAC;IAEvB,IAAI,EAAE,YAAY,CAAC;IAEnB,GAAG,EAAE,MAAM,CAAC;IAEZ,MAAM,EAAE,MAAM,CAAC;IAEf,IAAI,EAAE,KAAK,CAAC;IAEZ,QAAQ,EAAE,MAAM,CAAC;IAEjB,YAAY,EAAE,KAAK,CAAC;IAEpB,YAAY,EAAE,MAAM,CAAC;IAErB,gBAAgB,EAAE,KAAK,CAAC;IAExB,eAAe,CAAC,EAAE,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAE3C,WAAW,CAAC,EAAE,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAE/B;AAED,eAAO,MAAM,mBAAmB;yBACT,UAAU,KAAG,mBAAmB;sBAEnC,mBAAmB,KAAG,UAAU;;sBAmBhC,mBAAmB,KAAG,mBAAmB;qBAqB1C,KAAK,QAAQ,KAAG,mBAAmB;iBAiBvC,GAAG;CAqBjB,CAAC"}
|
|
@@ -6,6 +6,7 @@ exports.LockstepMoveRequest = void 0;
|
|
|
6
6
|
const bson_1 = require("bson");
|
|
7
7
|
const sanitizer_1 = require("../gateway/sanitizer");
|
|
8
8
|
const axis_move_type_1 = require("../requests/axis_move_type");
|
|
9
|
+
const cyclic_direction_1 = require("../cyclic_direction");
|
|
9
10
|
const units_1 = require("../units");
|
|
10
11
|
exports.LockstepMoveRequest = {
|
|
11
12
|
fromBinary: (buffer) => exports.LockstepMoveRequest.convert(bson_1.BSON.deserialize(buffer, { useBigInt64: true })),
|
|
@@ -17,11 +18,14 @@ exports.LockstepMoveRequest = {
|
|
|
17
18
|
waitUntilIdle: false,
|
|
18
19
|
type: 0,
|
|
19
20
|
arg: 0,
|
|
21
|
+
argInt: 0,
|
|
20
22
|
unit: units_1.Units.NATIVE,
|
|
21
23
|
velocity: 0,
|
|
22
24
|
velocityUnit: units_1.Units.NATIVE,
|
|
23
25
|
acceleration: 0,
|
|
24
26
|
accelerationUnit: units_1.Units.NATIVE,
|
|
27
|
+
cyclicDirection: null,
|
|
28
|
+
extraCycles: null,
|
|
25
29
|
}),
|
|
26
30
|
sanitize: (value) => {
|
|
27
31
|
if (value == null) {
|
|
@@ -37,11 +41,14 @@ exports.LockstepMoveRequest = {
|
|
|
37
41
|
waitUntilIdle: sanitizer_1.sanitizer.sanitizeBool(value.waitUntilIdle, 'waitUntilIdle'),
|
|
38
42
|
type: sanitizer_1.sanitizer.sanitizeEnum(value.type, 'AxisMoveType', axis_move_type_1.AxisMoveType, 'type'),
|
|
39
43
|
arg: sanitizer_1.sanitizer.sanitizeNumber(value.arg, 'arg'),
|
|
44
|
+
argInt: sanitizer_1.sanitizer.sanitizeInt(value.argInt, 'argInt'),
|
|
40
45
|
unit: sanitizer_1.sanitizer.sanitizeUnits(value.unit, 'unit'),
|
|
41
46
|
velocity: sanitizer_1.sanitizer.sanitizeNumber(value.velocity, 'velocity'),
|
|
42
47
|
velocityUnit: sanitizer_1.sanitizer.sanitizeUnits(value.velocityUnit, 'velocityUnit'),
|
|
43
48
|
acceleration: sanitizer_1.sanitizer.sanitizeNumber(value.acceleration, 'acceleration'),
|
|
44
49
|
accelerationUnit: sanitizer_1.sanitizer.sanitizeUnits(value.accelerationUnit, 'accelerationUnit'),
|
|
50
|
+
cyclicDirection: value.cyclicDirection != null ? sanitizer_1.sanitizer.sanitizeEnum(value.cyclicDirection, 'CyclicDirection', cyclic_direction_1.CyclicDirection, 'cyclicDirection') : null,
|
|
51
|
+
extraCycles: value.extraCycles != null ? sanitizer_1.sanitizer.sanitizeInt(value.extraCycles, 'extraCycles') : null,
|
|
45
52
|
};
|
|
46
53
|
},
|
|
47
54
|
convert: (value) => ({
|
|
@@ -51,11 +58,14 @@ exports.LockstepMoveRequest = {
|
|
|
51
58
|
waitUntilIdle: value.waitUntilIdle,
|
|
52
59
|
type: value.type,
|
|
53
60
|
arg: value.arg,
|
|
61
|
+
argInt: value.argInt,
|
|
54
62
|
unit: value.unit,
|
|
55
63
|
velocity: value.velocity,
|
|
56
64
|
velocityUnit: value.velocityUnit,
|
|
57
65
|
acceleration: value.acceleration,
|
|
58
66
|
accelerationUnit: value.accelerationUnit,
|
|
67
|
+
cyclicDirection: value.cyclicDirection,
|
|
68
|
+
extraCycles: value.extraCycles,
|
|
59
69
|
}),
|
|
60
70
|
isA: (value) => {
|
|
61
71
|
const castValue = value;
|
|
@@ -67,11 +77,14 @@ exports.LockstepMoveRequest = {
|
|
|
67
77
|
sanitizer_1.sanitizer.isBool(castValue.waitUntilIdle) &&
|
|
68
78
|
sanitizer_1.sanitizer.isEnum(castValue.type, axis_move_type_1.AxisMoveType) &&
|
|
69
79
|
sanitizer_1.sanitizer.isNumber(castValue.arg) &&
|
|
80
|
+
sanitizer_1.sanitizer.isInt(castValue.argInt) &&
|
|
70
81
|
sanitizer_1.sanitizer.isUnits(castValue.unit) &&
|
|
71
82
|
sanitizer_1.sanitizer.isNumber(castValue.velocity) &&
|
|
72
83
|
sanitizer_1.sanitizer.isUnits(castValue.velocityUnit) &&
|
|
73
84
|
sanitizer_1.sanitizer.isNumber(castValue.acceleration) &&
|
|
74
|
-
sanitizer_1.sanitizer.isUnits(castValue.accelerationUnit)
|
|
85
|
+
sanitizer_1.sanitizer.isUnits(castValue.accelerationUnit) &&
|
|
86
|
+
(castValue.cyclicDirection == null || sanitizer_1.sanitizer.isEnum(castValue.cyclicDirection, cyclic_direction_1.CyclicDirection)) &&
|
|
87
|
+
(castValue.extraCycles == null || sanitizer_1.sanitizer.isInt(castValue.extraCycles)));
|
|
75
88
|
},
|
|
76
89
|
};
|
|
77
90
|
//# sourceMappingURL=lockstep_move_request.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lockstep_move_request.js","sourceRoot":"","sources":["../../../src/requests/lockstep_move_request.ts"],"names":[],"mappings":";;;AAAA,wDAAwD;AACxD,wDAAwD;AACxD,+BAA4B;AAC5B,oDAAiD;AACjD,+DAA0D;AAC1D,oCAAiC;
|
|
1
|
+
{"version":3,"file":"lockstep_move_request.js","sourceRoot":"","sources":["../../../src/requests/lockstep_move_request.ts"],"names":[],"mappings":";;;AAAA,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,CAAC,SAAS,CAAC,QAAQ,CAAC;YACtC,qBAAS,CAAC,OAAO,CAAC,SAAS,CAAC,YAAY,CAAC;YACzC,qBAAS,CAAC,QAAQ,CAAC,SAAS,CAAC,YAAY,CAAC;YAC1C,qBAAS,CAAC,OAAO,CAAC,SAAS,CAAC,gBAAgB,CAAC;YAC7C,CAAC,SAAS,CAAC,eAAe,IAAI,IAAI,IAAI,qBAAS,CAAC,MAAM,CAAC,SAAS,CAAC,eAAe,EAAE,kCAAe,CAAC,CAAC;YACnG,CAAC,SAAS,CAAC,WAAW,IAAI,IAAI,IAAI,qBAAS,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC,CAC1E,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';\nimport { AxisMoveType } from '../requests/axis_move_type';\nimport { CyclicDirection } from '../cyclic_direction';\nimport { Units } from '../units';\n\nexport interface LockstepMoveRequest {\n interfaceId: number;\n\n device: number;\n\n lockstepGroupId: number;\n\n waitUntilIdle: boolean;\n\n type: AxisMoveType;\n\n arg: number;\n\n argInt: number;\n\n unit: Units;\n\n velocity: number;\n\n velocityUnit: Units;\n\n acceleration: number;\n\n accelerationUnit: Units;\n\n cyclicDirection?: (CyclicDirection | null);\n\n extraCycles?: (number | null);\n\n}\n\nexport const LockstepMoveRequest = {\n fromBinary: (buffer: Uint8Array): LockstepMoveRequest => LockstepMoveRequest.convert(BSON.deserialize(buffer, { useBigInt64: true })),\n\n toBinary: (value: LockstepMoveRequest): Uint8Array => BSON.serialize(LockstepMoveRequest.sanitize(value)),\n\n DEFAULT: Object.freeze({\n interfaceId: 0,\n device: 0,\n lockstepGroupId: 0,\n waitUntilIdle: false,\n type: 0 as AxisMoveType,\n arg: 0,\n argInt: 0,\n unit: Units.NATIVE,\n velocity: 0,\n velocityUnit: Units.NATIVE,\n acceleration: 0,\n accelerationUnit: Units.NATIVE,\n cyclicDirection: null,\n extraCycles: null,\n }) as Readonly<LockstepMoveRequest>,\n\n sanitize: (value: LockstepMoveRequest): LockstepMoveRequest => {\n if (value == null) { throw new TypeError('Expected LockstepMoveRequest object but got null or undefined.') }\n if (typeof value !== 'object') { throw new TypeError(`Expected LockstepMoveRequest object but got ${typeof value}.`) }\n return {\n interfaceId: sanitizer.sanitizeInt(value.interfaceId, 'interfaceId'),\n device: sanitizer.sanitizeInt(value.device, 'device'),\n lockstepGroupId: sanitizer.sanitizeInt(value.lockstepGroupId, 'lockstepGroupId'),\n waitUntilIdle: sanitizer.sanitizeBool(value.waitUntilIdle, 'waitUntilIdle'),\n type: sanitizer.sanitizeEnum(value.type, 'AxisMoveType', AxisMoveType, 'type'),\n arg: sanitizer.sanitizeNumber(value.arg, 'arg'),\n argInt: sanitizer.sanitizeInt(value.argInt, 'argInt'),\n unit: sanitizer.sanitizeUnits(value.unit, 'unit'),\n velocity: sanitizer.sanitizeNumber(value.velocity, 'velocity'),\n velocityUnit: sanitizer.sanitizeUnits(value.velocityUnit, 'velocityUnit'),\n acceleration: sanitizer.sanitizeNumber(value.acceleration, 'acceleration'),\n accelerationUnit: sanitizer.sanitizeUnits(value.accelerationUnit, 'accelerationUnit'),\n cyclicDirection: value.cyclicDirection != null ? sanitizer.sanitizeEnum(value.cyclicDirection, 'CyclicDirection', CyclicDirection, 'cyclicDirection') : null,\n extraCycles: value.extraCycles != null ? sanitizer.sanitizeInt(value.extraCycles, 'extraCycles') : null,\n };\n },\n\n convert: (value: BSON.Document): LockstepMoveRequest => ({\n interfaceId: value.interfaceId,\n device: value.device,\n lockstepGroupId: value.lockstepGroupId,\n waitUntilIdle: value.waitUntilIdle,\n type: value.type,\n arg: value.arg,\n argInt: value.argInt,\n unit: value.unit,\n velocity: value.velocity,\n velocityUnit: value.velocityUnit,\n acceleration: value.acceleration,\n accelerationUnit: value.accelerationUnit,\n cyclicDirection: value.cyclicDirection,\n extraCycles: value.extraCycles,\n }),\n\n isA: (value: any): value is LockstepMoveRequest => {\n const castValue = value as LockstepMoveRequest;\n return (\n value != null &&\n typeof value === 'object' &&\n sanitizer.isInt(castValue.interfaceId) &&\n sanitizer.isInt(castValue.device) &&\n sanitizer.isInt(castValue.lockstepGroupId) &&\n sanitizer.isBool(castValue.waitUntilIdle) &&\n sanitizer.isEnum(castValue.type, AxisMoveType) &&\n sanitizer.isNumber(castValue.arg) &&\n sanitizer.isInt(castValue.argInt) &&\n sanitizer.isUnits(castValue.unit) &&\n sanitizer.isNumber(castValue.velocity) &&\n sanitizer.isUnits(castValue.velocityUnit) &&\n sanitizer.isNumber(castValue.acceleration) &&\n sanitizer.isUnits(castValue.accelerationUnit) &&\n (castValue.cyclicDirection == null || sanitizer.isEnum(castValue.cyclicDirection, CyclicDirection)) &&\n (castValue.extraCycles == null || sanitizer.isInt(castValue.extraCycles))\n );\n },\n};\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BSON } from 'bson';
|
|
2
|
+
export interface MoveableDriverEnableRequest {
|
|
3
|
+
moveableId: number;
|
|
4
|
+
timeout: number;
|
|
5
|
+
}
|
|
6
|
+
export declare const MoveableDriverEnableRequest: {
|
|
7
|
+
fromBinary: (buffer: Uint8Array) => MoveableDriverEnableRequest;
|
|
8
|
+
toBinary: (value: MoveableDriverEnableRequest) => Uint8Array;
|
|
9
|
+
DEFAULT: Readonly<MoveableDriverEnableRequest>;
|
|
10
|
+
sanitize: (value: MoveableDriverEnableRequest) => MoveableDriverEnableRequest;
|
|
11
|
+
convert: (value: BSON.Document) => MoveableDriverEnableRequest;
|
|
12
|
+
isA: (value: any) => value is MoveableDriverEnableRequest;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=moveable_driver_enable_request.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"moveable_driver_enable_request.d.ts","sourceRoot":"","sources":["../../../src/requests/moveable_driver_enable_request.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,MAAM,CAAC;IAEnB,OAAO,EAAE,MAAM,CAAC;CAEjB;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"}
|