@zaber/motion 3.3.0 → 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.
Files changed (73) hide show
  1. package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
  2. package/dist/lib/ascii/device.d.ts +14 -0
  3. package/dist/lib/ascii/device.js +24 -0
  4. package/dist/lib/ascii/device.js.map +1 -1
  5. package/dist/lib/ascii/index.d.ts +5 -0
  6. package/dist/lib/ascii/index.js +11 -1
  7. package/dist/lib/ascii/index.js.map +1 -1
  8. package/dist/lib/ascii/pvt_axis_definition.d.ts +17 -0
  9. package/dist/lib/ascii/pvt_axis_definition.js +53 -0
  10. package/dist/lib/ascii/pvt_axis_definition.js.map +1 -0
  11. package/dist/lib/ascii/pvt_axis_type.d.ts +7 -0
  12. package/dist/lib/ascii/pvt_axis_type.js +14 -0
  13. package/dist/lib/ascii/pvt_axis_type.js.map +1 -0
  14. package/dist/lib/ascii/pvt_buffer.d.ts +28 -0
  15. package/dist/lib/ascii/pvt_buffer.js +78 -0
  16. package/dist/lib/ascii/pvt_buffer.js.map +1 -0
  17. package/dist/lib/ascii/pvt_mode.d.ts +8 -0
  18. package/dist/lib/ascii/pvt_mode.js +15 -0
  19. package/dist/lib/ascii/pvt_mode.js.map +1 -0
  20. package/dist/lib/ascii/pvt_sequence.d.ts +178 -0
  21. package/dist/lib/ascii/pvt_sequence.js +407 -0
  22. package/dist/lib/ascii/pvt_sequence.js.map +1 -0
  23. package/dist/lib/ascii/stream.d.ts +13 -5
  24. package/dist/lib/ascii/stream.js +25 -5
  25. package/dist/lib/ascii/stream.js.map +1 -1
  26. package/dist/lib/ascii/stream_buffer.d.ts +1 -1
  27. package/dist/lib/ascii/stream_buffer.js +1 -1
  28. package/dist/lib/ascii/stream_buffer.js.map +1 -1
  29. package/dist/lib/ascii_ns.d.ts +10 -0
  30. package/dist/lib/ascii_ns.js +5 -0
  31. package/dist/lib/ascii_ns.js.map +1 -1
  32. package/dist/lib/exceptions/index.d.ts +11 -0
  33. package/dist/lib/exceptions/index.js +24 -2
  34. package/dist/lib/exceptions/index.js.map +1 -1
  35. package/dist/lib/exceptions/invalid_pvt_point.d.ts +16 -0
  36. package/dist/lib/exceptions/invalid_pvt_point.js +18 -0
  37. package/dist/lib/exceptions/invalid_pvt_point.js.map +1 -0
  38. package/dist/lib/exceptions/pvt_discontinuity_exception.d.ts +7 -0
  39. package/dist/lib/exceptions/pvt_discontinuity_exception.js +17 -0
  40. package/dist/lib/exceptions/pvt_discontinuity_exception.js.map +1 -0
  41. package/dist/lib/exceptions/pvt_execution_exception.d.ts +14 -0
  42. package/dist/lib/exceptions/pvt_execution_exception.js +32 -0
  43. package/dist/lib/exceptions/pvt_execution_exception.js.map +1 -0
  44. package/dist/lib/exceptions/pvt_execution_exception_data.d.ts +21 -0
  45. package/dist/lib/exceptions/pvt_execution_exception_data.js +20 -0
  46. package/dist/lib/exceptions/pvt_execution_exception_data.js.map +1 -0
  47. package/dist/lib/exceptions/pvt_mode_exception.d.ts +7 -0
  48. package/dist/lib/exceptions/pvt_mode_exception.js +17 -0
  49. package/dist/lib/exceptions/pvt_mode_exception.js.map +1 -0
  50. package/dist/lib/exceptions/pvt_movement_failed_exception.d.ts +14 -0
  51. package/dist/lib/exceptions/pvt_movement_failed_exception.js +32 -0
  52. package/dist/lib/exceptions/pvt_movement_failed_exception.js.map +1 -0
  53. package/dist/lib/exceptions/pvt_movement_failed_exception_data.d.ts +16 -0
  54. package/dist/lib/exceptions/pvt_movement_failed_exception_data.js +18 -0
  55. package/dist/lib/exceptions/pvt_movement_failed_exception_data.js.map +1 -0
  56. package/dist/lib/exceptions/pvt_movement_interrupted_exception.d.ts +14 -0
  57. package/dist/lib/exceptions/pvt_movement_interrupted_exception.js +32 -0
  58. package/dist/lib/exceptions/pvt_movement_interrupted_exception.js.map +1 -0
  59. package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.d.ts +16 -0
  60. package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.js +18 -0
  61. package/dist/lib/exceptions/pvt_movement_interrupted_exception_data.js.map +1 -0
  62. package/dist/lib/exceptions/pvt_setup_failed_exception.d.ts +7 -0
  63. package/dist/lib/exceptions/pvt_setup_failed_exception.js +17 -0
  64. package/dist/lib/exceptions/pvt_setup_failed_exception.js.map +1 -0
  65. package/dist/lib/exceptions/stream_discontinuity_exception.d.ts +7 -0
  66. package/dist/lib/exceptions/stream_discontinuity_exception.js +17 -0
  67. package/dist/lib/exceptions/stream_discontinuity_exception.js.map +1 -0
  68. package/dist/lib/gateway/convert_exceptions.js +7 -0
  69. package/dist/lib/gateway/convert_exceptions.js.map +1 -1
  70. package/dist/lib/protobufs/main_pb.d.ts +304 -0
  71. package/dist/lib/protobufs/main_pb.js +3522 -1240
  72. package/dist/lib/protobufs/main_pb.js.map +1 -1
  73. package/package.json +31 -1
@@ -2,8 +2,8 @@
2
2
  // ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //
3
3
  // ============= DO NOT EDIT DIRECTLY ============= //
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.CommandTooLongExceptionData = exports.CommandFailedExceptionData = exports.BinaryCommandFailedExceptionData = exports.MotionLibException = exports.UnknownRequestException = exports.TransportAlreadyUsedException = exports.TimeoutException = exports.StreamSetupFailedException = exports.StreamMovementInterruptedException = exports.StreamMovementFailedException = exports.StreamModeException = exports.StreamExecutionException = exports.SettingNotFoundException = exports.SetPeripheralStateFailedException = exports.SetDeviceStateFailedException = exports.SerialPortBusyException = exports.RequestTimeoutException = exports.OutOfRequestIdsException = exports.OsFailedException = exports.NotSupportedException = exports.NoValueForKeyException = exports.NoDeviceFoundException = exports.MovementInterruptedException = exports.MovementFailedException = exports.LockstepNotEnabledException = exports.LockstepEnabledException = exports.IoFailedException = exports.IoChannelOutOfRangeException = exports.InvalidResponseException = exports.InvalidParkStateException = exports.InvalidPacketException = exports.InvalidOperationException = exports.InvalidDataException = exports.InvalidArgumentException = exports.InternalErrorException = exports.GCodeSyntaxException = exports.GCodeExecutionException = exports.DeviceNotIdentifiedException = exports.DeviceFailedException = exports.DeviceDetectionFailedException = exports.DeviceDbFailedException = exports.DeviceBusyException = exports.DeviceAddressConflictException = exports.ConversionFailedException = exports.ConnectionFailedException = exports.ConnectionClosedException = exports.CommandTooLongException = exports.CommandPreemptedException = exports.CommandFailedException = exports.BinaryCommandFailedException = void 0;
6
- exports.StreamMovementInterruptedExceptionData = exports.StreamMovementFailedExceptionData = exports.StreamExecutionExceptionData = exports.SetPeripheralStateExceptionData = exports.SetDeviceStateExceptionData = exports.MovementInterruptedExceptionData = exports.MovementFailedExceptionData = exports.InvalidResponseExceptionData = exports.InvalidPacketExceptionData = exports.GCodeSyntaxExceptionData = exports.GCodeExecutionExceptionData = exports.DeviceDbFailedExceptionData = exports.DeviceAddressConflictExceptionData = void 0;
5
+ exports.StreamSetupFailedException = exports.StreamMovementInterruptedException = exports.StreamMovementFailedException = exports.StreamModeException = exports.StreamExecutionException = exports.StreamDiscontinuityException = exports.SettingNotFoundException = exports.SetPeripheralStateFailedException = exports.SetDeviceStateFailedException = exports.SerialPortBusyException = exports.RequestTimeoutException = exports.PvtSetupFailedException = exports.PvtMovementInterruptedException = exports.PvtMovementFailedException = exports.PvtModeException = exports.PvtExecutionException = exports.PvtDiscontinuityException = exports.OutOfRequestIdsException = exports.OsFailedException = exports.NotSupportedException = exports.NoValueForKeyException = exports.NoDeviceFoundException = exports.MovementInterruptedException = exports.MovementFailedException = exports.LockstepNotEnabledException = exports.LockstepEnabledException = exports.IoFailedException = exports.IoChannelOutOfRangeException = exports.InvalidResponseException = exports.InvalidParkStateException = exports.InvalidPacketException = exports.InvalidOperationException = exports.InvalidDataException = exports.InvalidArgumentException = exports.InternalErrorException = exports.GCodeSyntaxException = exports.GCodeExecutionException = exports.DeviceNotIdentifiedException = exports.DeviceFailedException = exports.DeviceDetectionFailedException = exports.DeviceDbFailedException = exports.DeviceBusyException = exports.DeviceAddressConflictException = exports.ConversionFailedException = exports.ConnectionFailedException = exports.ConnectionClosedException = exports.CommandTooLongException = exports.CommandPreemptedException = exports.CommandFailedException = exports.BinaryCommandFailedException = void 0;
6
+ exports.StreamMovementInterruptedExceptionData = exports.StreamMovementFailedExceptionData = exports.StreamExecutionExceptionData = exports.SetPeripheralStateExceptionData = exports.SetDeviceStateExceptionData = exports.PvtMovementInterruptedExceptionData = exports.PvtMovementFailedExceptionData = exports.PvtExecutionExceptionData = exports.MovementInterruptedExceptionData = exports.MovementFailedExceptionData = exports.InvalidResponseExceptionData = exports.InvalidPvtPoint = exports.InvalidPacketExceptionData = exports.GCodeSyntaxExceptionData = exports.GCodeExecutionExceptionData = exports.DeviceDbFailedExceptionData = exports.DeviceAddressConflictExceptionData = exports.CommandTooLongExceptionData = exports.CommandFailedExceptionData = exports.BinaryCommandFailedExceptionData = exports.MotionLibException = exports.UnknownRequestException = exports.TransportAlreadyUsedException = exports.TimeoutException = void 0;
7
7
  var binary_command_failed_exception_1 = require("./binary_command_failed_exception");
8
8
  Object.defineProperty(exports, "BinaryCommandFailedException", { enumerable: true, get: function () { return binary_command_failed_exception_1.BinaryCommandFailedException; } });
9
9
  var command_failed_exception_1 = require("./command_failed_exception");
@@ -70,6 +70,18 @@ var os_failed_exception_1 = require("./os_failed_exception");
70
70
  Object.defineProperty(exports, "OsFailedException", { enumerable: true, get: function () { return os_failed_exception_1.OsFailedException; } });
71
71
  var out_of_request_ids_exception_1 = require("./out_of_request_ids_exception");
72
72
  Object.defineProperty(exports, "OutOfRequestIdsException", { enumerable: true, get: function () { return out_of_request_ids_exception_1.OutOfRequestIdsException; } });
73
+ var pvt_discontinuity_exception_1 = require("./pvt_discontinuity_exception");
74
+ Object.defineProperty(exports, "PvtDiscontinuityException", { enumerable: true, get: function () { return pvt_discontinuity_exception_1.PvtDiscontinuityException; } });
75
+ var pvt_execution_exception_1 = require("./pvt_execution_exception");
76
+ Object.defineProperty(exports, "PvtExecutionException", { enumerable: true, get: function () { return pvt_execution_exception_1.PvtExecutionException; } });
77
+ var pvt_mode_exception_1 = require("./pvt_mode_exception");
78
+ Object.defineProperty(exports, "PvtModeException", { enumerable: true, get: function () { return pvt_mode_exception_1.PvtModeException; } });
79
+ var pvt_movement_failed_exception_1 = require("./pvt_movement_failed_exception");
80
+ Object.defineProperty(exports, "PvtMovementFailedException", { enumerable: true, get: function () { return pvt_movement_failed_exception_1.PvtMovementFailedException; } });
81
+ var pvt_movement_interrupted_exception_1 = require("./pvt_movement_interrupted_exception");
82
+ Object.defineProperty(exports, "PvtMovementInterruptedException", { enumerable: true, get: function () { return pvt_movement_interrupted_exception_1.PvtMovementInterruptedException; } });
83
+ var pvt_setup_failed_exception_1 = require("./pvt_setup_failed_exception");
84
+ Object.defineProperty(exports, "PvtSetupFailedException", { enumerable: true, get: function () { return pvt_setup_failed_exception_1.PvtSetupFailedException; } });
73
85
  var request_timeout_exception_1 = require("./request_timeout_exception");
74
86
  Object.defineProperty(exports, "RequestTimeoutException", { enumerable: true, get: function () { return request_timeout_exception_1.RequestTimeoutException; } });
75
87
  var serial_port_busy_exception_1 = require("./serial_port_busy_exception");
@@ -80,6 +92,8 @@ var set_peripheral_state_failed_exception_1 = require("./set_peripheral_state_fa
80
92
  Object.defineProperty(exports, "SetPeripheralStateFailedException", { enumerable: true, get: function () { return set_peripheral_state_failed_exception_1.SetPeripheralStateFailedException; } });
81
93
  var setting_not_found_exception_1 = require("./setting_not_found_exception");
82
94
  Object.defineProperty(exports, "SettingNotFoundException", { enumerable: true, get: function () { return setting_not_found_exception_1.SettingNotFoundException; } });
95
+ var stream_discontinuity_exception_1 = require("./stream_discontinuity_exception");
96
+ Object.defineProperty(exports, "StreamDiscontinuityException", { enumerable: true, get: function () { return stream_discontinuity_exception_1.StreamDiscontinuityException; } });
83
97
  var stream_execution_exception_1 = require("./stream_execution_exception");
84
98
  Object.defineProperty(exports, "StreamExecutionException", { enumerable: true, get: function () { return stream_execution_exception_1.StreamExecutionException; } });
85
99
  var stream_mode_exception_1 = require("./stream_mode_exception");
@@ -114,12 +128,20 @@ var g_code_syntax_exception_data_1 = require("./g_code_syntax_exception_data");
114
128
  Object.defineProperty(exports, "GCodeSyntaxExceptionData", { enumerable: true, get: function () { return g_code_syntax_exception_data_1.GCodeSyntaxExceptionData; } });
115
129
  var invalid_packet_exception_data_1 = require("./invalid_packet_exception_data");
116
130
  Object.defineProperty(exports, "InvalidPacketExceptionData", { enumerable: true, get: function () { return invalid_packet_exception_data_1.InvalidPacketExceptionData; } });
131
+ var invalid_pvt_point_1 = require("./invalid_pvt_point");
132
+ Object.defineProperty(exports, "InvalidPvtPoint", { enumerable: true, get: function () { return invalid_pvt_point_1.InvalidPvtPoint; } });
117
133
  var invalid_response_exception_data_1 = require("./invalid_response_exception_data");
118
134
  Object.defineProperty(exports, "InvalidResponseExceptionData", { enumerable: true, get: function () { return invalid_response_exception_data_1.InvalidResponseExceptionData; } });
119
135
  var movement_failed_exception_data_1 = require("./movement_failed_exception_data");
120
136
  Object.defineProperty(exports, "MovementFailedExceptionData", { enumerable: true, get: function () { return movement_failed_exception_data_1.MovementFailedExceptionData; } });
121
137
  var movement_interrupted_exception_data_1 = require("./movement_interrupted_exception_data");
122
138
  Object.defineProperty(exports, "MovementInterruptedExceptionData", { enumerable: true, get: function () { return movement_interrupted_exception_data_1.MovementInterruptedExceptionData; } });
139
+ var pvt_execution_exception_data_1 = require("./pvt_execution_exception_data");
140
+ Object.defineProperty(exports, "PvtExecutionExceptionData", { enumerable: true, get: function () { return pvt_execution_exception_data_1.PvtExecutionExceptionData; } });
141
+ var pvt_movement_failed_exception_data_1 = require("./pvt_movement_failed_exception_data");
142
+ Object.defineProperty(exports, "PvtMovementFailedExceptionData", { enumerable: true, get: function () { return pvt_movement_failed_exception_data_1.PvtMovementFailedExceptionData; } });
143
+ var pvt_movement_interrupted_exception_data_1 = require("./pvt_movement_interrupted_exception_data");
144
+ Object.defineProperty(exports, "PvtMovementInterruptedExceptionData", { enumerable: true, get: function () { return pvt_movement_interrupted_exception_data_1.PvtMovementInterruptedExceptionData; } });
123
145
  var set_device_state_exception_data_1 = require("./set_device_state_exception_data");
124
146
  Object.defineProperty(exports, "SetDeviceStateExceptionData", { enumerable: true, get: function () { return set_device_state_exception_data_1.SetDeviceStateExceptionData; } });
125
147
  var set_peripheral_state_exception_data_1 = require("./set_peripheral_state_exception_data");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/exceptions/index.ts"],"names":[],"mappings":"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","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 { 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 { 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":"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","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,7 @@
1
+ import { MotionLibException } from './motion_lib_exception';
2
+ /**
3
+ * Thrown when setting up a PVT sequence fails.
4
+ */
5
+ export declare class PvtSetupFailedException 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.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,7 @@
1
+ import { MotionLibException } from './motion_lib_exception';
2
+ /**
3
+ * Thrown when a stream encounters discontinuity and interrupts the movement.
4
+ */
5
+ export declare class StreamDiscontinuityException 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.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"]}
@@ -62,11 +62,18 @@ errorMapping.set(main_pb_1.Errors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyExce
62
62
  errorMapping.set(main_pb_1.Errors.NOT_SUPPORTED, exceptions.NotSupportedException);
63
63
  errorMapping.set(main_pb_1.Errors.OS_FAILED, exceptions.OsFailedException);
64
64
  errorMapping.set(main_pb_1.Errors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);
65
+ errorMapping.set(main_pb_1.Errors.PVT_DISCONTINUITY, exceptions.PvtDiscontinuityException);
66
+ errorMapping.set(main_pb_1.Errors.PVT_EXECUTION, exceptions.PvtExecutionException);
67
+ errorMapping.set(main_pb_1.Errors.PVT_MODE, exceptions.PvtModeException);
68
+ errorMapping.set(main_pb_1.Errors.PVT_MOVEMENT_FAILED, exceptions.PvtMovementFailedException);
69
+ errorMapping.set(main_pb_1.Errors.PVT_MOVEMENT_INTERRUPTED, exceptions.PvtMovementInterruptedException);
70
+ errorMapping.set(main_pb_1.Errors.PVT_SETUP_FAILED, exceptions.PvtSetupFailedException);
65
71
  errorMapping.set(main_pb_1.Errors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);
66
72
  errorMapping.set(main_pb_1.Errors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);
67
73
  errorMapping.set(main_pb_1.Errors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);
68
74
  errorMapping.set(main_pb_1.Errors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);
69
75
  errorMapping.set(main_pb_1.Errors.SETTING_NOT_FOUND, exceptions.SettingNotFoundException);
76
+ errorMapping.set(main_pb_1.Errors.STREAM_DISCONTINUITY, exceptions.StreamDiscontinuityException);
70
77
  errorMapping.set(main_pb_1.Errors.STREAM_EXECUTION, exceptions.StreamExecutionException);
71
78
  errorMapping.set(main_pb_1.Errors.STREAM_MODE, exceptions.StreamModeException);
72
79
  errorMapping.set(main_pb_1.Errors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);