@zaber/motion 2.15.0 → 2.15.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/all_axes.js +3 -3
- package/dist/lib/ascii/all_axes.js.map +1 -1
- package/dist/lib/ascii/axis.js +7 -7
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/connection.js +5 -5
- package/dist/lib/ascii/connection.js.map +1 -1
- package/dist/lib/ascii/device.js +10 -10
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/lockstep.js +4 -4
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/oscilloscope.js +3 -3
- package/dist/lib/ascii/oscilloscope.js.map +1 -1
- package/dist/lib/ascii/oscilloscope_data.js +4 -4
- package/dist/lib/ascii/oscilloscope_data.js.map +1 -1
- package/dist/lib/ascii/servo_tuner.js +3 -3
- package/dist/lib/ascii/servo_tuner.js.map +1 -1
- package/dist/lib/ascii/setting_constants.d.ts +135 -71
- package/dist/lib/ascii/setting_constants.js +135 -71
- package/dist/lib/ascii/setting_constants.js.map +1 -1
- package/dist/lib/ascii/stream.js +4 -4
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii/stream_buffer.js +4 -4
- package/dist/lib/ascii/stream_buffer.js.map +1 -1
- package/dist/lib/ascii/transport.js +3 -3
- package/dist/lib/ascii/transport.js.map +1 -1
- package/dist/lib/binary/binary_settings.d.ts +1 -2
- package/dist/lib/binary/binary_settings.js +1 -2
- package/dist/lib/binary/binary_settings.js.map +1 -1
- package/dist/lib/binary/command_code.d.ts +1 -2
- package/dist/lib/binary/command_code.js +0 -1
- package/dist/lib/binary/command_code.js.map +1 -1
- package/dist/lib/binary/connection.js +5 -5
- package/dist/lib/binary/connection.js.map +1 -1
- package/dist/lib/binary/device.js +5 -5
- package/dist/lib/binary/device.js.map +1 -1
- package/dist/lib/binary/reply_code.d.ts +0 -1
- package/dist/lib/binary/reply_code.js +0 -1
- package/dist/lib/binary/reply_code.js.map +1 -1
- package/dist/lib/exceptions/binary_command_failed_exception.js +6 -6
- package/dist/lib/exceptions/binary_command_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/command_failed_exception.js +6 -6
- package/dist/lib/exceptions/command_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/command_too_long_exception.js +6 -6
- package/dist/lib/exceptions/command_too_long_exception.js.map +1 -1
- package/dist/lib/exceptions/device_address_conflict_exception.js +6 -6
- package/dist/lib/exceptions/device_address_conflict_exception.js.map +1 -1
- package/dist/lib/exceptions/device_db_failed_exception.js +6 -6
- package/dist/lib/exceptions/device_db_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/g_code_execution_exception.js +6 -6
- package/dist/lib/exceptions/g_code_execution_exception.js.map +1 -1
- package/dist/lib/exceptions/g_code_syntax_exception.js +6 -6
- package/dist/lib/exceptions/g_code_syntax_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_packet_exception.js +6 -6
- package/dist/lib/exceptions/invalid_packet_exception.js.map +1 -1
- package/dist/lib/exceptions/invalid_response_exception.js +6 -6
- package/dist/lib/exceptions/invalid_response_exception.js.map +1 -1
- package/dist/lib/exceptions/movement_failed_exception.js +6 -6
- package/dist/lib/exceptions/movement_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/movement_interrupted_exception.js +6 -6
- package/dist/lib/exceptions/movement_interrupted_exception.js.map +1 -1
- package/dist/lib/exceptions/set_device_state_exception_data.d.ts +4 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js +1 -0
- package/dist/lib/exceptions/set_device_state_exception_data.js.map +1 -1
- package/dist/lib/exceptions/set_device_state_failed_exception.js +6 -6
- package/dist/lib/exceptions/set_device_state_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_exception_data.d.ts +4 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js +1 -0
- package/dist/lib/exceptions/set_peripheral_state_exception_data.js.map +1 -1
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.js +6 -6
- package/dist/lib/exceptions/set_peripheral_state_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_execution_exception.js +6 -6
- package/dist/lib/exceptions/stream_execution_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_movement_failed_exception.js +6 -6
- package/dist/lib/exceptions/stream_movement_failed_exception.js.map +1 -1
- package/dist/lib/exceptions/stream_movement_interrupted_exception.js +6 -6
- package/dist/lib/exceptions/stream_movement_interrupted_exception.js.map +1 -1
- package/dist/lib/gateway/bindings.d.ts +1 -1
- package/dist/lib/gateway/wasm-exec.js +1 -1
- package/dist/lib/gateway/wasm-exec.js.map +1 -1
- package/dist/lib/gcode/offline_translator.js +4 -4
- package/dist/lib/gcode/offline_translator.js.map +1 -1
- package/dist/lib/gcode/translator.js +4 -4
- package/dist/lib/gcode/translator.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +0 -4
- package/dist/lib/protobufs/main_pb.js +20 -50
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/dist/lib/units.d.ts +2 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"g_code_syntax_exception.js","sourceRoot":"","sources":["../../../src/exceptions/g_code_syntax_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAsF;AACtF,iFAA0E;AAE1E;;GAEG;AACH,MAAa,oBAAqB,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"g_code_syntax_exception.js","sourceRoot":"","sources":["../../../src/exceptions/g_code_syntax_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAsF;AACtF,iFAA0E;AAE1E;;GAEG;AACH,MAAa,oBAAqB,SAAQ,yCAAkB;IAC1D;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAA6C;QAE7C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;QAE5D,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,kCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,uDAAwB,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SAC/E;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,oDAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { GCodeSyntaxExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { GCodeSyntaxExceptionData } from './g_code_syntax_exception_data';\n\n/**\n * Thrown when a block of G-Code cannot be parsed.\n */\nexport class GCodeSyntaxException extends MotionLibException {\n /**\n * Additional data for GCodeSyntaxException\n */\n public get details(): GCodeSyntaxExceptionData {\n return this._details;\n }\n private _details: GCodeSyntaxExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | GCodeSyntaxExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, GCodeSyntaxException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = GCodeSyntaxExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const invalid_packet_exception_data_1 = require("./invalid_packet_exception_data
|
|
|
10
10
|
* Thrown when a packet from a device cannot be parsed.
|
|
11
11
|
*/
|
|
12
12
|
class InvalidPacketException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for InvalidPacketException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, InvalidPacketException.prototype);
|
|
@@ -21,12 +27,6 @@ class InvalidPacketException extends motion_lib_exception_1.MotionLibException {
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for InvalidPacketException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.InvalidPacketException = InvalidPacketException;
|
|
32
32
|
//# sourceMappingURL=invalid_packet_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalid_packet_exception.js","sourceRoot":"","sources":["../../../src/exceptions/invalid_packet_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAwF;AACxF,mFAA6E;AAE7E;;GAEG;AACH,MAAa,sBAAuB,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"invalid_packet_exception.js","sourceRoot":"","sources":["../../../src/exceptions/invalid_packet_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAwF;AACxF,mFAA6E;AAE7E;;GAEG;AACH,MAAa,sBAAuB,SAAQ,yCAAkB;IAC5D;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAA+C;QAE/C,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,sBAAsB,CAAC,SAAS,CAAC,CAAC;QAE9D,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,oCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,0DAA0B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACjF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,wDAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { InvalidPacketExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { InvalidPacketExceptionData } from './invalid_packet_exception_data';\n\n/**\n * Thrown when a packet from a device cannot be parsed.\n */\nexport class InvalidPacketException extends MotionLibException {\n /**\n * Additional data for InvalidPacketException\n */\n public get details(): InvalidPacketExceptionData {\n return this._details;\n }\n private _details: InvalidPacketExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | InvalidPacketExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, InvalidPacketException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = InvalidPacketExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const invalid_response_exception_data_1 = require("./invalid_response_exception_
|
|
|
10
10
|
* Thrown when a device sends a response with unexpected type or data.
|
|
11
11
|
*/
|
|
12
12
|
class InvalidResponseException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for InvalidResponseException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, InvalidResponseException.prototype);
|
|
@@ -21,12 +27,6 @@ class InvalidResponseException extends motion_lib_exception_1.MotionLibException
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for InvalidResponseException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.InvalidResponseException = InvalidResponseException;
|
|
32
32
|
//# sourceMappingURL=invalid_response_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"invalid_response_exception.js","sourceRoot":"","sources":["../../../src/exceptions/invalid_response_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA0F;AAC1F,uFAAiF;AAEjF;;GAEG;AACH,MAAa,wBAAyB,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"invalid_response_exception.js","sourceRoot":"","sources":["../../../src/exceptions/invalid_response_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA0F;AAC1F,uFAAiF;AAEjF;;GAEG;AACH,MAAa,wBAAyB,SAAQ,yCAAkB;IAC9D;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAiD;QAEjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;QAEhE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,sCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,8DAA4B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACnF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,4DAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { InvalidResponseExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { InvalidResponseExceptionData } from './invalid_response_exception_data';\n\n/**\n * Thrown when a device sends a response with unexpected type or data.\n */\nexport class InvalidResponseException extends MotionLibException {\n /**\n * Additional data for InvalidResponseException\n */\n public get details(): InvalidResponseExceptionData {\n return this._details;\n }\n private _details: InvalidResponseExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | InvalidResponseExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, InvalidResponseException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = InvalidResponseExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const movement_failed_exception_data_1 = require("./movement_failed_exception_da
|
|
|
10
10
|
* Thrown when a device registers a fault during movement.
|
|
11
11
|
*/
|
|
12
12
|
class MovementFailedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for MovementFailedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, MovementFailedException.prototype);
|
|
@@ -21,12 +27,6 @@ class MovementFailedException extends motion_lib_exception_1.MotionLibException
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for MovementFailedException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.MovementFailedException = MovementFailedException;
|
|
32
32
|
//# sourceMappingURL=movement_failed_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"movement_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/movement_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAyF;AACzF,qFAA+E;AAE/E;;GAEG;AACH,MAAa,uBAAwB,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"movement_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/movement_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAyF;AACzF,qFAA+E;AAE/E;;GAEG;AACH,MAAa,uBAAwB,SAAQ,yCAAkB;IAC7D;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAgD;QAEhD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;QAE/D,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,qCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,4DAA2B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SAClF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,0DAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { MovementFailedExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { MovementFailedExceptionData } from './movement_failed_exception_data';\n\n/**\n * Thrown when a device registers a fault during movement.\n */\nexport class MovementFailedException extends MotionLibException {\n /**\n * Additional data for MovementFailedException\n */\n public get details(): MovementFailedExceptionData {\n return this._details;\n }\n private _details: MovementFailedExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | MovementFailedExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, MovementFailedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = MovementFailedExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const movement_interrupted_exception_data_1 = require("./movement_interrupted_ex
|
|
|
10
10
|
* Thrown when ongoing movement is interrupted by another command or user input.
|
|
11
11
|
*/
|
|
12
12
|
class MovementInterruptedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for MovementInterruptedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, MovementInterruptedException.prototype);
|
|
@@ -21,12 +27,6 @@ class MovementInterruptedException extends motion_lib_exception_1.MotionLibExcep
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for MovementInterruptedException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.MovementInterruptedException = MovementInterruptedException;
|
|
32
32
|
//# sourceMappingURL=movement_interrupted_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"movement_interrupted_exception.js","sourceRoot":"","sources":["../../../src/exceptions/movement_interrupted_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA8F;AAC9F,+FAAyF;AAEzF;;GAEG;AACH,MAAa,4BAA6B,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"movement_interrupted_exception.js","sourceRoot":"","sources":["../../../src/exceptions/movement_interrupted_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA8F;AAC9F,+FAAyF;AAEzF;;GAEG;AACH,MAAa,4BAA6B,SAAQ,yCAAkB;IAClE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAqD;QAErD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,4BAA4B,CAAC,SAAS,CAAC,CAAC;QAEpE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,0CAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,sEAAgC,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACvF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,oEAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { MovementInterruptedExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { MovementInterruptedExceptionData } from './movement_interrupted_exception_data';\n\n/**\n * Thrown when ongoing movement is interrupted by another command or user input.\n */\nexport class MovementInterruptedException extends MotionLibException {\n /**\n * Additional data for MovementInterruptedException\n */\n public get details(): MovementInterruptedExceptionData {\n return this._details;\n }\n private _details: MovementInterruptedExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | MovementInterruptedExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, MovementInterruptedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = MovementInterruptedExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -23,6 +23,10 @@ export interface SetDeviceStateExceptionData {
|
|
|
23
23
|
* The reasons stored positions could not be set.
|
|
24
24
|
*/
|
|
25
25
|
storedPositions: string[];
|
|
26
|
+
/**
|
|
27
|
+
* The reasons storage could not be set.
|
|
28
|
+
*/
|
|
29
|
+
storage: string[];
|
|
26
30
|
/**
|
|
27
31
|
* Errors for any peripherals that could not be set.
|
|
28
32
|
*/
|
|
@@ -15,6 +15,7 @@ var SetDeviceStateExceptionData;
|
|
|
15
15
|
triggers: pbData.triggersList,
|
|
16
16
|
servoTuning: pbData.servoTuning,
|
|
17
17
|
storedPositions: pbData.storedPositionsList,
|
|
18
|
+
storage: pbData.storageList,
|
|
18
19
|
peripherals: pbData.peripheralsList.map(item => set_peripheral_state_exception_data_1.SetPeripheralStateExceptionData.fromProtobuf(item)),
|
|
19
20
|
};
|
|
20
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set_device_state_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/set_device_state_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAGtD,+FAAwF;
|
|
1
|
+
{"version":3,"file":"set_device_state_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/set_device_state_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAGtD,+FAAwF;AA2CxF,IAAiB,2BAA2B,CAe3C;AAfD,WAAiB,2BAA2B;IAC7B,kCAAM,GAAG,6BAA6B,CAAC;IAEpD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAoD;QAC/E,OAAO;YACL,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,aAAa,EAAE,MAAM,CAAC,iBAAiB;YACvC,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,eAAe,EAAE,MAAM,CAAC,mBAAmB;YAC3C,OAAO,EAAE,MAAM,CAAC,WAAW;YAC3B,WAAW,EAAE,MAAM,CAAC,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,qEAA+B,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SACpG,CAAC;IACJ,CAAC;IAVe,wCAAY,eAU3B,CAAA;AACH,CAAC,EAfgB,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAe3C","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport * as gateway from '../gateway';\nimport { SetPeripheralStateExceptionData } from './set_peripheral_state_exception_data';\n\n/**\n * Contains additional data for a SetDeviceStateFailedException.\n */\nexport interface SetDeviceStateExceptionData {\n /**\n * A list of settings which could not be set.\n */\n settings: string[];\n\n /**\n * The reason the stream buffers could not be set.\n */\n streamBuffers: string[];\n\n /**\n * The reason the triggers could not be set.\n */\n triggers: string[];\n\n /**\n * The reason servo tuning could not be set.\n */\n servoTuning: string;\n\n /**\n * The reasons stored positions could not be set.\n */\n storedPositions: string[];\n\n /**\n * The reasons storage could not be set.\n */\n storage: string[];\n\n /**\n * Errors for any peripherals that could not be set.\n */\n peripherals: SetPeripheralStateExceptionData[];\n\n}\n\nexport namespace SetDeviceStateExceptionData {\n export const __type = 'SetDeviceStateExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.SetDeviceStateExceptionData.AsObject): SetDeviceStateExceptionData {\n return {\n settings: pbData.settingsList,\n streamBuffers: pbData.streamBuffersList,\n triggers: pbData.triggersList,\n servoTuning: pbData.servoTuning,\n storedPositions: pbData.storedPositionsList,\n storage: pbData.storageList,\n peripherals: pbData.peripheralsList.map(item => SetPeripheralStateExceptionData.fromProtobuf(item)),\n };\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const set_device_state_exception_data_1 = require("./set_device_state_exception_
|
|
|
10
10
|
* Thrown when a device cannot be set to the supplied state.
|
|
11
11
|
*/
|
|
12
12
|
class SetDeviceStateFailedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for SetDeviceStateFailedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, SetDeviceStateFailedException.prototype);
|
|
@@ -21,12 +27,6 @@ class SetDeviceStateFailedException extends motion_lib_exception_1.MotionLibExce
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for SetDeviceStateFailedException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.SetDeviceStateFailedException = SetDeviceStateFailedException;
|
|
32
32
|
//# sourceMappingURL=set_device_state_failed_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set_device_state_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/set_device_state_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAyF;AACzF,uFAAgF;AAEhF;;GAEG;AACH,MAAa,6BAA8B,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"set_device_state_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/set_device_state_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAyF;AACzF,uFAAgF;AAEhF;;GAEG;AACH,MAAa,6BAA8B,SAAQ,yCAAkB;IACnE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAgD;QAEhD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC;QAErE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,qCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,6DAA2B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SAClF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,sEAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { SetDeviceStateExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { SetDeviceStateExceptionData } from './set_device_state_exception_data';\n\n/**\n * Thrown when a device cannot be set to the supplied state.\n */\nexport class SetDeviceStateFailedException extends MotionLibException {\n /**\n * Additional data for SetDeviceStateFailedException\n */\n public get details(): SetDeviceStateExceptionData {\n return this._details;\n }\n private _details: SetDeviceStateExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | SetDeviceStateExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, SetDeviceStateFailedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = SetDeviceStateExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -18,6 +18,10 @@ export interface SetPeripheralStateExceptionData {
|
|
|
18
18
|
* The reasons stored positions could not be set.
|
|
19
19
|
*/
|
|
20
20
|
storedPositions: string[];
|
|
21
|
+
/**
|
|
22
|
+
* The reasons storage could not be set.
|
|
23
|
+
*/
|
|
24
|
+
storage: string[];
|
|
21
25
|
}
|
|
22
26
|
export declare namespace SetPeripheralStateExceptionData {
|
|
23
27
|
const __type = "SetPeripheralStateExceptionData";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set_peripheral_state_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/set_peripheral_state_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;
|
|
1
|
+
{"version":3,"file":"set_peripheral_state_exception_data.js","sourceRoot":"","sources":["../../../src/exceptions/set_peripheral_state_exception_data.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAmCtD,IAAiB,+BAA+B,CAa/C;AAbD,WAAiB,+BAA+B;IACjC,sCAAM,GAAG,iCAAiC,CAAC;IAExD,gBAAgB;IAChB,SAAgB,YAAY,CAAC,MAAwD;QACnF,OAAO;YACL,UAAU,EAAE,MAAM,CAAC,UAAU;YAC7B,QAAQ,EAAE,MAAM,CAAC,YAAY;YAC7B,WAAW,EAAE,MAAM,CAAC,WAAW;YAC/B,eAAe,EAAE,MAAM,CAAC,mBAAmB;YAC3C,OAAO,EAAE,MAAM,CAAC,WAAW;SAC5B,CAAC;IACJ,CAAC;IARe,4CAAY,eAQ3B,CAAA;AACH,CAAC,EAbgB,+BAA+B,GAA/B,uCAA+B,KAA/B,uCAA+B,QAa/C","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 a SetPeripheralStateFailedException.\n */\nexport interface SetPeripheralStateExceptionData {\n /**\n * The number of axis where the exception originated.\n */\n axisNumber: number;\n\n /**\n * A list of settings which could not be set.\n */\n settings: string[];\n\n /**\n * The reason servo tuning could not be set.\n */\n servoTuning: string;\n\n /**\n * The reasons stored positions could not be set.\n */\n storedPositions: string[];\n\n /**\n * The reasons storage could not be set.\n */\n storage: string[];\n\n}\n\nexport namespace SetPeripheralStateExceptionData {\n export const __type = 'SetPeripheralStateExceptionData';\n\n /** @internal */\n export function fromProtobuf(pbData: gateway.SetPeripheralStateExceptionData.AsObject): SetPeripheralStateExceptionData {\n return {\n axisNumber: pbData.axisNumber,\n settings: pbData.settingsList,\n servoTuning: pbData.servoTuning,\n storedPositions: pbData.storedPositionsList,\n storage: pbData.storageList,\n };\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const set_peripheral_state_exception_data_1 = require("./set_peripheral_state_ex
|
|
|
10
10
|
* Thrown when an axis cannot be set to the supplied state.
|
|
11
11
|
*/
|
|
12
12
|
class SetPeripheralStateFailedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for SetPeripheralStateFailedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, SetPeripheralStateFailedException.prototype);
|
|
@@ -21,12 +27,6 @@ class SetPeripheralStateFailedException extends motion_lib_exception_1.MotionLib
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for SetPeripheralStateFailedException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.SetPeripheralStateFailedException = SetPeripheralStateFailedException;
|
|
32
32
|
//# sourceMappingURL=set_peripheral_state_failed_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set_peripheral_state_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/set_peripheral_state_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA6F;AAC7F,+FAAwF;AAExF;;GAEG;AACH,MAAa,iCAAkC,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"set_peripheral_state_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/set_peripheral_state_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA6F;AAC7F,+FAAwF;AAExF;;GAEG;AACH,MAAa,iCAAkC,SAAQ,yCAAkB;IACvE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAoD;QAEpD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,iCAAiC,CAAC,SAAS,CAAC,CAAC;QAEzE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,yCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,qEAA+B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACtF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,8EAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { SetPeripheralStateExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { SetPeripheralStateExceptionData } from './set_peripheral_state_exception_data';\n\n/**\n * Thrown when an axis cannot be set to the supplied state.\n */\nexport class SetPeripheralStateFailedException extends MotionLibException {\n /**\n * Additional data for SetPeripheralStateFailedException\n */\n public get details(): SetPeripheralStateExceptionData {\n return this._details;\n }\n private _details: SetPeripheralStateExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | SetPeripheralStateExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, SetPeripheralStateFailedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = SetPeripheralStateExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const stream_execution_exception_data_1 = require("./stream_execution_exception_
|
|
|
10
10
|
* Thrown when a streamed motion fails.
|
|
11
11
|
*/
|
|
12
12
|
class StreamExecutionException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for StreamExecutionException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, StreamExecutionException.prototype);
|
|
@@ -21,12 +27,6 @@ class StreamExecutionException extends motion_lib_exception_1.MotionLibException
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for StreamExecutionException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.StreamExecutionException = StreamExecutionException;
|
|
32
32
|
//# sourceMappingURL=stream_execution_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream_execution_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_execution_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA0F;AAC1F,uFAAiF;AAEjF;;GAEG;AACH,MAAa,wBAAyB,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"stream_execution_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_execution_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA0F;AAC1F,uFAAiF;AAEjF;;GAEG;AACH,MAAa,wBAAyB,SAAQ,yCAAkB;IAC9D;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAiD;QAEjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;QAEhE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,sCAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,8DAA4B,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACnF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,4DAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { StreamExecutionExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { StreamExecutionExceptionData } from './stream_execution_exception_data';\n\n/**\n * Thrown when a streamed motion fails.\n */\nexport class StreamExecutionException extends MotionLibException {\n /**\n * Additional data for StreamExecutionException\n */\n public get details(): StreamExecutionExceptionData {\n return this._details;\n }\n private _details: StreamExecutionExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | StreamExecutionExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, StreamExecutionException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = StreamExecutionExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const stream_movement_failed_exception_data_1 = require("./stream_movement_faile
|
|
|
10
10
|
* Thrown when a device registers a fault during streamed movement.
|
|
11
11
|
*/
|
|
12
12
|
class StreamMovementFailedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for StreamMovementFailedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, StreamMovementFailedException.prototype);
|
|
@@ -21,12 +27,6 @@ class StreamMovementFailedException extends motion_lib_exception_1.MotionLibExce
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for StreamMovementFailedException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.StreamMovementFailedException = StreamMovementFailedException;
|
|
32
32
|
//# sourceMappingURL=stream_movement_failed_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream_movement_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_movement_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA+F;AAC/F,mGAA4F;AAE5F;;GAEG;AACH,MAAa,6BAA8B,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"stream_movement_failed_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_movement_failed_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAA+F;AAC/F,mGAA4F;AAE5F;;GAEG;AACH,MAAa,6BAA8B,SAAQ,yCAAkB;IACnE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAAsD;QAEtD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,6BAA6B,CAAC,SAAS,CAAC,CAAC;QAErE,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,2CAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,yEAAiC,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SACxF;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,sEAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { StreamMovementFailedExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { StreamMovementFailedExceptionData } from './stream_movement_failed_exception_data';\n\n/**\n * Thrown when a device registers a fault during streamed movement.\n */\nexport class StreamMovementFailedException extends MotionLibException {\n /**\n * Additional data for StreamMovementFailedException\n */\n public get details(): StreamMovementFailedExceptionData {\n return this._details;\n }\n private _details: StreamMovementFailedExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | StreamMovementFailedExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, StreamMovementFailedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = StreamMovementFailedExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -10,6 +10,12 @@ const stream_movement_interrupted_exception_data_1 = require("./stream_movement_
|
|
|
10
10
|
* Thrown when ongoing stream movement is interrupted by another command or user input.
|
|
11
11
|
*/
|
|
12
12
|
class StreamMovementInterruptedException extends motion_lib_exception_1.MotionLibException {
|
|
13
|
+
/**
|
|
14
|
+
* Additional data for StreamMovementInterruptedException
|
|
15
|
+
*/
|
|
16
|
+
get details() {
|
|
17
|
+
return this._details;
|
|
18
|
+
}
|
|
13
19
|
constructor(message, customData) {
|
|
14
20
|
super(message);
|
|
15
21
|
Object.setPrototypeOf(this, StreamMovementInterruptedException.prototype);
|
|
@@ -21,12 +27,6 @@ class StreamMovementInterruptedException extends motion_lib_exception_1.MotionLi
|
|
|
21
27
|
this._details = customData;
|
|
22
28
|
}
|
|
23
29
|
}
|
|
24
|
-
/**
|
|
25
|
-
* Additional data for StreamMovementInterruptedException
|
|
26
|
-
*/
|
|
27
|
-
get details() {
|
|
28
|
-
return this._details;
|
|
29
|
-
}
|
|
30
30
|
}
|
|
31
31
|
exports.StreamMovementInterruptedException = StreamMovementInterruptedException;
|
|
32
32
|
//# sourceMappingURL=stream_movement_interrupted_exception.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stream_movement_interrupted_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_movement_interrupted_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAoG;AACpG,6GAAsG;AAEtG;;GAEG;AACH,MAAa,kCAAmC,SAAQ,yCAAkB;
|
|
1
|
+
{"version":3,"file":"stream_movement_interrupted_exception.js","sourceRoot":"","sources":["../../../src/exceptions/stream_movement_interrupted_exception.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;AAEtD,iEAA4D;AAC5D,kDAAoG;AACpG,6GAAsG;AAEtG;;GAEG;AACH,MAAa,kCAAmC,SAAQ,yCAAkB;IACxE;;OAEG;IACH,IAAW,OAAO;QAChB,OAAO,IAAI,CAAC,QAAQ,CAAC;IACvB,CAAC;IAGD,YACE,OAAe,EACf,UAA2D;QAE3D,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,kCAAkC,CAAC,SAAS,CAAC,CAAC;QAE1E,IAAI,MAAM,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;YAC/B,MAAM,WAAW,GAAG,gDAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC;YACrE,IAAI,CAAC,QAAQ,GAAG,mFAAsC,CAAC,YAAY,CAAC,WAAW,CAAC,QAAQ,EAAE,CAAC,CAAC;SAC7F;aAAM;YACL,IAAI,CAAC,QAAQ,GAAG,UAAU,CAAC;SAC5B;IACH,CAAC;CACF;AAvBD,gFAuBC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { MotionLibException } from './motion_lib_exception';\nimport { StreamMovementInterruptedExceptionData as CustomDataProtobuf } from '../protobufs/main_pb';\nimport { StreamMovementInterruptedExceptionData } from './stream_movement_interrupted_exception_data';\n\n/**\n * Thrown when ongoing stream movement is interrupted by another command or user input.\n */\nexport class StreamMovementInterruptedException extends MotionLibException {\n /**\n * Additional data for StreamMovementInterruptedException\n */\n public get details(): StreamMovementInterruptedExceptionData {\n return this._details;\n }\n private _details: StreamMovementInterruptedExceptionData;\n\n constructor(\n message: string,\n customData: Buffer | StreamMovementInterruptedExceptionData\n ) {\n super(message);\n Object.setPrototypeOf(this, StreamMovementInterruptedException.prototype);\n\n if (Buffer.isBuffer(customData)) {\n const protobufObj = CustomDataProtobuf.deserializeBinary(customData);\n this._details = StreamMovementInterruptedExceptionData.fromProtobuf(protobufObj.toObject());\n } else {\n this._details = customData;\n }\n }\n}\n"]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*
|
|
2
2
|
IMPORTANT
|
|
3
|
-
This file was copied from `https://github.com/golang/go/blob/release-branch.go1.
|
|
3
|
+
This file was copied from `https://github.com/golang/go/blob/release-branch.go1.18/misc/wasm/wasm_exec.js`.
|
|
4
4
|
It has been modified a bit to reduce webpack warnings about how the `require()` function is being used
|
|
5
5
|
*/
|
|
6
6
|
// Copyright 2018 The Go Authors. All rights reserved.
|