@zaber/motion 3.2.1 → 3.4.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/README.md +1 -1
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/device.d.ts +28 -1
- package/dist/lib/ascii/device.js +45 -2
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +5 -0
- package/dist/lib/ascii/index.js +11 -1
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/lockstep.d.ts +22 -0
- package/dist/lib/ascii/lockstep.js +43 -6
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/pvt_axis_definition.d.ts +17 -0
- package/dist/lib/ascii/pvt_axis_definition.js +53 -0
- package/dist/lib/ascii/pvt_axis_definition.js.map +1 -0
- package/dist/lib/ascii/pvt_axis_type.d.ts +7 -0
- package/dist/lib/ascii/pvt_axis_type.js +14 -0
- package/dist/lib/ascii/pvt_axis_type.js.map +1 -0
- package/dist/lib/ascii/pvt_buffer.d.ts +28 -0
- package/dist/lib/ascii/pvt_buffer.js +78 -0
- package/dist/lib/ascii/pvt_buffer.js.map +1 -0
- package/dist/lib/ascii/pvt_mode.d.ts +8 -0
- package/dist/lib/ascii/pvt_mode.js +15 -0
- package/dist/lib/ascii/pvt_mode.js.map +1 -0
- package/dist/lib/ascii/pvt_sequence.d.ts +178 -0
- package/dist/lib/ascii/pvt_sequence.js +407 -0
- package/dist/lib/ascii/pvt_sequence.js.map +1 -0
- package/dist/lib/ascii/stream.d.ts +13 -5
- package/dist/lib/ascii/stream.js +25 -5
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii/stream_buffer.d.ts +1 -1
- package/dist/lib/ascii/stream_buffer.js +1 -1
- package/dist/lib/ascii/stream_buffer.js.map +1 -1
- package/dist/lib/ascii/warnings.d.ts +9 -0
- package/dist/lib/ascii/warnings.js +17 -0
- package/dist/lib/ascii/warnings.js.map +1 -1
- package/dist/lib/ascii_ns.d.ts +10 -0
- package/dist/lib/ascii_ns.js +5 -0
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/exceptions/index.d.ts +12 -0
- package/dist/lib/exceptions/index.js +26 -2
- package/dist/lib/exceptions/index.js.map +1 -1
- package/dist/lib/exceptions/invalid_pvt_point.d.ts +16 -0
- package/dist/lib/exceptions/invalid_pvt_point.js +18 -0
- package/dist/lib/exceptions/invalid_pvt_point.js.map +1 -0
- package/dist/lib/exceptions/pvt_discontinuity_exception.d.ts +7 -0
- package/dist/lib/exceptions/pvt_discontinuity_exception.js +17 -0
- package/dist/lib/exceptions/pvt_discontinuity_exception.js.map +1 -0
- package/dist/lib/exceptions/pvt_execution_exception.d.ts +14 -0
- package/dist/lib/exceptions/pvt_execution_exception.js +32 -0
- package/dist/lib/exceptions/pvt_execution_exception.js.map +1 -0
- package/dist/lib/exceptions/pvt_execution_exception_data.d.ts +21 -0
- package/dist/lib/exceptions/pvt_execution_exception_data.js +20 -0
- package/dist/lib/exceptions/pvt_execution_exception_data.js.map +1 -0
- package/dist/lib/exceptions/pvt_mode_exception.d.ts +7 -0
- package/dist/lib/exceptions/pvt_mode_exception.js +17 -0
- package/dist/lib/exceptions/pvt_mode_exception.js.map +1 -0
- package/dist/lib/exceptions/pvt_movement_failed_exception.d.ts +14 -0
- package/dist/lib/exceptions/pvt_movement_failed_exception.js +32 -0
- package/dist/lib/exceptions/pvt_movement_failed_exception.js.map +1 -0
- package/dist/lib/exceptions/pvt_movement_failed_exception_data.d.ts +16 -0
- package/dist/lib/exceptions/pvt_movement_failed_exception_data.js +18 -0
- package/dist/lib/exceptions/pvt_movement_failed_exception_data.js.map +1 -0
- package/dist/lib/exceptions/pvt_movement_interrupted_exception.d.ts +14 -0
- package/dist/lib/exceptions/pvt_movement_interrupted_exception.js +32 -0
- package/dist/lib/exceptions/pvt_movement_interrupted_exception.js.map +1 -0
- package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.d.ts +16 -0
- package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.js +18 -0
- package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.js.map +1 -0
- package/dist/lib/exceptions/pvt_setup_failed_exception.d.ts +7 -0
- package/dist/lib/exceptions/pvt_setup_failed_exception.js +17 -0
- package/dist/lib/exceptions/pvt_setup_failed_exception.js.map +1 -0
- package/dist/lib/exceptions/stream_discontinuity_exception.d.ts +7 -0
- package/dist/lib/exceptions/stream_discontinuity_exception.js +17 -0
- package/dist/lib/exceptions/stream_discontinuity_exception.js.map +1 -0
- package/dist/lib/exceptions/timeout_exception.d.ts +7 -0
- package/dist/lib/exceptions/timeout_exception.js +17 -0
- package/dist/lib/exceptions/timeout_exception.js.map +1 -0
- package/dist/lib/firmware_version.js +36 -0
- package/dist/lib/firmware_version.js.map +1 -1
- package/dist/lib/gateway/convert_exceptions.js +8 -0
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/gcode/offline_translator.d.ts +2 -2
- package/dist/lib/gcode/offline_translator.js +2 -2
- package/dist/lib/gcode/offline_translator.js.map +1 -1
- package/dist/lib/gcode/translator.d.ts +1 -1
- package/dist/lib/gcode/translator.js +1 -1
- package/dist/lib/gcode/translator.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +445 -58
- package/dist/lib/protobufs/main_pb.js +4369 -1463
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/package.json +33 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exceptions/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;AAEtD,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,uEAAoE;AAA3D,kIAAA,sBAAsB,OAAA;AAC/B,6EAA0E;AAAjE,wIAAA,yBAAyB,OAAA;AAClC,2EAAuE;AAA9D,qIAAA,uBAAuB,OAAA;AAChC,6EAA0E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A;AAC1C,2GAAsG;AAA7F,oKAAA,sCAAsC,OAAA","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nexport { BinaryCommandFailedException } from './binary_command_failed_exception';\nexport { CommandFailedException } from './command_failed_exception';\nexport { CommandPreemptedException } from './command_preempted_exception';\nexport { CommandTooLongException } from './command_too_long_exception';\nexport { ConnectionClosedException } from './connection_closed_exception';\nexport { ConnectionFailedException } from './connection_failed_exception';\nexport { ConversionFailedException } from './conversion_failed_exception';\nexport { DeviceAddressConflictException } from './device_address_conflict_exception';\nexport { DeviceBusyException } from './device_busy_exception';\nexport { DeviceDbFailedException } from './device_db_failed_exception';\nexport { DeviceDetectionFailedException } from './device_detection_failed_exception';\nexport { DeviceFailedException } from './device_failed_exception';\nexport { DeviceNotIdentifiedException } from './device_not_identified_exception';\nexport { GCodeExecutionException } from './g_code_execution_exception';\nexport { GCodeSyntaxException } from './g_code_syntax_exception';\nexport { InternalErrorException } from './internal_error_exception';\nexport { InvalidArgumentException } from './invalid_argument_exception';\nexport { InvalidDataException } from './invalid_data_exception';\nexport { InvalidOperationException } from './invalid_operation_exception';\nexport { InvalidPacketException } from './invalid_packet_exception';\nexport { InvalidParkStateException } from './invalid_park_state_exception';\nexport { InvalidResponseException } from './invalid_response_exception';\nexport { IoChannelOutOfRangeException } from './io_channel_out_of_range_exception';\nexport { IoFailedException } from './io_failed_exception';\nexport { LockstepEnabledException } from './lockstep_enabled_exception';\nexport { LockstepNotEnabledException } from './lockstep_not_enabled_exception';\nexport { MovementFailedException } from './movement_failed_exception';\nexport { MovementInterruptedException } from './movement_interrupted_exception';\nexport { NoDeviceFoundException } from './no_device_found_exception';\nexport { NoValueForKeyException } from './no_value_for_key_exception';\nexport { NotSupportedException } from './not_supported_exception';\nexport { OsFailedException } from './os_failed_exception';\nexport { OutOfRequestIdsException } from './out_of_request_ids_exception';\nexport { RequestTimeoutException } from './request_timeout_exception';\nexport { SerialPortBusyException } from './serial_port_busy_exception';\nexport { SetDeviceStateFailedException } from './set_device_state_failed_exception';\nexport { SetPeripheralStateFailedException } from './set_peripheral_state_failed_exception';\nexport { SettingNotFoundException } from './setting_not_found_exception';\nexport { StreamExecutionException } from './stream_execution_exception';\nexport { StreamModeException } from './stream_mode_exception';\nexport { StreamMovementFailedException } from './stream_movement_failed_exception';\nexport { StreamMovementInterruptedException } from './stream_movement_interrupted_exception';\nexport { StreamSetupFailedException } from './stream_setup_failed_exception';\nexport { TransportAlreadyUsedException } from './transport_already_used_exception';\nexport { UnknownRequestException } from './unknown_request_exception';\nexport { MotionLibException } from './motion_lib_exception';\n\nexport { BinaryCommandFailedExceptionData } from './binary_command_failed_exception_data';\nexport { CommandFailedExceptionData } from './command_failed_exception_data';\nexport { CommandTooLongExceptionData } from './command_too_long_exception_data';\nexport { DeviceAddressConflictExceptionData } from './device_address_conflict_exception_data';\nexport { DeviceDbFailedExceptionData } from './device_db_failed_exception_data';\nexport { GCodeExecutionExceptionData } from './g_code_execution_exception_data';\nexport { GCodeSyntaxExceptionData } from './g_code_syntax_exception_data';\nexport { InvalidPacketExceptionData } from './invalid_packet_exception_data';\nexport { InvalidResponseExceptionData } from './invalid_response_exception_data';\nexport { MovementFailedExceptionData } from './movement_failed_exception_data';\nexport { MovementInterruptedExceptionData } from './movement_interrupted_exception_data';\nexport { SetDeviceStateExceptionData } from './set_device_state_exception_data';\nexport { SetPeripheralStateExceptionData } from './set_peripheral_state_exception_data';\nexport { StreamExecutionExceptionData } from './stream_execution_exception_data';\nexport { StreamMovementFailedExceptionData } from './stream_movement_failed_exception_data';\nexport { StreamMovementInterruptedExceptionData } from './stream_movement_interrupted_exception_data';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exceptions/index.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;AAEtD,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,uEAAoE;A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;AAC3C,qFAAgF;AAAvE,8IAAA,2BAA2B,OAAA;AACpC,qFAAgF;AAAvE,8IAAA,2BAA2B,OAAA;AACpC,+EAA0E;AAAjE,wIAAA,wBAAwB,OAAA;AACjC,iFAA6E;AAApE,2IAAA,0BAA0B,OAAA;AACnC,yDAAsD;AAA7C,oHAAA,eAAe,OAAA;AACxB,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,mFAA+E;AAAtE,6IAAA,2BAA2B,OAAA;AACpC,6FAAyF;AAAhF,uJAAA,gCAAgC,OAAA;AACzC,+EAA2E;AAAlE,yIAAA,yBAAyB,OAAA;AAClC,2FAAsF;AAA7E,oJAAA,8BAA8B,OAAA;AACvC,qGAAgG;AAAvF,8JAAA,mCAAmC,OAAA;AAC5C,qFAAgF;AAAvE,8IAAA,2BAA2B,OAAA;AACpC,6FAAwF;AAA/E,sJAAA,+BAA+B,OAAA;AACxC,qFAAiF;AAAxE,+IAAA,4BAA4B,OAAA;AACrC,iGAA4F;AAAnF,0JAAA,iCAAiC,OAAA;AAC1C,2GAAsG;AAA7F,oKAAA,sCAAsC,OAAA","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nexport { BinaryCommandFailedException } from './binary_command_failed_exception';\nexport { CommandFailedException } from './command_failed_exception';\nexport { CommandPreemptedException } from './command_preempted_exception';\nexport { CommandTooLongException } from './command_too_long_exception';\nexport { ConnectionClosedException } from './connection_closed_exception';\nexport { ConnectionFailedException } from './connection_failed_exception';\nexport { ConversionFailedException } from './conversion_failed_exception';\nexport { DeviceAddressConflictException } from './device_address_conflict_exception';\nexport { DeviceBusyException } from './device_busy_exception';\nexport { DeviceDbFailedException } from './device_db_failed_exception';\nexport { DeviceDetectionFailedException } from './device_detection_failed_exception';\nexport { DeviceFailedException } from './device_failed_exception';\nexport { DeviceNotIdentifiedException } from './device_not_identified_exception';\nexport { GCodeExecutionException } from './g_code_execution_exception';\nexport { GCodeSyntaxException } from './g_code_syntax_exception';\nexport { InternalErrorException } from './internal_error_exception';\nexport { InvalidArgumentException } from './invalid_argument_exception';\nexport { InvalidDataException } from './invalid_data_exception';\nexport { InvalidOperationException } from './invalid_operation_exception';\nexport { InvalidPacketException } from './invalid_packet_exception';\nexport { InvalidParkStateException } from './invalid_park_state_exception';\nexport { InvalidResponseException } from './invalid_response_exception';\nexport { IoChannelOutOfRangeException } from './io_channel_out_of_range_exception';\nexport { IoFailedException } from './io_failed_exception';\nexport { LockstepEnabledException } from './lockstep_enabled_exception';\nexport { LockstepNotEnabledException } from './lockstep_not_enabled_exception';\nexport { MovementFailedException } from './movement_failed_exception';\nexport { MovementInterruptedException } from './movement_interrupted_exception';\nexport { NoDeviceFoundException } from './no_device_found_exception';\nexport { NoValueForKeyException } from './no_value_for_key_exception';\nexport { NotSupportedException } from './not_supported_exception';\nexport { OsFailedException } from './os_failed_exception';\nexport { OutOfRequestIdsException } from './out_of_request_ids_exception';\nexport { PvtDiscontinuityException } from './pvt_discontinuity_exception';\nexport { PvtExecutionException } from './pvt_execution_exception';\nexport { PvtModeException } from './pvt_mode_exception';\nexport { PvtMovementFailedException } from './pvt_movement_failed_exception';\nexport { PvtMovementInterruptedException } from './pvt_movement_interrupted_exception';\nexport { PvtSetupFailedException } from './pvt_setup_failed_exception';\nexport { RequestTimeoutException } from './request_timeout_exception';\nexport { SerialPortBusyException } from './serial_port_busy_exception';\nexport { SetDeviceStateFailedException } from './set_device_state_failed_exception';\nexport { SetPeripheralStateFailedException } from './set_peripheral_state_failed_exception';\nexport { SettingNotFoundException } from './setting_not_found_exception';\nexport { StreamDiscontinuityException } from './stream_discontinuity_exception';\nexport { StreamExecutionException } from './stream_execution_exception';\nexport { StreamModeException } from './stream_mode_exception';\nexport { StreamMovementFailedException } from './stream_movement_failed_exception';\nexport { StreamMovementInterruptedException } from './stream_movement_interrupted_exception';\nexport { StreamSetupFailedException } from './stream_setup_failed_exception';\nexport { TimeoutException } from './timeout_exception';\nexport { TransportAlreadyUsedException } from './transport_already_used_exception';\nexport { UnknownRequestException } from './unknown_request_exception';\nexport { MotionLibException } from './motion_lib_exception';\n\nexport { BinaryCommandFailedExceptionData } from './binary_command_failed_exception_data';\nexport { CommandFailedExceptionData } from './command_failed_exception_data';\nexport { CommandTooLongExceptionData } from './command_too_long_exception_data';\nexport { DeviceAddressConflictExceptionData } from './device_address_conflict_exception_data';\nexport { DeviceDbFailedExceptionData } from './device_db_failed_exception_data';\nexport { GCodeExecutionExceptionData } from './g_code_execution_exception_data';\nexport { GCodeSyntaxExceptionData } from './g_code_syntax_exception_data';\nexport { InvalidPacketExceptionData } from './invalid_packet_exception_data';\nexport { InvalidPvtPoint } from './invalid_pvt_point';\nexport { InvalidResponseExceptionData } from './invalid_response_exception_data';\nexport { MovementFailedExceptionData } from './movement_failed_exception_data';\nexport { MovementInterruptedExceptionData } from './movement_interrupted_exception_data';\nexport { PvtExecutionExceptionData } from './pvt_execution_exception_data';\nexport { PvtMovementFailedExceptionData } from './pvt_movement_failed_exception_data';\nexport { PvtMovementInterruptedExceptionData } from './pvt_movement_interrupted_exception_data';\nexport { SetDeviceStateExceptionData } from './set_device_state_exception_data';\nexport { SetPeripheralStateExceptionData } from './set_peripheral_state_exception_data';\nexport { StreamExecutionExceptionData } from './stream_execution_exception_data';\nexport { StreamMovementFailedExceptionData } from './stream_movement_failed_exception_data';\nexport { StreamMovementInterruptedExceptionData } from './stream_movement_interrupted_exception_data';\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains invalid PVT points for PvtExecutionException.
|
|
3
|
+
*/
|
|
4
|
+
export interface InvalidPvtPoint {
|
|
5
|
+
/**
|
|
6
|
+
* Index of the point numbered from the last submitted point.
|
|
7
|
+
*/
|
|
8
|
+
index: number;
|
|
9
|
+
/**
|
|
10
|
+
* The textual representation of the point.
|
|
11
|
+
*/
|
|
12
|
+
point: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace InvalidPvtPoint {
|
|
15
|
+
const __type = "InvalidPvtPoint";
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.InvalidPvtPoint = void 0;
|
|
6
|
+
var InvalidPvtPoint;
|
|
7
|
+
(function (InvalidPvtPoint) {
|
|
8
|
+
InvalidPvtPoint.__type = 'InvalidPvtPoint';
|
|
9
|
+
/** @internal */
|
|
10
|
+
function fromProtobuf(pbData) {
|
|
11
|
+
return {
|
|
12
|
+
index: pbData.index,
|
|
13
|
+
point: pbData.point,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
InvalidPvtPoint.fromProtobuf = fromProtobuf;
|
|
17
|
+
})(InvalidPvtPoint = exports.InvalidPvtPoint || (exports.InvalidPvtPoint = {}));
|
|
18
|
+
//# sourceMappingURL=invalid_pvt_point.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"invalid_pvt_point.js","sourceRoot":"","sources":["../../../src/exceptions/invalid_pvt_point.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAoBtD,IAAiB,eAAe,CAU/B;AAVD,WAAiB,eAAe;IACjB,sBAAM,GAAG,iBAAiB,CAAC;IAExC,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAwC;QACnE,OAAO;YACL,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;IALe,4BAAY,eAK3B,CAAA;AACH,CAAC,EAVgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAU/B","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * Contains invalid PVT points for PvtExecutionException.\n */\nexport interface InvalidPvtPoint {\n /**\n * Index of the point numbered from the last submitted point.\n */\n index: number;\n\n /**\n * The textual representation of the point.\n */\n point: string;\n\n}\n\nexport namespace InvalidPvtPoint {\n export const __type = 'InvalidPvtPoint';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.InvalidPvtPoint.AsObject): InvalidPvtPoint {\n return {\n index: pbData.index,\n point: pbData.point,\n };\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MotionLibException } from './motion_lib_exception';
|
|
2
|
+
/**
|
|
3
|
+
* Thrown when a PVT sequence encounters discontinuity and interrupts the sequence.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PvtDiscontinuityException extends MotionLibException {
|
|
6
|
+
constructor(message: string);
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtDiscontinuityException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
/**
|
|
8
|
+
* Thrown when a PVT sequence encounters discontinuity and interrupts the sequence.
|
|
9
|
+
*/
|
|
10
|
+
class PvtDiscontinuityException extends motion_lib_exception_1.MotionLibException {
|
|
11
|
+
constructor(message) {
|
|
12
|
+
super(message);
|
|
13
|
+
Object.setPrototypeOf(this, PvtDiscontinuityException.prototype);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PvtDiscontinuityException = PvtDiscontinuityException;
|
|
17
|
+
//# sourceMappingURL=pvt_discontinuity_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_discontinuity_exception.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_discontinuity_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAE5D;;GAEG;AACH,MAAa,yBAA0B,SAAQ,yCAAkB;IAC/D,YACE,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,yBAAyB,CAAC,SAAS,CAAC,CAAC;IACnE,CAAC;CACF;AAPD,8DAOC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\n\n/**\n * Thrown when a PVT sequence encounters discontinuity and interrupts the sequence.\n */\nexport class PvtDiscontinuityException extends MotionLibException {\n constructor(\n message: string\n ) {\n super(message);\n Object.setPrototypeOf(this, PvtDiscontinuityException.prototype);\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { MotionLibException } from './motion_lib_exception';
|
|
3
|
+
import { PvtExecutionExceptionData } from './pvt_execution_exception_data';
|
|
4
|
+
/**
|
|
5
|
+
* Thrown when a PVT sequence motion fails.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PvtExecutionException extends MotionLibException {
|
|
8
|
+
/**
|
|
9
|
+
* Additional data for PvtExecutionException
|
|
10
|
+
*/
|
|
11
|
+
get details(): PvtExecutionExceptionData;
|
|
12
|
+
private _details;
|
|
13
|
+
constructor(message: string, customData: Buffer | PvtExecutionExceptionData);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtExecutionException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
const main_pb_1 = require("../protobufs/main_pb");
|
|
8
|
+
const pvt_execution_exception_data_1 = require("./pvt_execution_exception_data");
|
|
9
|
+
/**
|
|
10
|
+
* Thrown when a PVT sequence motion fails.
|
|
11
|
+
*/
|
|
12
|
+
class PvtExecutionException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for PvtExecutionException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
19
|
+
constructor(message, customData) {
|
|
20
|
+
super(message);
|
|
21
|
+
Object.setPrototypeOf(this, PvtExecutionException.prototype);
|
|
22
|
+
if (Buffer.isBuffer(customData)) {
|
|
23
|
+
const protobufObj = main_pb_1.PvtExecutionExceptionData.deserializeBinary(customData);
|
|
24
|
+
this._details = pvt_execution_exception_data_1.PvtExecutionExceptionData.fromProtobuf(protobufObj.toObject());
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this._details = customData;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.PvtExecutionException = PvtExecutionException;
|
|
32
|
+
//# sourceMappingURL=pvt_execution_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_execution_exception.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_execution_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAuF;AACvF,iFAA2E;AAE3E;;GAEG;AACH,MAAa,qBAAsB,SAAQ,yCAAkB;IAC3D;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,YACE,OAAe,EACf,UAA8C;QAE9C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;QAE7D,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,mCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,wDAAyB,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SAChF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAtBD,sDAsBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { PvtExecutionExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { PvtExecutionExceptionData } from './pvt_execution_exception_data';\n\n/**\n * Thrown when a PVT sequence motion fails.\n */\nexport class PvtExecutionException extends MotionLibException {\n /**\n * Additional data for PvtExecutionException\n */\n public get details(): PvtExecutionExceptionData {\n return this._details;\n }\n private _details: PvtExecutionExceptionData;\n constructor(\n message: string,\n customData: Buffer | PvtExecutionExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, PvtExecutionException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = PvtExecutionExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InvalidPvtPoint } from './invalid_pvt_point';
|
|
2
|
+
/**
|
|
3
|
+
* Contains additional data for PvtExecutionException.
|
|
4
|
+
*/
|
|
5
|
+
export interface PvtExecutionExceptionData {
|
|
6
|
+
/**
|
|
7
|
+
* The error flag that caused the exception.
|
|
8
|
+
*/
|
|
9
|
+
errorFlag: string;
|
|
10
|
+
/**
|
|
11
|
+
* The reason for the exception.
|
|
12
|
+
*/
|
|
13
|
+
reason: string;
|
|
14
|
+
/**
|
|
15
|
+
* A list of points that cause the error (if applicable).
|
|
16
|
+
*/
|
|
17
|
+
invalidPoints: InvalidPvtPoint[];
|
|
18
|
+
}
|
|
19
|
+
export declare namespace PvtExecutionExceptionData {
|
|
20
|
+
const __type = "PvtExecutionExceptionData";
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtExecutionExceptionData = void 0;
|
|
6
|
+
const invalid_pvt_point_1 = require("./invalid_pvt_point");
|
|
7
|
+
var PvtExecutionExceptionData;
|
|
8
|
+
(function (PvtExecutionExceptionData) {
|
|
9
|
+
PvtExecutionExceptionData.__type = 'PvtExecutionExceptionData';
|
|
10
|
+
/** @internal */
|
|
11
|
+
function fromProtobuf(pbData) {
|
|
12
|
+
return {
|
|
13
|
+
errorFlag: pbData.errorFlag,
|
|
14
|
+
reason: pbData.reason,
|
|
15
|
+
invalidPoints: pbData.invalidPointsList.map(item => invalid_pvt_point_1.InvalidPvtPoint.fromProtobuf(item)),
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
PvtExecutionExceptionData.fromProtobuf = fromProtobuf;
|
|
19
|
+
})(PvtExecutionExceptionData = exports.PvtExecutionExceptionData || (exports.PvtExecutionExceptionData = {}));
|
|
20
|
+
//# sourceMappingURL=pvt_execution_exception_data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_execution_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_execution_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAGtD,2DAAsD;AAuBtD,IAAiB,yBAAyB,CAWzC;AAXD,WAAiB,yBAAyB;IAC3B,gCAAM,GAAG,2BAA2B,CAAC;IAElD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAkD;QAC7E,OAAO;YACL,SAAS,EAAE,MAAM,CAAC,SAAS;YAC3B,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,aAAa,EAAE,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,mCAAe,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SACxF,CAAC;IACJ,CAAC;IANe,sCAAY,eAM3B,CAAA;AACH,CAAC,EAXgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAWzC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { InvalidPvtPoint } from './invalid_pvt_point';\n\n/**\n * Contains additional data for PvtExecutionException.\n */\nexport interface PvtExecutionExceptionData {\n /**\n * The error flag that caused the exception.\n */\n errorFlag: string;\n\n /**\n * The reason for the exception.\n */\n reason: string;\n\n /**\n * A list of points that cause the error (if applicable).\n */\n invalidPoints: InvalidPvtPoint[];\n\n}\n\nexport namespace PvtExecutionExceptionData {\n export const __type = 'PvtExecutionExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.PvtExecutionExceptionData.AsObject): PvtExecutionExceptionData {\n return {\n errorFlag: pbData.errorFlag,\n reason: pbData.reason,\n invalidPoints: pbData.invalidPointsList.map(item => InvalidPvtPoint.fromProtobuf(item)),\n };\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MotionLibException } from './motion_lib_exception';
|
|
2
|
+
/**
|
|
3
|
+
* Thrown when an operation is not supported by a mode the PVT sequence is currently set up in.
|
|
4
|
+
*/
|
|
5
|
+
export declare class PvtModeException extends MotionLibException {
|
|
6
|
+
constructor(message: string);
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtModeException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
/**
|
|
8
|
+
* Thrown when an operation is not supported by a mode the PVT sequence is currently set up in.
|
|
9
|
+
*/
|
|
10
|
+
class PvtModeException extends motion_lib_exception_1.MotionLibException {
|
|
11
|
+
constructor(message) {
|
|
12
|
+
super(message);
|
|
13
|
+
Object.setPrototypeOf(this, PvtModeException.prototype);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PvtModeException = PvtModeException;
|
|
17
|
+
//# sourceMappingURL=pvt_mode_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_mode_exception.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_mode_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAE5D;;GAEG;AACH,MAAa,gBAAiB,SAAQ,yCAAkB;IACtD,YACE,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,4CAOC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\n\n/**\n * Thrown when an operation is not supported by a mode the PVT sequence is currently set up in.\n */\nexport class PvtModeException extends MotionLibException {\n constructor(\n message: string\n ) {\n super(message);\n Object.setPrototypeOf(this, PvtModeException.prototype);\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { MotionLibException } from './motion_lib_exception';
|
|
3
|
+
import { PvtMovementFailedExceptionData } from './pvt_movement_failed_exception_data';
|
|
4
|
+
/**
|
|
5
|
+
* Thrown when a device registers a fault during PVT movement.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PvtMovementFailedException extends MotionLibException {
|
|
8
|
+
/**
|
|
9
|
+
* Additional data for PvtMovementFailedException
|
|
10
|
+
*/
|
|
11
|
+
get details(): PvtMovementFailedExceptionData;
|
|
12
|
+
private _details;
|
|
13
|
+
constructor(message: string, customData: Buffer | PvtMovementFailedExceptionData);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtMovementFailedException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
const main_pb_1 = require("../protobufs/main_pb");
|
|
8
|
+
const pvt_movement_failed_exception_data_1 = require("./pvt_movement_failed_exception_data");
|
|
9
|
+
/**
|
|
10
|
+
* Thrown when a device registers a fault during PVT movement.
|
|
11
|
+
*/
|
|
12
|
+
class PvtMovementFailedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for PvtMovementFailedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
19
|
+
constructor(message, customData) {
|
|
20
|
+
super(message);
|
|
21
|
+
Object.setPrototypeOf(this, PvtMovementFailedException.prototype);
|
|
22
|
+
if (Buffer.isBuffer(customData)) {
|
|
23
|
+
const protobufObj = main_pb_1.PvtMovementFailedExceptionData.deserializeBinary(customData);
|
|
24
|
+
this._details = pvt_movement_failed_exception_data_1.PvtMovementFailedExceptionData.fromProtobuf(protobufObj.toObject());
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this._details = customData;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.PvtMovementFailedException = PvtMovementFailedException;
|
|
32
|
+
//# sourceMappingURL=pvt_movement_failed_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_movement_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_movement_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA4F;AAC5F,6FAAsF;AAEtF;;GAEG;AACH,MAAa,0BAA2B,SAAQ,yCAAkB;IAChE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,YACE,OAAe,EACf,UAAmD;QAEnD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,CAAC;QAElE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,wCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,mEAA8B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACrF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAtBD,gEAsBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { PvtMovementFailedExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { PvtMovementFailedExceptionData } from './pvt_movement_failed_exception_data';\n\n/**\n * Thrown when a device registers a fault during PVT movement.\n */\nexport class PvtMovementFailedException extends MotionLibException {\n /**\n * Additional data for PvtMovementFailedException\n */\n public get details(): PvtMovementFailedExceptionData {\n return this._details;\n }\n private _details: PvtMovementFailedExceptionData;\n constructor(\n message: string,\n customData: Buffer | PvtMovementFailedExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, PvtMovementFailedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = PvtMovementFailedExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains additional data for PvtMovementFailedException.
|
|
3
|
+
*/
|
|
4
|
+
export interface PvtMovementFailedExceptionData {
|
|
5
|
+
/**
|
|
6
|
+
* The full list of warnings.
|
|
7
|
+
*/
|
|
8
|
+
warnings: string[];
|
|
9
|
+
/**
|
|
10
|
+
* The reason for the Exception.
|
|
11
|
+
*/
|
|
12
|
+
reason: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace PvtMovementFailedExceptionData {
|
|
15
|
+
const __type = "PvtMovementFailedExceptionData";
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtMovementFailedExceptionData = void 0;
|
|
6
|
+
var PvtMovementFailedExceptionData;
|
|
7
|
+
(function (PvtMovementFailedExceptionData) {
|
|
8
|
+
PvtMovementFailedExceptionData.__type = 'PvtMovementFailedExceptionData';
|
|
9
|
+
/** @internal */
|
|
10
|
+
function fromProtobuf(pbData) {
|
|
11
|
+
return {
|
|
12
|
+
warnings: pbData.warningsList,
|
|
13
|
+
reason: pbData.reason,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
PvtMovementFailedExceptionData.fromProtobuf = fromProtobuf;
|
|
17
|
+
})(PvtMovementFailedExceptionData = exports.PvtMovementFailedExceptionData || (exports.PvtMovementFailedExceptionData = {}));
|
|
18
|
+
//# sourceMappingURL=pvt_movement_failed_exception_data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_movement_failed_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_movement_failed_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAoBtD,IAAiB,8BAA8B,CAU9C;AAVD,WAAiB,8BAA8B;IAChC,qCAAM,GAAG,gCAAgC,CAAC;IAEvD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAuD;QAClF,OAAO;YACL,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;IACJ,CAAC;IALe,2CAAY,eAK3B,CAAA;AACH,CAAC,EAVgB,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAU9C","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * Contains additional data for PvtMovementFailedException.\n */\nexport interface PvtMovementFailedExceptionData {\n /**\n * The full list of warnings.\n */\n warnings: string[];\n\n /**\n * The reason for the Exception.\n */\n reason: string;\n\n}\n\nexport namespace PvtMovementFailedExceptionData {\n export const __type = 'PvtMovementFailedExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.PvtMovementFailedExceptionData.AsObject): PvtMovementFailedExceptionData {\n return {\n warnings: pbData.warningsList,\n reason: pbData.reason,\n };\n }\n}\n"]}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import { MotionLibException } from './motion_lib_exception';
|
|
3
|
+
import { PvtMovementInterruptedExceptionData } from './pvt_movement_interrupted_exception_data';
|
|
4
|
+
/**
|
|
5
|
+
* Thrown when ongoing PVT movement is interrupted by another command or user input.
|
|
6
|
+
*/
|
|
7
|
+
export declare class PvtMovementInterruptedException extends MotionLibException {
|
|
8
|
+
/**
|
|
9
|
+
* Additional data for PvtMovementInterruptedException
|
|
10
|
+
*/
|
|
11
|
+
get details(): PvtMovementInterruptedExceptionData;
|
|
12
|
+
private _details;
|
|
13
|
+
constructor(message: string, customData: Buffer | PvtMovementInterruptedExceptionData);
|
|
14
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtMovementInterruptedException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
const main_pb_1 = require("../protobufs/main_pb");
|
|
8
|
+
const pvt_movement_interrupted_exception_data_1 = require("./pvt_movement_interrupted_exception_data");
|
|
9
|
+
/**
|
|
10
|
+
* Thrown when ongoing PVT movement is interrupted by another command or user input.
|
|
11
|
+
*/
|
|
12
|
+
class PvtMovementInterruptedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for PvtMovementInterruptedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
19
|
+
constructor(message, customData) {
|
|
20
|
+
super(message);
|
|
21
|
+
Object.setPrototypeOf(this, PvtMovementInterruptedException.prototype);
|
|
22
|
+
if (Buffer.isBuffer(customData)) {
|
|
23
|
+
const protobufObj = main_pb_1.PvtMovementInterruptedExceptionData.deserializeBinary(customData);
|
|
24
|
+
this._details = pvt_movement_interrupted_exception_data_1.PvtMovementInterruptedExceptionData.fromProtobuf(protobufObj.toObject());
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this._details = customData;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.PvtMovementInterruptedException = PvtMovementInterruptedException;
|
|
32
|
+
//# sourceMappingURL=pvt_movement_interrupted_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_movement_interrupted_exception.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_movement_interrupted_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAiG;AACjG,uGAAgG;AAEhG;;GAEG;AACH,MAAa,+BAAgC,SAAQ,yCAAkB;IACrE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAED,YACE,OAAe,EACf,UAAwD;QAExD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,+BAA+B,CAAC,SAAS,CAAC,CAAC;QAEvE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,6CAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,6EAAmC,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SAC1F;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAtBD,0EAsBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { PvtMovementInterruptedExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { PvtMovementInterruptedExceptionData } from './pvt_movement_interrupted_exception_data';\n\n/**\n * Thrown when ongoing PVT movement is interrupted by another command or user input.\n */\nexport class PvtMovementInterruptedException extends MotionLibException {\n /**\n * Additional data for PvtMovementInterruptedException\n */\n public get details(): PvtMovementInterruptedExceptionData {\n return this._details;\n }\n private _details: PvtMovementInterruptedExceptionData;\n constructor(\n message: string,\n customData: Buffer | PvtMovementInterruptedExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, PvtMovementInterruptedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = PvtMovementInterruptedExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contains additional data for PvtMovementInterruptedException.
|
|
3
|
+
*/
|
|
4
|
+
export interface PvtMovementInterruptedExceptionData {
|
|
5
|
+
/**
|
|
6
|
+
* The full list of warnings.
|
|
7
|
+
*/
|
|
8
|
+
warnings: string[];
|
|
9
|
+
/**
|
|
10
|
+
* The reason for the Exception.
|
|
11
|
+
*/
|
|
12
|
+
reason: string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace PvtMovementInterruptedExceptionData {
|
|
15
|
+
const __type = "PvtMovementInterruptedExceptionData";
|
|
16
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtMovementInterruptedExceptionData = void 0;
|
|
6
|
+
var PvtMovementInterruptedExceptionData;
|
|
7
|
+
(function (PvtMovementInterruptedExceptionData) {
|
|
8
|
+
PvtMovementInterruptedExceptionData.__type = 'PvtMovementInterruptedExceptionData';
|
|
9
|
+
/** @internal */
|
|
10
|
+
function fromProtobuf(pbData) {
|
|
11
|
+
return {
|
|
12
|
+
warnings: pbData.warningsList,
|
|
13
|
+
reason: pbData.reason,
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
PvtMovementInterruptedExceptionData.fromProtobuf = fromProtobuf;
|
|
17
|
+
})(PvtMovementInterruptedExceptionData = exports.PvtMovementInterruptedExceptionData || (exports.PvtMovementInterruptedExceptionData = {}));
|
|
18
|
+
//# sourceMappingURL=pvt_movement_interrupted_exception_data.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_movement_interrupted_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_movement_interrupted_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAoBtD,IAAiB,mCAAmC,CAUnD;AAVD,WAAiB,mCAAmC;IACrC,0CAAM,GAAG,qCAAqC,CAAC;IAE5D,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAA4D;QACvF,OAAO;YACL,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,MAAM,EAAE,MAAM,CAAC,MAAM;SACtB,CAAC;IACJ,CAAC;IALe,gDAAY,eAK3B,CAAA;AACH,CAAC,EAVgB,mCAAmC,GAAnC,2CAAmC,KAAnC,2CAAmC,QAUnD","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\n\n/**\n * Contains additional data for PvtMovementInterruptedException.\n */\nexport interface PvtMovementInterruptedExceptionData {\n /**\n * The full list of warnings.\n */\n warnings: string[];\n\n /**\n * The reason for the Exception.\n */\n reason: string;\n\n}\n\nexport namespace PvtMovementInterruptedExceptionData {\n export const __type = 'PvtMovementInterruptedExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.PvtMovementInterruptedExceptionData.AsObject): PvtMovementInterruptedExceptionData {\n return {\n warnings: pbData.warningsList,\n reason: pbData.reason,\n };\n }\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.PvtSetupFailedException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
/**
|
|
8
|
+
* Thrown when setting up a PVT sequence fails.
|
|
9
|
+
*/
|
|
10
|
+
class PvtSetupFailedException extends motion_lib_exception_1.MotionLibException {
|
|
11
|
+
constructor(message) {
|
|
12
|
+
super(message);
|
|
13
|
+
Object.setPrototypeOf(this, PvtSetupFailedException.prototype);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.PvtSetupFailedException = PvtSetupFailedException;
|
|
17
|
+
//# sourceMappingURL=pvt_setup_failed_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pvt_setup_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/pvt_setup_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAE5D;;GAEG;AACH,MAAa,uBAAwB,SAAQ,yCAAkB;IAC7D,YACE,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IACjE,CAAC;CACF;AAPD,0DAOC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\n\n/**\n * Thrown when setting up a PVT sequence fails.\n */\nexport class PvtSetupFailedException extends MotionLibException {\n constructor(\n message: string\n ) {\n super(message);\n Object.setPrototypeOf(this, PvtSetupFailedException.prototype);\n }\n}\n"]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.StreamDiscontinuityException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
/**
|
|
8
|
+
* Thrown when a stream encounters discontinuity and interrupts the movement.
|
|
9
|
+
*/
|
|
10
|
+
class StreamDiscontinuityException extends motion_lib_exception_1.MotionLibException {
|
|
11
|
+
constructor(message) {
|
|
12
|
+
super(message);
|
|
13
|
+
Object.setPrototypeOf(this, StreamDiscontinuityException.prototype);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.StreamDiscontinuityException = StreamDiscontinuityException;
|
|
17
|
+
//# sourceMappingURL=stream_discontinuity_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stream_discontinuity_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_discontinuity_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAE5D;;GAEG;AACH,MAAa,4BAA6B,SAAQ,yCAAkB;IAClE,YACE,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,4BAA4B,CAAC,SAAS,CAAC,CAAC;IACtE,CAAC;CACF;AAPD,oEAOC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\n\n/**\n * Thrown when a stream encounters discontinuity and interrupts the movement.\n */\nexport class StreamDiscontinuityException extends MotionLibException {\n constructor(\n message: string\n ) {\n super(message);\n Object.setPrototypeOf(this, StreamDiscontinuityException.prototype);\n }\n}\n"]}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { MotionLibException } from './motion_lib_exception';
|
|
2
|
+
/**
|
|
3
|
+
* Thrown for various timeouts across the library excluding request to a device (see RequestTimeoutException).
|
|
4
|
+
*/
|
|
5
|
+
export declare class TimeoutException extends MotionLibException {
|
|
6
|
+
constructor(message: string);
|
|
7
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
|
+
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TimeoutException = void 0;
|
|
6
|
+
const motion_lib_exception_1 = require("./motion_lib_exception");
|
|
7
|
+
/**
|
|
8
|
+
* Thrown for various timeouts across the library excluding request to a device (see RequestTimeoutException).
|
|
9
|
+
*/
|
|
10
|
+
class TimeoutException extends motion_lib_exception_1.MotionLibException {
|
|
11
|
+
constructor(message) {
|
|
12
|
+
super(message);
|
|
13
|
+
Object.setPrototypeOf(this, TimeoutException.prototype);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
exports.TimeoutException = TimeoutException;
|
|
17
|
+
//# sourceMappingURL=timeout_exception.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeout_exception.js","sourceRoot":"","sources":["../../../src/exceptions/timeout_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAE5D;;GAEG;AACH,MAAa,gBAAiB,SAAQ,yCAAkB;IACtD,YACE,OAAe;QAEf,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IAC1D,CAAC;CACF;AAPD,4CAOC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\n\n/**\n * Thrown for various timeouts across the library excluding request to a device (see RequestTimeoutException).\n */\nexport class TimeoutException extends MotionLibException {\n constructor(\n message: string\n ) {\n super(message);\n Object.setPrototypeOf(this, TimeoutException.prototype);\n }\n}\n"]}
|
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
|
|
3
3
|
// ============= DO NOT EDIT DIRECTLY ============= //
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
4
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
28
|
exports.FirmwareVersion = void 0;
|
|
29
|
+
const gateway = __importStar(require("./gateway"));
|
|
6
30
|
var FirmwareVersion;
|
|
7
31
|
(function (FirmwareVersion) {
|
|
8
32
|
FirmwareVersion.__type = 'FirmwareVersion';
|
|
@@ -15,5 +39,17 @@ var FirmwareVersion;
|
|
|
15
39
|
};
|
|
16
40
|
}
|
|
17
41
|
FirmwareVersion.fromProtobuf = fromProtobuf;
|
|
42
|
+
/** @internal */
|
|
43
|
+
function toProtobuf(source) {
|
|
44
|
+
const pbData = new gateway.FirmwareVersion();
|
|
45
|
+
if (source == null) {
|
|
46
|
+
return pbData;
|
|
47
|
+
}
|
|
48
|
+
pbData.setMajor(source.major);
|
|
49
|
+
pbData.setMinor(source.minor);
|
|
50
|
+
pbData.setBuild(source.build);
|
|
51
|
+
return pbData;
|
|
52
|
+
}
|
|
53
|
+
FirmwareVersion.toProtobuf = toProtobuf;
|
|
18
54
|
})(FirmwareVersion = exports.FirmwareVersion || (exports.FirmwareVersion = {}));
|
|
19
55
|
//# sourceMappingURL=firmware_version.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"firmware_version.js","sourceRoot":"","sources":["../../src/firmware_version.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD
|
|
1
|
+
{"version":3,"file":"firmware_version.js","sourceRoot":"","sources":["../../src/firmware_version.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtD,mDAAqC;AAuBrC,IAAiB,eAAe,CAuB/B;AAvBD,WAAiB,eAAe;IACjB,sBAAM,GAAG,iBAAiB,CAAC;IAExC,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAwC;QACnE,OAAO;YACL,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;YACnB,KAAK,EAAE,MAAM,CAAC,KAAK;SACpB,CAAC;IACJ,CAAC;IANe,4BAAY,eAM3B,CAAA;IACD,gBAAgB;IAChB,SAAgB,UAAU,CAAC,MAA0C;QACnE,MAAM,MAAM,GAAG,IAAI,OAAO,CAAC,eAAe,EAAE,CAAC;QAC7C,IAAI,MAAM,IAAI,IAAI,EAAE;YAClB,OAAO,MAAM,CAAC;SACf;QAED,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9B,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9B,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;QAC9B,OAAO,MAAM,CAAC;IAChB,CAAC;IAVe,0BAAU,aAUzB,CAAA;AACH,CAAC,EAvBgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuB/B","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from './gateway';\n\n/**\n * Class representing version of firmware in the controller.\n */\nexport interface FirmwareVersion {\n /**\n * Major version number.\n */\n major: number;\n\n /**\n * Minor version number.\n */\n minor: number;\n\n /**\n * Build version number.\n */\n build: number;\n\n}\n\nexport namespace FirmwareVersion {\n export const __type = 'FirmwareVersion';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.FirmwareVersion.AsObject): FirmwareVersion {\n return {\n major: pbData.major,\n minor: pbData.minor,\n build: pbData.build,\n };\n }\n /** @internal */\n export function toProtobuf(source: FirmwareVersion | null | undefined): gateway.FirmwareVersion {\n const pbData = new gateway.FirmwareVersion();\n if (source == null) {\n return pbData;\n }\n\n pbData.setMajor(source.major);\n pbData.setMinor(source.minor);\n pbData.setBuild(source.build);\n return pbData;\n }\n}\n"]}
|