@zaber/motion 2.11.1 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1538 -3009
- package/dist/binding/wasm/zaber-motion-lib.wasm +0 -0
- package/dist/lib/ascii/axis.d.ts +39 -6
- package/dist/lib/ascii/axis.js +58 -5
- package/dist/lib/ascii/axis.js.map +1 -1
- package/dist/lib/ascii/connection.d.ts +2 -0
- package/dist/lib/ascii/connection.js +2 -0
- package/dist/lib/ascii/connection.js.map +1 -1
- package/dist/lib/ascii/device.d.ts +7 -0
- package/dist/lib/ascii/device.js +9 -0
- package/dist/lib/ascii/device.js.map +1 -1
- package/dist/lib/ascii/index.d.ts +1 -0
- package/dist/lib/ascii/index.js +4 -1
- package/dist/lib/ascii/index.js.map +1 -1
- package/dist/lib/ascii/lockstep.d.ts +33 -6
- package/dist/lib/ascii/lockstep.js +50 -5
- package/dist/lib/ascii/lockstep.js.map +1 -1
- package/dist/lib/ascii/servo_tuner.d.ts +11 -0
- package/dist/lib/ascii/servo_tuner.js +22 -0
- package/dist/lib/ascii/servo_tuner.js.map +1 -1
- package/dist/lib/ascii/setting_constants.d.ts +124 -0
- package/dist/lib/ascii/setting_constants.js +124 -0
- package/dist/lib/ascii/setting_constants.js.map +1 -1
- package/dist/lib/ascii/storage.d.ts +98 -0
- package/dist/lib/ascii/storage.js +220 -0
- package/dist/lib/ascii/storage.js.map +1 -0
- package/dist/lib/ascii/stream.d.ts +5 -5
- package/dist/lib/ascii/stream.js.map +1 -1
- package/dist/lib/ascii_ns.d.ts +4 -0
- package/dist/lib/ascii_ns.js +2 -0
- package/dist/lib/ascii_ns.js.map +1 -1
- package/dist/lib/exceptions/command_too_long_exception.d.ts +14 -0
- package/dist/lib/exceptions/command_too_long_exception.js +32 -0
- package/dist/lib/exceptions/command_too_long_exception.js.map +1 -0
- package/dist/lib/exceptions/command_too_long_exception_data.d.ts +24 -0
- package/dist/lib/exceptions/command_too_long_exception_data.js +20 -0
- package/dist/lib/exceptions/command_too_long_exception_data.js.map +1 -0
- package/dist/lib/exceptions/index.d.ts +3 -0
- package/dist/lib/exceptions/index.js +8 -2
- package/dist/lib/exceptions/index.js.map +1 -1
- package/dist/lib/exceptions/no_value_for_key_exception.d.ts +7 -0
- package/dist/lib/exceptions/no_value_for_key_exception.js +17 -0
- package/dist/lib/exceptions/no_value_for_key_exception.js.map +1 -0
- package/dist/lib/gateway/convert_exceptions.js +2 -0
- package/dist/lib/gateway/convert_exceptions.js.map +1 -1
- package/dist/lib/protobufs/main_pb.d.ts +358 -0
- package/dist/lib/protobufs/main_pb.js +2889 -195
- package/dist/lib/protobufs/main_pb.js.map +1 -1
- package/dist/lib/units.d.ts +63 -1
- package/dist/lib/units.js +70 -1
- package/dist/lib/units.js.map +1 -1
- package/package.json +3 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,kDAA0D;AAC1D,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAAwF,CAAC;AACrH,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACn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Content":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Errors as PbErrors } from '../protobufs/main_pb';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Buffer) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.SETTING_NOT_FOUND, exceptions.SettingNotFoundException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Buffer): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
|
|
1
|
+
{"version":3,"file":"convert_exceptions.js","sourceRoot":"","sources":["../../../src/gateway/convert_exceptions.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,sDAAsD;;;;;;;;;;;;;;;;;;;;;;AAEtD,kDAA0D;AAC1D,0DAA4C;AAE5C,MAAM,YAAY,GAAG,IAAI,GAAG,EAAwF,CAAC;AACrH,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,qBAAqB,EAAE,UAAU,CAAC,4BAA4B,CAAC,CAAC;AAC1F,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,cAAc,EAAE,UAAU,CAAC,sBAAsB,CAAC,CAAC;AAC7E,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAChF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,yBAAyB,CAAC,CAAC;AACnF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,uBAAuB,EAAE,UAAU,CAAC,8BAA8B,CAAC,CAAC;AAC9F,YAAY,CAAC,GAAG,CAAC,gBAAQ,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A2B,EAAE,UAAU,CAAC,iCAAiC,CAAC,CAAC;AACrG,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,iBAAiB,EAAE,UAAU,CAAC,wBAAwB,CAAC,CAAC;AAClF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,gBAAgB,EAAE,UAAU,CAAC,wBAAwB,CAAC,CAAC;AACjF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,WAAW,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAAC;AACvE,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,2BAA2B,EAAE,UAAU,CAAC,kCAAkC,CAAC,CAAC;AACtG,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,mBAAmB,EAAE,UAAU,CAAC,0BAA0B,CAAC,CAAC;AACtF,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,sBAAsB,EAAE,UAAU,CAAC,6BAA6B,CAAC,CAAC;AAC5F,YAAY,CAAC,GAAG,CAAC,gBAAQ,CAAC,eAAe,EAAE,UAAU,CAAC,uBAAuB,CAAC,CAAC;AAE/E,SAAgB,kBAAkB,CAAC,KAAe,EAAE,OAAe,EAAE,UAAmB;IACtF,MAAM,iBAAiB,GAAG,YAAY,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAElD,wBAAwB;IACxB,IAAI,CAAC,iBAAiB,EAAE;QACtB,OAAO,IAAI,UAAU,CAAC,kBAAkB,CAAC,OAAO,CAAC,CAAC;KACnD;IAED,OAAO,IAAI,iBAAiB,CAAC,OAAO,EAAE,UAAW,CAAC,CAAC;AACrD,CAAC;AATD,gDASC","sourcesContent":["// ==== THIS FILE IS GENERATED FROM A TEMPLATE ==== //\n// ============= DO NOT EDIT DIRECTLY ============= //\n\nimport { Errors as PbErrors } from '../protobufs/main_pb';\nimport * as exceptions from '../exceptions';\n\nconst errorMapping = new Map<PbErrors, new (message: string, customData: Buffer) => exceptions.MotionLibException>();\nerrorMapping.set(PbErrors.BINARY_COMMAND_FAILED, exceptions.BinaryCommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_FAILED, exceptions.CommandFailedException);\nerrorMapping.set(PbErrors.COMMAND_PREEMPTED, exceptions.CommandPreemptedException);\nerrorMapping.set(PbErrors.COMMAND_TOO_LONG, exceptions.CommandTooLongException);\nerrorMapping.set(PbErrors.CONNECTION_CLOSED, exceptions.ConnectionClosedException);\nerrorMapping.set(PbErrors.CONNECTION_FAILED, exceptions.ConnectionFailedException);\nerrorMapping.set(PbErrors.CONVERSION_FAILED, exceptions.ConversionFailedException);\nerrorMapping.set(PbErrors.DEVICE_ADDRESS_CONFLICT, exceptions.DeviceAddressConflictException);\nerrorMapping.set(PbErrors.DEVICE_BUSY, exceptions.DeviceBusyException);\nerrorMapping.set(PbErrors.DEVICE_DB_FAILED, exceptions.DeviceDbFailedException);\nerrorMapping.set(PbErrors.DEVICE_FAILED, exceptions.DeviceFailedException);\nerrorMapping.set(PbErrors.DEVICE_NOT_IDENTIFIED, exceptions.DeviceNotIdentifiedException);\nerrorMapping.set(PbErrors.G_CODE_EXECUTION, exceptions.GCodeExecutionException);\nerrorMapping.set(PbErrors.G_CODE_SYNTAX, exceptions.GCodeSyntaxException);\nerrorMapping.set(PbErrors.INTERNAL_ERROR, exceptions.InternalErrorException);\nerrorMapping.set(PbErrors.INVALID_ARGUMENT, exceptions.InvalidArgumentException);\nerrorMapping.set(PbErrors.INVALID_DATA, exceptions.InvalidDataException);\nerrorMapping.set(PbErrors.INVALID_OPERATION, exceptions.InvalidOperationException);\nerrorMapping.set(PbErrors.INVALID_PACKET, exceptions.InvalidPacketException);\nerrorMapping.set(PbErrors.INVALID_PARK_STATE, exceptions.InvalidParkStateException);\nerrorMapping.set(PbErrors.INVALID_RESPONSE, exceptions.InvalidResponseException);\nerrorMapping.set(PbErrors.IO_CHANNEL_OUT_OF_RANGE, exceptions.IoChannelOutOfRangeException);\nerrorMapping.set(PbErrors.IO_FAILED, exceptions.IoFailedException);\nerrorMapping.set(PbErrors.LOCKSTEP_ENABLED, exceptions.LockstepEnabledException);\nerrorMapping.set(PbErrors.LOCKSTEP_NOT_ENABLED, exceptions.LockstepNotEnabledException);\nerrorMapping.set(PbErrors.MOVEMENT_FAILED, exceptions.MovementFailedException);\nerrorMapping.set(PbErrors.MOVEMENT_INTERRUPTED, exceptions.MovementInterruptedException);\nerrorMapping.set(PbErrors.NO_DEVICE_FOUND, exceptions.NoDeviceFoundException);\nerrorMapping.set(PbErrors.NO_VALUE_FOR_KEY, exceptions.NoValueForKeyException);\nerrorMapping.set(PbErrors.NOT_SUPPORTED, exceptions.NotSupportedException);\nerrorMapping.set(PbErrors.OS_FAILED, exceptions.OsFailedException);\nerrorMapping.set(PbErrors.OUT_OF_REQUEST_IDS, exceptions.OutOfRequestIdsException);\nerrorMapping.set(PbErrors.REQUEST_TIMEOUT, exceptions.RequestTimeoutException);\nerrorMapping.set(PbErrors.SERIAL_PORT_BUSY, exceptions.SerialPortBusyException);\nerrorMapping.set(PbErrors.SET_DEVICE_STATE_FAILED, exceptions.SetDeviceStateFailedException);\nerrorMapping.set(PbErrors.SET_PERIPHERAL_STATE_FAILED, exceptions.SetPeripheralStateFailedException);\nerrorMapping.set(PbErrors.SETTING_NOT_FOUND, exceptions.SettingNotFoundException);\nerrorMapping.set(PbErrors.STREAM_EXECUTION, exceptions.StreamExecutionException);\nerrorMapping.set(PbErrors.STREAM_MODE, exceptions.StreamModeException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_FAILED, exceptions.StreamMovementFailedException);\nerrorMapping.set(PbErrors.STREAM_MOVEMENT_INTERRUPTED, exceptions.StreamMovementInterruptedException);\nerrorMapping.set(PbErrors.STREAM_SETUP_FAILED, exceptions.StreamSetupFailedException);\nerrorMapping.set(PbErrors.TRANSPORT_ALREADY_USED, exceptions.TransportAlreadyUsedException);\nerrorMapping.set(PbErrors.UNKNOWN_REQUEST, exceptions.UnknownRequestException);\n\nexport function convertToException(error: PbErrors, message: string, customData?: Buffer): exceptions.MotionLibException {\n const SpecificException = errorMapping.get(error);\n\n /* istanbul ignore if */\n if (!SpecificException) {\n return new exceptions.MotionLibException(message);\n }\n\n return new SpecificException(message, customData!);\n}\n"]}
|
|
@@ -624,6 +624,38 @@ export namespace SetDeviceStateExceptionData {
|
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
626
|
|
|
627
|
+
export class CommandTooLongExceptionData extends jspb.Message {
|
|
628
|
+
getFit(): string;
|
|
629
|
+
setFit(value: string): void;
|
|
630
|
+
|
|
631
|
+
getRemainder(): string;
|
|
632
|
+
setRemainder(value: string): void;
|
|
633
|
+
|
|
634
|
+
getPacketSize(): number;
|
|
635
|
+
setPacketSize(value: number): void;
|
|
636
|
+
|
|
637
|
+
getPacketsMax(): number;
|
|
638
|
+
setPacketsMax(value: number): void;
|
|
639
|
+
|
|
640
|
+
serializeBinary(): Uint8Array;
|
|
641
|
+
toObject(includeInstance?: boolean): CommandTooLongExceptionData.AsObject;
|
|
642
|
+
static toObject(includeInstance: boolean, msg: CommandTooLongExceptionData): CommandTooLongExceptionData.AsObject;
|
|
643
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
644
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
645
|
+
static serializeBinaryToWriter(message: CommandTooLongExceptionData, writer: jspb.BinaryWriter): void;
|
|
646
|
+
static deserializeBinary(bytes: Uint8Array): CommandTooLongExceptionData;
|
|
647
|
+
static deserializeBinaryFromReader(message: CommandTooLongExceptionData, reader: jspb.BinaryReader): CommandTooLongExceptionData;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
export namespace CommandTooLongExceptionData {
|
|
651
|
+
export type AsObject = {
|
|
652
|
+
fit: string,
|
|
653
|
+
remainder: string,
|
|
654
|
+
packetSize: number,
|
|
655
|
+
packetsMax: number,
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
|
|
627
659
|
export class TestRequest extends jspb.Message {
|
|
628
660
|
getReturnError(): boolean;
|
|
629
661
|
setReturnError(value: boolean): void;
|
|
@@ -1462,6 +1494,18 @@ export class DeviceMoveRequest extends jspb.Message {
|
|
|
1462
1494
|
getUnit(): string;
|
|
1463
1495
|
setUnit(value: string): void;
|
|
1464
1496
|
|
|
1497
|
+
getVelocity(): number;
|
|
1498
|
+
setVelocity(value: number): void;
|
|
1499
|
+
|
|
1500
|
+
getVelocityUnit(): string;
|
|
1501
|
+
setVelocityUnit(value: string): void;
|
|
1502
|
+
|
|
1503
|
+
getAcceleration(): number;
|
|
1504
|
+
setAcceleration(value: number): void;
|
|
1505
|
+
|
|
1506
|
+
getAccelerationUnit(): string;
|
|
1507
|
+
setAccelerationUnit(value: string): void;
|
|
1508
|
+
|
|
1465
1509
|
serializeBinary(): Uint8Array;
|
|
1466
1510
|
toObject(includeInstance?: boolean): DeviceMoveRequest.AsObject;
|
|
1467
1511
|
static toObject(includeInstance: boolean, msg: DeviceMoveRequest): DeviceMoveRequest.AsObject;
|
|
@@ -1481,6 +1525,10 @@ export namespace DeviceMoveRequest {
|
|
|
1481
1525
|
type: DeviceMoveRequest.MoveType,
|
|
1482
1526
|
arg: number,
|
|
1483
1527
|
unit: string,
|
|
1528
|
+
velocity: number,
|
|
1529
|
+
velocityUnit: string,
|
|
1530
|
+
acceleration: number,
|
|
1531
|
+
accelerationUnit: string,
|
|
1484
1532
|
}
|
|
1485
1533
|
|
|
1486
1534
|
export enum MoveType {
|
|
@@ -2686,6 +2734,18 @@ export class LockstepMoveRequest extends jspb.Message {
|
|
|
2686
2734
|
getUnit(): string;
|
|
2687
2735
|
setUnit(value: string): void;
|
|
2688
2736
|
|
|
2737
|
+
getVelocity(): number;
|
|
2738
|
+
setVelocity(value: number): void;
|
|
2739
|
+
|
|
2740
|
+
getVelocityUnit(): string;
|
|
2741
|
+
setVelocityUnit(value: string): void;
|
|
2742
|
+
|
|
2743
|
+
getAcceleration(): number;
|
|
2744
|
+
setAcceleration(value: number): void;
|
|
2745
|
+
|
|
2746
|
+
getAccelerationUnit(): string;
|
|
2747
|
+
setAccelerationUnit(value: string): void;
|
|
2748
|
+
|
|
2689
2749
|
serializeBinary(): Uint8Array;
|
|
2690
2750
|
toObject(includeInstance?: boolean): LockstepMoveRequest.AsObject;
|
|
2691
2751
|
static toObject(includeInstance: boolean, msg: LockstepMoveRequest): LockstepMoveRequest.AsObject;
|
|
@@ -2705,6 +2765,10 @@ export namespace LockstepMoveRequest {
|
|
|
2705
2765
|
type: LockstepMoveRequest.MoveType,
|
|
2706
2766
|
arg: number,
|
|
2707
2767
|
unit: string,
|
|
2768
|
+
velocity: number,
|
|
2769
|
+
velocityUnit: string,
|
|
2770
|
+
acceleration: number,
|
|
2771
|
+
accelerationUnit: string,
|
|
2708
2772
|
}
|
|
2709
2773
|
|
|
2710
2774
|
export enum MoveType {
|
|
@@ -6413,6 +6477,26 @@ export namespace SimpleTuningParamList {
|
|
|
6413
6477
|
}
|
|
6414
6478
|
}
|
|
6415
6479
|
|
|
6480
|
+
export class SimpleTuningIsInUse extends jspb.Message {
|
|
6481
|
+
getValue(): boolean;
|
|
6482
|
+
setValue(value: boolean): void;
|
|
6483
|
+
|
|
6484
|
+
serializeBinary(): Uint8Array;
|
|
6485
|
+
toObject(includeInstance?: boolean): SimpleTuningIsInUse.AsObject;
|
|
6486
|
+
static toObject(includeInstance: boolean, msg: SimpleTuningIsInUse): SimpleTuningIsInUse.AsObject;
|
|
6487
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
6488
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
6489
|
+
static serializeBinaryToWriter(message: SimpleTuningIsInUse, writer: jspb.BinaryWriter): void;
|
|
6490
|
+
static deserializeBinary(bytes: Uint8Array): SimpleTuningIsInUse;
|
|
6491
|
+
static deserializeBinaryFromReader(message: SimpleTuningIsInUse, reader: jspb.BinaryReader): SimpleTuningIsInUse;
|
|
6492
|
+
}
|
|
6493
|
+
|
|
6494
|
+
export namespace SimpleTuningIsInUse {
|
|
6495
|
+
export type AsObject = {
|
|
6496
|
+
value: boolean,
|
|
6497
|
+
}
|
|
6498
|
+
}
|
|
6499
|
+
|
|
6416
6500
|
export class TranslatorCreateRequest extends jspb.Message {
|
|
6417
6501
|
hasDefinition(): boolean;
|
|
6418
6502
|
clearDefinition(): void;
|
|
@@ -7011,6 +7095,278 @@ export namespace TranslatorSetFeedRateOverrideRequest {
|
|
|
7011
7095
|
}
|
|
7012
7096
|
}
|
|
7013
7097
|
|
|
7098
|
+
export class DeviceSetStorageRequest extends jspb.Message {
|
|
7099
|
+
getInterfaceId(): number;
|
|
7100
|
+
setInterfaceId(value: number): void;
|
|
7101
|
+
|
|
7102
|
+
getDevice(): number;
|
|
7103
|
+
setDevice(value: number): void;
|
|
7104
|
+
|
|
7105
|
+
getAxis(): number;
|
|
7106
|
+
setAxis(value: number): void;
|
|
7107
|
+
|
|
7108
|
+
getKey(): string;
|
|
7109
|
+
setKey(value: string): void;
|
|
7110
|
+
|
|
7111
|
+
getValue(): string;
|
|
7112
|
+
setValue(value: string): void;
|
|
7113
|
+
|
|
7114
|
+
getEncode(): boolean;
|
|
7115
|
+
setEncode(value: boolean): void;
|
|
7116
|
+
|
|
7117
|
+
serializeBinary(): Uint8Array;
|
|
7118
|
+
toObject(includeInstance?: boolean): DeviceSetStorageRequest.AsObject;
|
|
7119
|
+
static toObject(includeInstance: boolean, msg: DeviceSetStorageRequest): DeviceSetStorageRequest.AsObject;
|
|
7120
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7121
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7122
|
+
static serializeBinaryToWriter(message: DeviceSetStorageRequest, writer: jspb.BinaryWriter): void;
|
|
7123
|
+
static deserializeBinary(bytes: Uint8Array): DeviceSetStorageRequest;
|
|
7124
|
+
static deserializeBinaryFromReader(message: DeviceSetStorageRequest, reader: jspb.BinaryReader): DeviceSetStorageRequest;
|
|
7125
|
+
}
|
|
7126
|
+
|
|
7127
|
+
export namespace DeviceSetStorageRequest {
|
|
7128
|
+
export type AsObject = {
|
|
7129
|
+
interfaceId: number,
|
|
7130
|
+
device: number,
|
|
7131
|
+
axis: number,
|
|
7132
|
+
key: string,
|
|
7133
|
+
value: string,
|
|
7134
|
+
encode: boolean,
|
|
7135
|
+
}
|
|
7136
|
+
}
|
|
7137
|
+
|
|
7138
|
+
export class DeviceGetStorageRequest extends jspb.Message {
|
|
7139
|
+
getInterfaceId(): number;
|
|
7140
|
+
setInterfaceId(value: number): void;
|
|
7141
|
+
|
|
7142
|
+
getDevice(): number;
|
|
7143
|
+
setDevice(value: number): void;
|
|
7144
|
+
|
|
7145
|
+
getAxis(): number;
|
|
7146
|
+
setAxis(value: number): void;
|
|
7147
|
+
|
|
7148
|
+
getKey(): string;
|
|
7149
|
+
setKey(value: string): void;
|
|
7150
|
+
|
|
7151
|
+
getDecode(): boolean;
|
|
7152
|
+
setDecode(value: boolean): void;
|
|
7153
|
+
|
|
7154
|
+
serializeBinary(): Uint8Array;
|
|
7155
|
+
toObject(includeInstance?: boolean): DeviceGetStorageRequest.AsObject;
|
|
7156
|
+
static toObject(includeInstance: boolean, msg: DeviceGetStorageRequest): DeviceGetStorageRequest.AsObject;
|
|
7157
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7158
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7159
|
+
static serializeBinaryToWriter(message: DeviceGetStorageRequest, writer: jspb.BinaryWriter): void;
|
|
7160
|
+
static deserializeBinary(bytes: Uint8Array): DeviceGetStorageRequest;
|
|
7161
|
+
static deserializeBinaryFromReader(message: DeviceGetStorageRequest, reader: jspb.BinaryReader): DeviceGetStorageRequest;
|
|
7162
|
+
}
|
|
7163
|
+
|
|
7164
|
+
export namespace DeviceGetStorageRequest {
|
|
7165
|
+
export type AsObject = {
|
|
7166
|
+
interfaceId: number,
|
|
7167
|
+
device: number,
|
|
7168
|
+
axis: number,
|
|
7169
|
+
key: string,
|
|
7170
|
+
decode: boolean,
|
|
7171
|
+
}
|
|
7172
|
+
}
|
|
7173
|
+
|
|
7174
|
+
export class DeviceGetStorageResponse extends jspb.Message {
|
|
7175
|
+
getValue(): string;
|
|
7176
|
+
setValue(value: string): void;
|
|
7177
|
+
|
|
7178
|
+
serializeBinary(): Uint8Array;
|
|
7179
|
+
toObject(includeInstance?: boolean): DeviceGetStorageResponse.AsObject;
|
|
7180
|
+
static toObject(includeInstance: boolean, msg: DeviceGetStorageResponse): DeviceGetStorageResponse.AsObject;
|
|
7181
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7182
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7183
|
+
static serializeBinaryToWriter(message: DeviceGetStorageResponse, writer: jspb.BinaryWriter): void;
|
|
7184
|
+
static deserializeBinary(bytes: Uint8Array): DeviceGetStorageResponse;
|
|
7185
|
+
static deserializeBinaryFromReader(message: DeviceGetStorageResponse, reader: jspb.BinaryReader): DeviceGetStorageResponse;
|
|
7186
|
+
}
|
|
7187
|
+
|
|
7188
|
+
export namespace DeviceGetStorageResponse {
|
|
7189
|
+
export type AsObject = {
|
|
7190
|
+
value: string,
|
|
7191
|
+
}
|
|
7192
|
+
}
|
|
7193
|
+
|
|
7194
|
+
export class DeviceSetStorageNumberRequest extends jspb.Message {
|
|
7195
|
+
getInterfaceId(): number;
|
|
7196
|
+
setInterfaceId(value: number): void;
|
|
7197
|
+
|
|
7198
|
+
getDevice(): number;
|
|
7199
|
+
setDevice(value: number): void;
|
|
7200
|
+
|
|
7201
|
+
getAxis(): number;
|
|
7202
|
+
setAxis(value: number): void;
|
|
7203
|
+
|
|
7204
|
+
getKey(): string;
|
|
7205
|
+
setKey(value: string): void;
|
|
7206
|
+
|
|
7207
|
+
getValue(): number;
|
|
7208
|
+
setValue(value: number): void;
|
|
7209
|
+
|
|
7210
|
+
serializeBinary(): Uint8Array;
|
|
7211
|
+
toObject(includeInstance?: boolean): DeviceSetStorageNumberRequest.AsObject;
|
|
7212
|
+
static toObject(includeInstance: boolean, msg: DeviceSetStorageNumberRequest): DeviceSetStorageNumberRequest.AsObject;
|
|
7213
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7214
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7215
|
+
static serializeBinaryToWriter(message: DeviceSetStorageNumberRequest, writer: jspb.BinaryWriter): void;
|
|
7216
|
+
static deserializeBinary(bytes: Uint8Array): DeviceSetStorageNumberRequest;
|
|
7217
|
+
static deserializeBinaryFromReader(message: DeviceSetStorageNumberRequest, reader: jspb.BinaryReader): DeviceSetStorageNumberRequest;
|
|
7218
|
+
}
|
|
7219
|
+
|
|
7220
|
+
export namespace DeviceSetStorageNumberRequest {
|
|
7221
|
+
export type AsObject = {
|
|
7222
|
+
interfaceId: number,
|
|
7223
|
+
device: number,
|
|
7224
|
+
axis: number,
|
|
7225
|
+
key: string,
|
|
7226
|
+
value: number,
|
|
7227
|
+
}
|
|
7228
|
+
}
|
|
7229
|
+
|
|
7230
|
+
export class DeviceGetStorageNumberRequest extends jspb.Message {
|
|
7231
|
+
getInterfaceId(): number;
|
|
7232
|
+
setInterfaceId(value: number): void;
|
|
7233
|
+
|
|
7234
|
+
getDevice(): number;
|
|
7235
|
+
setDevice(value: number): void;
|
|
7236
|
+
|
|
7237
|
+
getAxis(): number;
|
|
7238
|
+
setAxis(value: number): void;
|
|
7239
|
+
|
|
7240
|
+
getKey(): string;
|
|
7241
|
+
setKey(value: string): void;
|
|
7242
|
+
|
|
7243
|
+
serializeBinary(): Uint8Array;
|
|
7244
|
+
toObject(includeInstance?: boolean): DeviceGetStorageNumberRequest.AsObject;
|
|
7245
|
+
static toObject(includeInstance: boolean, msg: DeviceGetStorageNumberRequest): DeviceGetStorageNumberRequest.AsObject;
|
|
7246
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7247
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7248
|
+
static serializeBinaryToWriter(message: DeviceGetStorageNumberRequest, writer: jspb.BinaryWriter): void;
|
|
7249
|
+
static deserializeBinary(bytes: Uint8Array): DeviceGetStorageNumberRequest;
|
|
7250
|
+
static deserializeBinaryFromReader(message: DeviceGetStorageNumberRequest, reader: jspb.BinaryReader): DeviceGetStorageNumberRequest;
|
|
7251
|
+
}
|
|
7252
|
+
|
|
7253
|
+
export namespace DeviceGetStorageNumberRequest {
|
|
7254
|
+
export type AsObject = {
|
|
7255
|
+
interfaceId: number,
|
|
7256
|
+
device: number,
|
|
7257
|
+
axis: number,
|
|
7258
|
+
key: string,
|
|
7259
|
+
}
|
|
7260
|
+
}
|
|
7261
|
+
|
|
7262
|
+
export class DeviceGetStorageNumberResponse extends jspb.Message {
|
|
7263
|
+
getValue(): number;
|
|
7264
|
+
setValue(value: number): void;
|
|
7265
|
+
|
|
7266
|
+
serializeBinary(): Uint8Array;
|
|
7267
|
+
toObject(includeInstance?: boolean): DeviceGetStorageNumberResponse.AsObject;
|
|
7268
|
+
static toObject(includeInstance: boolean, msg: DeviceGetStorageNumberResponse): DeviceGetStorageNumberResponse.AsObject;
|
|
7269
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7270
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7271
|
+
static serializeBinaryToWriter(message: DeviceGetStorageNumberResponse, writer: jspb.BinaryWriter): void;
|
|
7272
|
+
static deserializeBinary(bytes: Uint8Array): DeviceGetStorageNumberResponse;
|
|
7273
|
+
static deserializeBinaryFromReader(message: DeviceGetStorageNumberResponse, reader: jspb.BinaryReader): DeviceGetStorageNumberResponse;
|
|
7274
|
+
}
|
|
7275
|
+
|
|
7276
|
+
export namespace DeviceGetStorageNumberResponse {
|
|
7277
|
+
export type AsObject = {
|
|
7278
|
+
value: number,
|
|
7279
|
+
}
|
|
7280
|
+
}
|
|
7281
|
+
|
|
7282
|
+
export class DeviceSetStorageBoolRequest extends jspb.Message {
|
|
7283
|
+
getInterfaceId(): number;
|
|
7284
|
+
setInterfaceId(value: number): void;
|
|
7285
|
+
|
|
7286
|
+
getDevice(): number;
|
|
7287
|
+
setDevice(value: number): void;
|
|
7288
|
+
|
|
7289
|
+
getAxis(): number;
|
|
7290
|
+
setAxis(value: number): void;
|
|
7291
|
+
|
|
7292
|
+
getKey(): string;
|
|
7293
|
+
setKey(value: string): void;
|
|
7294
|
+
|
|
7295
|
+
getValue(): boolean;
|
|
7296
|
+
setValue(value: boolean): void;
|
|
7297
|
+
|
|
7298
|
+
serializeBinary(): Uint8Array;
|
|
7299
|
+
toObject(includeInstance?: boolean): DeviceSetStorageBoolRequest.AsObject;
|
|
7300
|
+
static toObject(includeInstance: boolean, msg: DeviceSetStorageBoolRequest): DeviceSetStorageBoolRequest.AsObject;
|
|
7301
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7302
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7303
|
+
static serializeBinaryToWriter(message: DeviceSetStorageBoolRequest, writer: jspb.BinaryWriter): void;
|
|
7304
|
+
static deserializeBinary(bytes: Uint8Array): DeviceSetStorageBoolRequest;
|
|
7305
|
+
static deserializeBinaryFromReader(message: DeviceSetStorageBoolRequest, reader: jspb.BinaryReader): DeviceSetStorageBoolRequest;
|
|
7306
|
+
}
|
|
7307
|
+
|
|
7308
|
+
export namespace DeviceSetStorageBoolRequest {
|
|
7309
|
+
export type AsObject = {
|
|
7310
|
+
interfaceId: number,
|
|
7311
|
+
device: number,
|
|
7312
|
+
axis: number,
|
|
7313
|
+
key: string,
|
|
7314
|
+
value: boolean,
|
|
7315
|
+
}
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7318
|
+
export class DeviceGetStorageBoolRequest extends jspb.Message {
|
|
7319
|
+
getInterfaceId(): number;
|
|
7320
|
+
setInterfaceId(value: number): void;
|
|
7321
|
+
|
|
7322
|
+
getDevice(): number;
|
|
7323
|
+
setDevice(value: number): void;
|
|
7324
|
+
|
|
7325
|
+
getAxis(): number;
|
|
7326
|
+
setAxis(value: number): void;
|
|
7327
|
+
|
|
7328
|
+
getKey(): string;
|
|
7329
|
+
setKey(value: string): void;
|
|
7330
|
+
|
|
7331
|
+
serializeBinary(): Uint8Array;
|
|
7332
|
+
toObject(includeInstance?: boolean): DeviceGetStorageBoolRequest.AsObject;
|
|
7333
|
+
static toObject(includeInstance: boolean, msg: DeviceGetStorageBoolRequest): DeviceGetStorageBoolRequest.AsObject;
|
|
7334
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7335
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7336
|
+
static serializeBinaryToWriter(message: DeviceGetStorageBoolRequest, writer: jspb.BinaryWriter): void;
|
|
7337
|
+
static deserializeBinary(bytes: Uint8Array): DeviceGetStorageBoolRequest;
|
|
7338
|
+
static deserializeBinaryFromReader(message: DeviceGetStorageBoolRequest, reader: jspb.BinaryReader): DeviceGetStorageBoolRequest;
|
|
7339
|
+
}
|
|
7340
|
+
|
|
7341
|
+
export namespace DeviceGetStorageBoolRequest {
|
|
7342
|
+
export type AsObject = {
|
|
7343
|
+
interfaceId: number,
|
|
7344
|
+
device: number,
|
|
7345
|
+
axis: number,
|
|
7346
|
+
key: string,
|
|
7347
|
+
}
|
|
7348
|
+
}
|
|
7349
|
+
|
|
7350
|
+
export class DeviceGetStorageBoolResponse extends jspb.Message {
|
|
7351
|
+
getValue(): boolean;
|
|
7352
|
+
setValue(value: boolean): void;
|
|
7353
|
+
|
|
7354
|
+
serializeBinary(): Uint8Array;
|
|
7355
|
+
toObject(includeInstance?: boolean): DeviceGetStorageBoolResponse.AsObject;
|
|
7356
|
+
static toObject(includeInstance: boolean, msg: DeviceGetStorageBoolResponse): DeviceGetStorageBoolResponse.AsObject;
|
|
7357
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
7358
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
7359
|
+
static serializeBinaryToWriter(message: DeviceGetStorageBoolResponse, writer: jspb.BinaryWriter): void;
|
|
7360
|
+
static deserializeBinary(bytes: Uint8Array): DeviceGetStorageBoolResponse;
|
|
7361
|
+
static deserializeBinaryFromReader(message: DeviceGetStorageBoolResponse, reader: jspb.BinaryReader): DeviceGetStorageBoolResponse;
|
|
7362
|
+
}
|
|
7363
|
+
|
|
7364
|
+
export namespace DeviceGetStorageBoolResponse {
|
|
7365
|
+
export type AsObject = {
|
|
7366
|
+
value: boolean,
|
|
7367
|
+
}
|
|
7368
|
+
}
|
|
7369
|
+
|
|
7014
7370
|
export enum MessageType {
|
|
7015
7371
|
REPLY = 0,
|
|
7016
7372
|
INFO = 1,
|
|
@@ -7060,6 +7416,8 @@ export enum Errors {
|
|
|
7060
7416
|
G_CODE_SYNTAX = 41,
|
|
7061
7417
|
G_CODE_EXECUTION = 42,
|
|
7062
7418
|
INVALID_OPERATION = 43,
|
|
7419
|
+
COMMAND_TOO_LONG = 44,
|
|
7420
|
+
NO_VALUE_FOR_KEY = 45,
|
|
7063
7421
|
}
|
|
7064
7422
|
|
|
7065
7423
|
export enum InterfaceType {
|