motion-master-client 0.0.9 → 0.0.10
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/package.json +2 -2
- package/src/lib/motion-master.proto.d.ts +26 -26
- package/src/lib/motion-master.proto.js +26 -26
- package/src/lib/types.d.ts +2 -1
- package/src/lib/types.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "motion-master-client",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "A library and CLI program used for communicating with Motion Master.",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"fast-deep-equal": "^3.1.3",
|
|
8
8
|
"lodash": "^4.17.21",
|
|
9
9
|
"long": "5.2.1",
|
|
10
|
-
"protobufjs": "^7.
|
|
10
|
+
"protobufjs": "^7.2.3",
|
|
11
11
|
"roarr": "^7.14.1",
|
|
12
12
|
"rxjs": "~7.5.0",
|
|
13
13
|
"uuid": "^9.0.0",
|
|
@@ -308,8 +308,8 @@ export namespace motionmaster {
|
|
|
308
308
|
interface IParameterValue {
|
|
309
309
|
index?: (number|null);
|
|
310
310
|
subindex?: (number|null);
|
|
311
|
-
intValue?: (number|null);
|
|
312
|
-
uintValue?: (number|null);
|
|
311
|
+
intValue?: (number|Long|null);
|
|
312
|
+
uintValue?: (number|Long|null);
|
|
313
313
|
floatValue?: (number|null);
|
|
314
314
|
stringValue?: (string|null);
|
|
315
315
|
rawValue?: (Uint8Array|null);
|
|
@@ -319,8 +319,8 @@ export namespace motionmaster {
|
|
|
319
319
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetDeviceParameterValues.IParameterValue);
|
|
320
320
|
public index: number;
|
|
321
321
|
public subindex: number;
|
|
322
|
-
public intValue?: (number|null);
|
|
323
|
-
public uintValue?: (number|null);
|
|
322
|
+
public intValue?: (number|Long|null);
|
|
323
|
+
public uintValue?: (number|Long|null);
|
|
324
324
|
public floatValue?: (number|null);
|
|
325
325
|
public stringValue?: (string|null);
|
|
326
326
|
public rawValue?: (Uint8Array|null);
|
|
@@ -858,14 +858,14 @@ export namespace motionmaster {
|
|
|
858
858
|
namespace SetSignalGeneratorParameters {
|
|
859
859
|
|
|
860
860
|
interface IPositionStepResponse {
|
|
861
|
-
target?: (number|null);
|
|
861
|
+
target?: (number|Long|null);
|
|
862
862
|
sustainTime?: (number|null);
|
|
863
863
|
absoluteTarget?: (boolean|null);
|
|
864
864
|
}
|
|
865
865
|
|
|
866
866
|
class PositionStepResponse implements IPositionStepResponse {
|
|
867
867
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionStepResponse);
|
|
868
|
-
public target: number;
|
|
868
|
+
public target: (number|Long);
|
|
869
869
|
public sustainTime: number;
|
|
870
870
|
public absoluteTarget: boolean;
|
|
871
871
|
public static create(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionStepResponse): motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionStepResponse;
|
|
@@ -881,7 +881,7 @@ export namespace motionmaster {
|
|
|
881
881
|
}
|
|
882
882
|
|
|
883
883
|
interface IPositionAdvancedStepResponse {
|
|
884
|
-
target?: (number|null);
|
|
884
|
+
target?: (number|Long|null);
|
|
885
885
|
sustainTime?: (number|null);
|
|
886
886
|
repeat?: (boolean|null);
|
|
887
887
|
absoluteTarget?: (boolean|null);
|
|
@@ -889,7 +889,7 @@ export namespace motionmaster {
|
|
|
889
889
|
|
|
890
890
|
class PositionAdvancedStepResponse implements IPositionAdvancedStepResponse {
|
|
891
891
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionAdvancedStepResponse);
|
|
892
|
-
public target: number;
|
|
892
|
+
public target: (number|Long);
|
|
893
893
|
public sustainTime: number;
|
|
894
894
|
public repeat: boolean;
|
|
895
895
|
public absoluteTarget: boolean;
|
|
@@ -906,7 +906,7 @@ export namespace motionmaster {
|
|
|
906
906
|
}
|
|
907
907
|
|
|
908
908
|
interface IPositionRamp {
|
|
909
|
-
target?: (number|null);
|
|
909
|
+
target?: (number|Long|null);
|
|
910
910
|
profileVelocity?: (number|null);
|
|
911
911
|
profileAcceleration?: (number|null);
|
|
912
912
|
profileDeceleration?: (number|null);
|
|
@@ -917,7 +917,7 @@ export namespace motionmaster {
|
|
|
917
917
|
|
|
918
918
|
class PositionRamp implements IPositionRamp {
|
|
919
919
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionRamp);
|
|
920
|
-
public target: number;
|
|
920
|
+
public target: (number|Long);
|
|
921
921
|
public profileVelocity: number;
|
|
922
922
|
public profileAcceleration: number;
|
|
923
923
|
public profileDeceleration: number;
|
|
@@ -937,7 +937,7 @@ export namespace motionmaster {
|
|
|
937
937
|
}
|
|
938
938
|
|
|
939
939
|
interface IPositionTrapezoidal {
|
|
940
|
-
target?: (number|null);
|
|
940
|
+
target?: (number|Long|null);
|
|
941
941
|
profileVelocity?: (number|null);
|
|
942
942
|
profileAcceleration?: (number|null);
|
|
943
943
|
profileDeceleration?: (number|null);
|
|
@@ -949,7 +949,7 @@ export namespace motionmaster {
|
|
|
949
949
|
|
|
950
950
|
class PositionTrapezoidal implements IPositionTrapezoidal {
|
|
951
951
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionTrapezoidal);
|
|
952
|
-
public target: number;
|
|
952
|
+
public target: (number|Long);
|
|
953
953
|
public profileVelocity: number;
|
|
954
954
|
public profileAcceleration: number;
|
|
955
955
|
public profileDeceleration: number;
|
|
@@ -970,7 +970,7 @@ export namespace motionmaster {
|
|
|
970
970
|
}
|
|
971
971
|
|
|
972
972
|
interface IPositionBidirectional {
|
|
973
|
-
target?: (number|null);
|
|
973
|
+
target?: (number|Long|null);
|
|
974
974
|
profileVelocity?: (number|null);
|
|
975
975
|
profileAcceleration?: (number|null);
|
|
976
976
|
profileDeceleration?: (number|null);
|
|
@@ -982,7 +982,7 @@ export namespace motionmaster {
|
|
|
982
982
|
|
|
983
983
|
class PositionBidirectional implements IPositionBidirectional {
|
|
984
984
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionBidirectional);
|
|
985
|
-
public target: number;
|
|
985
|
+
public target: (number|Long);
|
|
986
986
|
public profileVelocity: number;
|
|
987
987
|
public profileAcceleration: number;
|
|
988
988
|
public profileDeceleration: number;
|
|
@@ -1003,7 +1003,7 @@ export namespace motionmaster {
|
|
|
1003
1003
|
}
|
|
1004
1004
|
|
|
1005
1005
|
interface IPositionSineWave {
|
|
1006
|
-
amplitude?: (number|null);
|
|
1006
|
+
amplitude?: (number|Long|null);
|
|
1007
1007
|
frequency?: (number|null);
|
|
1008
1008
|
repeat?: (boolean|null);
|
|
1009
1009
|
absoluteTarget?: (boolean|null);
|
|
@@ -1011,7 +1011,7 @@ export namespace motionmaster {
|
|
|
1011
1011
|
|
|
1012
1012
|
class PositionSineWave implements IPositionSineWave {
|
|
1013
1013
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.IPositionSineWave);
|
|
1014
|
-
public amplitude: number;
|
|
1014
|
+
public amplitude: (number|Long);
|
|
1015
1015
|
public frequency: number;
|
|
1016
1016
|
public repeat: boolean;
|
|
1017
1017
|
public absoluteTarget: boolean;
|
|
@@ -1635,7 +1635,7 @@ export namespace motionmaster {
|
|
|
1635
1635
|
|
|
1636
1636
|
interface IStartOpenLoopFieldControl {
|
|
1637
1637
|
deviceAddress?: (number|null);
|
|
1638
|
-
angle?: (number|null);
|
|
1638
|
+
angle?: (number|Long|null);
|
|
1639
1639
|
velocity?: (number|null);
|
|
1640
1640
|
acceleration?: (number|null);
|
|
1641
1641
|
torque?: (number|null);
|
|
@@ -1645,7 +1645,7 @@ export namespace motionmaster {
|
|
|
1645
1645
|
class StartOpenLoopFieldControl implements IStartOpenLoopFieldControl {
|
|
1646
1646
|
constructor(properties?: motionmaster.MotionMasterMessage.Request.IStartOpenLoopFieldControl);
|
|
1647
1647
|
public deviceAddress: number;
|
|
1648
|
-
public angle: number;
|
|
1648
|
+
public angle: (number|Long);
|
|
1649
1649
|
public velocity: number;
|
|
1650
1650
|
public acceleration: number;
|
|
1651
1651
|
public torque: number;
|
|
@@ -2272,8 +2272,8 @@ export namespace motionmaster {
|
|
|
2272
2272
|
interface IParameterValue {
|
|
2273
2273
|
index?: (number|null);
|
|
2274
2274
|
subindex?: (number|null);
|
|
2275
|
-
intValue?: (number|null);
|
|
2276
|
-
uintValue?: (number|null);
|
|
2275
|
+
intValue?: (number|Long|null);
|
|
2276
|
+
uintValue?: (number|Long|null);
|
|
2277
2277
|
floatValue?: (number|null);
|
|
2278
2278
|
stringValue?: (string|null);
|
|
2279
2279
|
rawValue?: (Uint8Array|null);
|
|
@@ -2285,8 +2285,8 @@ export namespace motionmaster {
|
|
|
2285
2285
|
constructor(properties?: motionmaster.MotionMasterMessage.Status.DeviceParameterValues.IParameterValue);
|
|
2286
2286
|
public index: number;
|
|
2287
2287
|
public subindex: number;
|
|
2288
|
-
public intValue?: (number|null);
|
|
2289
|
-
public uintValue?: (number|null);
|
|
2288
|
+
public intValue?: (number|Long|null);
|
|
2289
|
+
public uintValue?: (number|Long|null);
|
|
2290
2290
|
public floatValue?: (number|null);
|
|
2291
2291
|
public stringValue?: (string|null);
|
|
2292
2292
|
public rawValue?: (Uint8Array|null);
|
|
@@ -4233,7 +4233,7 @@ export namespace motionmaster {
|
|
|
4233
4233
|
deviceAddress?: (number|null);
|
|
4234
4234
|
encoderOrdinal?: (number|null);
|
|
4235
4235
|
distance?: (number|null);
|
|
4236
|
-
position?: (number|null);
|
|
4236
|
+
position?: (number|Long|null);
|
|
4237
4237
|
}
|
|
4238
4238
|
|
|
4239
4239
|
class CirculoEncoderMagnetDistance implements ICirculoEncoderMagnetDistance {
|
|
@@ -4241,7 +4241,7 @@ export namespace motionmaster {
|
|
|
4241
4241
|
public deviceAddress: number;
|
|
4242
4242
|
public encoderOrdinal: number;
|
|
4243
4243
|
public distance: number;
|
|
4244
|
-
public position: number;
|
|
4244
|
+
public position: (number|Long);
|
|
4245
4245
|
public static create(properties?: motionmaster.MotionMasterMessage.Status.ICirculoEncoderMagnetDistance): motionmaster.MotionMasterMessage.Status.CirculoEncoderMagnetDistance;
|
|
4246
4246
|
public static encode(message: motionmaster.MotionMasterMessage.Status.ICirculoEncoderMagnetDistance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4247
4247
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.ICirculoEncoderMagnetDistance, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -4357,7 +4357,7 @@ export namespace motionmaster {
|
|
|
4357
4357
|
|
|
4358
4358
|
interface IProgress {
|
|
4359
4359
|
iteration?: (number|null);
|
|
4360
|
-
phaseError?: (number[]|null);
|
|
4360
|
+
phaseError?: ((number|Long)[]|null);
|
|
4361
4361
|
position?: (number[]|null);
|
|
4362
4362
|
final?: (boolean|null);
|
|
4363
4363
|
}
|
|
@@ -4365,7 +4365,7 @@ export namespace motionmaster {
|
|
|
4365
4365
|
class Progress implements IProgress {
|
|
4366
4366
|
constructor(properties?: motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.IProgress);
|
|
4367
4367
|
public iteration: number;
|
|
4368
|
-
public phaseError: number[];
|
|
4368
|
+
public phaseError: (number|Long)[];
|
|
4369
4369
|
public position: number[];
|
|
4370
4370
|
public final: boolean;
|
|
4371
4371
|
public static create(properties?: motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.IProgress): motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.Progress;
|
|
@@ -3886,8 +3886,8 @@ $root.motionmaster = (() => {
|
|
|
3886
3886
|
* @interface IParameterValue
|
|
3887
3887
|
* @property {number|null} [index] ParameterValue index
|
|
3888
3888
|
* @property {number|null} [subindex] ParameterValue subindex
|
|
3889
|
-
* @property {number|null} [intValue] ParameterValue intValue
|
|
3890
|
-
* @property {number|null} [uintValue] ParameterValue uintValue
|
|
3889
|
+
* @property {number|Long|null} [intValue] ParameterValue intValue
|
|
3890
|
+
* @property {number|Long|null} [uintValue] ParameterValue uintValue
|
|
3891
3891
|
* @property {number|null} [floatValue] ParameterValue floatValue
|
|
3892
3892
|
* @property {string|null} [stringValue] ParameterValue stringValue
|
|
3893
3893
|
* @property {Uint8Array|null} [rawValue] ParameterValue rawValue
|
|
@@ -3926,7 +3926,7 @@ $root.motionmaster = (() => {
|
|
|
3926
3926
|
|
|
3927
3927
|
/**
|
|
3928
3928
|
* ParameterValue intValue.
|
|
3929
|
-
* @member {number|null|undefined} intValue
|
|
3929
|
+
* @member {number|Long|null|undefined} intValue
|
|
3930
3930
|
* @memberof motionmaster.MotionMasterMessage.Request.SetDeviceParameterValues.ParameterValue
|
|
3931
3931
|
* @instance
|
|
3932
3932
|
*/
|
|
@@ -3934,7 +3934,7 @@ $root.motionmaster = (() => {
|
|
|
3934
3934
|
|
|
3935
3935
|
/**
|
|
3936
3936
|
* ParameterValue uintValue.
|
|
3937
|
-
* @member {number|null|undefined} uintValue
|
|
3937
|
+
* @member {number|Long|null|undefined} uintValue
|
|
3938
3938
|
* @memberof motionmaster.MotionMasterMessage.Request.SetDeviceParameterValues.ParameterValue
|
|
3939
3939
|
* @instance
|
|
3940
3940
|
*/
|
|
@@ -10039,7 +10039,7 @@ $root.motionmaster = (() => {
|
|
|
10039
10039
|
* Properties of a PositionStepResponse.
|
|
10040
10040
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters
|
|
10041
10041
|
* @interface IPositionStepResponse
|
|
10042
|
-
* @property {number|null} [target] PositionStepResponse target
|
|
10042
|
+
* @property {number|Long|null} [target] PositionStepResponse target
|
|
10043
10043
|
* @property {number|null} [sustainTime] PositionStepResponse sustainTime
|
|
10044
10044
|
* @property {boolean|null} [absoluteTarget] PositionStepResponse absoluteTarget
|
|
10045
10045
|
*/
|
|
@@ -10061,7 +10061,7 @@ $root.motionmaster = (() => {
|
|
|
10061
10061
|
|
|
10062
10062
|
/**
|
|
10063
10063
|
* PositionStepResponse target.
|
|
10064
|
-
* @member {number} target
|
|
10064
|
+
* @member {number|Long} target
|
|
10065
10065
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionStepResponse
|
|
10066
10066
|
* @instance
|
|
10067
10067
|
*/
|
|
@@ -10303,7 +10303,7 @@ $root.motionmaster = (() => {
|
|
|
10303
10303
|
* Properties of a PositionAdvancedStepResponse.
|
|
10304
10304
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters
|
|
10305
10305
|
* @interface IPositionAdvancedStepResponse
|
|
10306
|
-
* @property {number|null} [target] PositionAdvancedStepResponse target
|
|
10306
|
+
* @property {number|Long|null} [target] PositionAdvancedStepResponse target
|
|
10307
10307
|
* @property {number|null} [sustainTime] PositionAdvancedStepResponse sustainTime
|
|
10308
10308
|
* @property {boolean|null} [repeat] PositionAdvancedStepResponse repeat
|
|
10309
10309
|
* @property {boolean|null} [absoluteTarget] PositionAdvancedStepResponse absoluteTarget
|
|
@@ -10326,7 +10326,7 @@ $root.motionmaster = (() => {
|
|
|
10326
10326
|
|
|
10327
10327
|
/**
|
|
10328
10328
|
* PositionAdvancedStepResponse target.
|
|
10329
|
-
* @member {number} target
|
|
10329
|
+
* @member {number|Long} target
|
|
10330
10330
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionAdvancedStepResponse
|
|
10331
10331
|
* @instance
|
|
10332
10332
|
*/
|
|
@@ -10590,7 +10590,7 @@ $root.motionmaster = (() => {
|
|
|
10590
10590
|
* Properties of a PositionRamp.
|
|
10591
10591
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters
|
|
10592
10592
|
* @interface IPositionRamp
|
|
10593
|
-
* @property {number|null} [target] PositionRamp target
|
|
10593
|
+
* @property {number|Long|null} [target] PositionRamp target
|
|
10594
10594
|
* @property {number|null} [profileVelocity] PositionRamp profileVelocity
|
|
10595
10595
|
* @property {number|null} [profileAcceleration] PositionRamp profileAcceleration
|
|
10596
10596
|
* @property {number|null} [profileDeceleration] PositionRamp profileDeceleration
|
|
@@ -10616,7 +10616,7 @@ $root.motionmaster = (() => {
|
|
|
10616
10616
|
|
|
10617
10617
|
/**
|
|
10618
10618
|
* PositionRamp target.
|
|
10619
|
-
* @member {number} target
|
|
10619
|
+
* @member {number|Long} target
|
|
10620
10620
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionRamp
|
|
10621
10621
|
* @instance
|
|
10622
10622
|
*/
|
|
@@ -10946,7 +10946,7 @@ $root.motionmaster = (() => {
|
|
|
10946
10946
|
* Properties of a PositionTrapezoidal.
|
|
10947
10947
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters
|
|
10948
10948
|
* @interface IPositionTrapezoidal
|
|
10949
|
-
* @property {number|null} [target] PositionTrapezoidal target
|
|
10949
|
+
* @property {number|Long|null} [target] PositionTrapezoidal target
|
|
10950
10950
|
* @property {number|null} [profileVelocity] PositionTrapezoidal profileVelocity
|
|
10951
10951
|
* @property {number|null} [profileAcceleration] PositionTrapezoidal profileAcceleration
|
|
10952
10952
|
* @property {number|null} [profileDeceleration] PositionTrapezoidal profileDeceleration
|
|
@@ -10973,7 +10973,7 @@ $root.motionmaster = (() => {
|
|
|
10973
10973
|
|
|
10974
10974
|
/**
|
|
10975
10975
|
* PositionTrapezoidal target.
|
|
10976
|
-
* @member {number} target
|
|
10976
|
+
* @member {number|Long} target
|
|
10977
10977
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionTrapezoidal
|
|
10978
10978
|
* @instance
|
|
10979
10979
|
*/
|
|
@@ -11325,7 +11325,7 @@ $root.motionmaster = (() => {
|
|
|
11325
11325
|
* Properties of a PositionBidirectional.
|
|
11326
11326
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters
|
|
11327
11327
|
* @interface IPositionBidirectional
|
|
11328
|
-
* @property {number|null} [target] PositionBidirectional target
|
|
11328
|
+
* @property {number|Long|null} [target] PositionBidirectional target
|
|
11329
11329
|
* @property {number|null} [profileVelocity] PositionBidirectional profileVelocity
|
|
11330
11330
|
* @property {number|null} [profileAcceleration] PositionBidirectional profileAcceleration
|
|
11331
11331
|
* @property {number|null} [profileDeceleration] PositionBidirectional profileDeceleration
|
|
@@ -11352,7 +11352,7 @@ $root.motionmaster = (() => {
|
|
|
11352
11352
|
|
|
11353
11353
|
/**
|
|
11354
11354
|
* PositionBidirectional target.
|
|
11355
|
-
* @member {number} target
|
|
11355
|
+
* @member {number|Long} target
|
|
11356
11356
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionBidirectional
|
|
11357
11357
|
* @instance
|
|
11358
11358
|
*/
|
|
@@ -11704,7 +11704,7 @@ $root.motionmaster = (() => {
|
|
|
11704
11704
|
* Properties of a PositionSineWave.
|
|
11705
11705
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters
|
|
11706
11706
|
* @interface IPositionSineWave
|
|
11707
|
-
* @property {number|null} [amplitude] PositionSineWave amplitude
|
|
11707
|
+
* @property {number|Long|null} [amplitude] PositionSineWave amplitude
|
|
11708
11708
|
* @property {number|null} [frequency] PositionSineWave frequency
|
|
11709
11709
|
* @property {boolean|null} [repeat] PositionSineWave repeat
|
|
11710
11710
|
* @property {boolean|null} [absoluteTarget] PositionSineWave absoluteTarget
|
|
@@ -11727,7 +11727,7 @@ $root.motionmaster = (() => {
|
|
|
11727
11727
|
|
|
11728
11728
|
/**
|
|
11729
11729
|
* PositionSineWave amplitude.
|
|
11730
|
-
* @member {number} amplitude
|
|
11730
|
+
* @member {number|Long} amplitude
|
|
11731
11731
|
* @memberof motionmaster.MotionMasterMessage.Request.SetSignalGeneratorParameters.PositionSineWave
|
|
11732
11732
|
* @instance
|
|
11733
11733
|
*/
|
|
@@ -18409,7 +18409,7 @@ $root.motionmaster = (() => {
|
|
|
18409
18409
|
* @memberof motionmaster.MotionMasterMessage.Request
|
|
18410
18410
|
* @interface IStartOpenLoopFieldControl
|
|
18411
18411
|
* @property {number|null} [deviceAddress] StartOpenLoopFieldControl deviceAddress
|
|
18412
|
-
* @property {number|null} [angle] StartOpenLoopFieldControl angle
|
|
18412
|
+
* @property {number|Long|null} [angle] StartOpenLoopFieldControl angle
|
|
18413
18413
|
* @property {number|null} [velocity] StartOpenLoopFieldControl velocity
|
|
18414
18414
|
* @property {number|null} [acceleration] StartOpenLoopFieldControl acceleration
|
|
18415
18415
|
* @property {number|null} [torque] StartOpenLoopFieldControl torque
|
|
@@ -18441,7 +18441,7 @@ $root.motionmaster = (() => {
|
|
|
18441
18441
|
|
|
18442
18442
|
/**
|
|
18443
18443
|
* StartOpenLoopFieldControl angle.
|
|
18444
|
-
* @member {number} angle
|
|
18444
|
+
* @member {number|Long} angle
|
|
18445
18445
|
* @memberof motionmaster.MotionMasterMessage.Request.StartOpenLoopFieldControl
|
|
18446
18446
|
* @instance
|
|
18447
18447
|
*/
|
|
@@ -25166,8 +25166,8 @@ $root.motionmaster = (() => {
|
|
|
25166
25166
|
* @interface IParameterValue
|
|
25167
25167
|
* @property {number|null} [index] ParameterValue index
|
|
25168
25168
|
* @property {number|null} [subindex] ParameterValue subindex
|
|
25169
|
-
* @property {number|null} [intValue] ParameterValue intValue
|
|
25170
|
-
* @property {number|null} [uintValue] ParameterValue uintValue
|
|
25169
|
+
* @property {number|Long|null} [intValue] ParameterValue intValue
|
|
25170
|
+
* @property {number|Long|null} [uintValue] ParameterValue uintValue
|
|
25171
25171
|
* @property {number|null} [floatValue] ParameterValue floatValue
|
|
25172
25172
|
* @property {string|null} [stringValue] ParameterValue stringValue
|
|
25173
25173
|
* @property {Uint8Array|null} [rawValue] ParameterValue rawValue
|
|
@@ -25208,7 +25208,7 @@ $root.motionmaster = (() => {
|
|
|
25208
25208
|
|
|
25209
25209
|
/**
|
|
25210
25210
|
* ParameterValue intValue.
|
|
25211
|
-
* @member {number|null|undefined} intValue
|
|
25211
|
+
* @member {number|Long|null|undefined} intValue
|
|
25212
25212
|
* @memberof motionmaster.MotionMasterMessage.Status.DeviceParameterValues.ParameterValue
|
|
25213
25213
|
* @instance
|
|
25214
25214
|
*/
|
|
@@ -25216,7 +25216,7 @@ $root.motionmaster = (() => {
|
|
|
25216
25216
|
|
|
25217
25217
|
/**
|
|
25218
25218
|
* ParameterValue uintValue.
|
|
25219
|
-
* @member {number|null|undefined} uintValue
|
|
25219
|
+
* @member {number|Long|null|undefined} uintValue
|
|
25220
25220
|
* @memberof motionmaster.MotionMasterMessage.Status.DeviceParameterValues.ParameterValue
|
|
25221
25221
|
* @instance
|
|
25222
25222
|
*/
|
|
@@ -43997,7 +43997,7 @@ $root.motionmaster = (() => {
|
|
|
43997
43997
|
* @property {number|null} [deviceAddress] CirculoEncoderMagnetDistance deviceAddress
|
|
43998
43998
|
* @property {number|null} [encoderOrdinal] CirculoEncoderMagnetDistance encoderOrdinal
|
|
43999
43999
|
* @property {number|null} [distance] CirculoEncoderMagnetDistance distance
|
|
44000
|
-
* @property {number|null} [position] CirculoEncoderMagnetDistance position
|
|
44000
|
+
* @property {number|Long|null} [position] CirculoEncoderMagnetDistance position
|
|
44001
44001
|
*/
|
|
44002
44002
|
|
|
44003
44003
|
/**
|
|
@@ -44041,7 +44041,7 @@ $root.motionmaster = (() => {
|
|
|
44041
44041
|
|
|
44042
44042
|
/**
|
|
44043
44043
|
* CirculoEncoderMagnetDistance position.
|
|
44044
|
-
* @member {number} position
|
|
44044
|
+
* @member {number|Long} position
|
|
44045
44045
|
* @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderMagnetDistance
|
|
44046
44046
|
* @instance
|
|
44047
44047
|
*/
|
|
@@ -45256,7 +45256,7 @@ $root.motionmaster = (() => {
|
|
|
45256
45256
|
* @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure
|
|
45257
45257
|
* @interface IProgress
|
|
45258
45258
|
* @property {number|null} [iteration] Progress iteration
|
|
45259
|
-
* @property {Array.<number>|null} [phaseError] Progress phaseError
|
|
45259
|
+
* @property {Array.<number|Long>|null} [phaseError] Progress phaseError
|
|
45260
45260
|
* @property {Array.<number>|null} [position] Progress position
|
|
45261
45261
|
* @property {boolean|null} [final] Progress final
|
|
45262
45262
|
*/
|
|
@@ -45288,7 +45288,7 @@ $root.motionmaster = (() => {
|
|
|
45288
45288
|
|
|
45289
45289
|
/**
|
|
45290
45290
|
* Progress phaseError.
|
|
45291
|
-
* @member {Array.<number>} phaseError
|
|
45291
|
+
* @member {Array.<number|Long>} phaseError
|
|
45292
45292
|
* @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.Progress
|
|
45293
45293
|
* @instance
|
|
45294
45294
|
*/
|
package/src/lib/types.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Long } from "protobufjs";
|
|
1
2
|
import { motionmaster } from "./motion-master.proto";
|
|
2
3
|
export import MotionMasterMessage = motionmaster.MotionMasterMessage;
|
|
3
4
|
export declare type StatusKey = keyof MotionMasterMessage.IStatus;
|
|
@@ -7,7 +8,7 @@ export declare class RequestError extends Error {
|
|
|
7
8
|
export declare type ParameterAddress = [number, number];
|
|
8
9
|
export declare type ParameterTypeValue = Omit<MotionMasterMessage.Request.SetDeviceParameterValues.IParameterValue, 'index' | 'subindex'>;
|
|
9
10
|
export declare type ParameterTypeValueKey = keyof ParameterTypeValue;
|
|
10
|
-
export declare type ParameterValueType = number |
|
|
11
|
+
export declare type ParameterValueType = string | number | Long | Uint8Array;
|
|
11
12
|
export declare type ParameterAddressValue = [number, number, ParameterValueType, ParameterTypeValueKey?];
|
|
12
13
|
export declare type DeviceRefObj = {
|
|
13
14
|
deviceAddress?: (number | null);
|
package/src/lib/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../libs/motion-master-client/src/lib/types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../libs/motion-master-client/src/lib/types.ts"],"names":[],"mappings":";;;AACA,+DAAqD;AAEvC,QAAA,mBAAmB,GAAG,kCAAY,CAAC,mBAAmB,CAAC;AASrE,MAAa,YAAa,SAAQ,KAAK;CAAI;AAA3C,oCAA2C;AAmB3C,6DAA6D;AAC/C,QAAA,oBAAoB,GAAG,2BAAmB,CAAC,OAAO,CAAC,uBAAuB,CAAC,KAAK,CAAC;AAE/F,6DAA6D;AAC/C,QAAA,cAAc,GAAG,2BAAmB,CAAC,OAAO,CAAC,sBAAsB,CAAC,cAAc,CAAC;AAwBjG,6DAA6D;AAC/C,QAAA,SAAS,GAAG,2BAAmB,CAAC,MAAM,CAAC,mBAAmB,CAAC,SAAS,CAAC,SAAS,CAAC;AAE7F,SAAgB,4BAA4B,CAAC,GAA6C;IACxF,OAAO,GAAG,CAAC,MAAM,GAAG,CAAC,IAAI,OAAO,GAAG,CAAC,CAAC,CAAC,KAAK,QAAQ,CAAC;AACtD,CAAC;AAFD,oEAEC;AAED,SAAgB,oCAAoC,CAAC,GAAoI;IACvL,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;AAC7B,CAAC;AAFD,oFAEC"}
|