motion-master-client 0.0.417 → 0.0.418

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "motion-master-client",
3
- "version": "0.0.417",
3
+ "version": "0.0.418",
4
4
  "type": "commonjs",
5
5
  "description": "A library and CLI program used for communicating with Motion Master.",
6
6
  "dependencies": {
@@ -4539,6 +4539,7 @@ export namespace motionmaster {
4539
4539
  phaseError?: (number[]|null);
4540
4540
  position?: (number[]|null);
4541
4541
  final?: (boolean|null);
4542
+ maxPermissiblePhaseError?: (number|null);
4542
4543
  }
4543
4544
 
4544
4545
  class Progress implements IProgress {
@@ -4547,6 +4548,7 @@ export namespace motionmaster {
4547
4548
  public phaseError: number[];
4548
4549
  public position: number[];
4549
4550
  public final: boolean;
4551
+ public maxPermissiblePhaseError: number;
4550
4552
  public static create(properties?: motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.IProgress): motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.Progress;
4551
4553
  public static encode(message: motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.IProgress, writer?: $protobuf.Writer): $protobuf.Writer;
4552
4554
  public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.IProgress, writer?: $protobuf.Writer): $protobuf.Writer;
@@ -47240,6 +47240,7 @@ $root.motionmaster = (() => {
47240
47240
  * @property {Array.<number>|null} [phaseError] Progress phaseError
47241
47241
  * @property {Array.<number>|null} [position] Progress position
47242
47242
  * @property {boolean|null} [final] Progress final
47243
+ * @property {number|null} [maxPermissiblePhaseError] Progress maxPermissiblePhaseError
47243
47244
  */
47244
47245
 
47245
47246
  /**
@@ -47291,6 +47292,14 @@ $root.motionmaster = (() => {
47291
47292
  */
47292
47293
  Progress.prototype.final = false;
47293
47294
 
47295
+ /**
47296
+ * Progress maxPermissiblePhaseError.
47297
+ * @member {number} maxPermissiblePhaseError
47298
+ * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure.Progress
47299
+ * @instance
47300
+ */
47301
+ Progress.prototype.maxPermissiblePhaseError = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
47302
+
47294
47303
  /**
47295
47304
  * Creates a new Progress instance using the specified properties.
47296
47305
  * @function create
@@ -47331,6 +47340,8 @@ $root.motionmaster = (() => {
47331
47340
  }
47332
47341
  if (message.final != null && Object.hasOwnProperty.call(message, "final"))
47333
47342
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.final);
47343
+ if (message.maxPermissiblePhaseError != null && Object.hasOwnProperty.call(message, "maxPermissiblePhaseError"))
47344
+ writer.uint32(/* id 5, wireType 0 =*/40).int64(message.maxPermissiblePhaseError);
47334
47345
  return writer;
47335
47346
  };
47336
47347
 
@@ -47395,6 +47406,10 @@ $root.motionmaster = (() => {
47395
47406
  message.final = reader.bool();
47396
47407
  break;
47397
47408
  }
47409
+ case 5: {
47410
+ message.maxPermissiblePhaseError = reader.int64();
47411
+ break;
47412
+ }
47398
47413
  default:
47399
47414
  reader.skipType(tag & 7);
47400
47415
  break;
@@ -47450,6 +47465,9 @@ $root.motionmaster = (() => {
47450
47465
  if (message.final != null && message.hasOwnProperty("final"))
47451
47466
  if (typeof message.final !== "boolean")
47452
47467
  return "final: boolean expected";
47468
+ if (message.maxPermissiblePhaseError != null && message.hasOwnProperty("maxPermissiblePhaseError"))
47469
+ if (!$util.isInteger(message.maxPermissiblePhaseError) && !(message.maxPermissiblePhaseError && $util.isInteger(message.maxPermissiblePhaseError.low) && $util.isInteger(message.maxPermissiblePhaseError.high)))
47470
+ return "maxPermissiblePhaseError: integer|Long expected";
47453
47471
  return null;
47454
47472
  };
47455
47473
 
@@ -47490,6 +47508,15 @@ $root.motionmaster = (() => {
47490
47508
  }
47491
47509
  if (object.final != null)
47492
47510
  message.final = Boolean(object.final);
47511
+ if (object.maxPermissiblePhaseError != null)
47512
+ if ($util.Long)
47513
+ (message.maxPermissiblePhaseError = $util.Long.fromValue(object.maxPermissiblePhaseError)).unsigned = false;
47514
+ else if (typeof object.maxPermissiblePhaseError === "string")
47515
+ message.maxPermissiblePhaseError = parseInt(object.maxPermissiblePhaseError, 10);
47516
+ else if (typeof object.maxPermissiblePhaseError === "number")
47517
+ message.maxPermissiblePhaseError = object.maxPermissiblePhaseError;
47518
+ else if (typeof object.maxPermissiblePhaseError === "object")
47519
+ message.maxPermissiblePhaseError = new $util.LongBits(object.maxPermissiblePhaseError.low >>> 0, object.maxPermissiblePhaseError.high >>> 0).toNumber();
47493
47520
  return message;
47494
47521
  };
47495
47522
 
@@ -47513,6 +47540,11 @@ $root.motionmaster = (() => {
47513
47540
  if (options.defaults) {
47514
47541
  object.iteration = 0;
47515
47542
  object.final = false;
47543
+ if ($util.Long) {
47544
+ let long = new $util.Long(0, 0, false);
47545
+ object.maxPermissiblePhaseError = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
47546
+ } else
47547
+ object.maxPermissiblePhaseError = options.longs === String ? "0" : 0;
47516
47548
  }
47517
47549
  if (message.iteration != null && message.hasOwnProperty("iteration"))
47518
47550
  object.iteration = message.iteration;
@@ -47531,6 +47563,11 @@ $root.motionmaster = (() => {
47531
47563
  }
47532
47564
  if (message.final != null && message.hasOwnProperty("final"))
47533
47565
  object.final = message.final;
47566
+ if (message.maxPermissiblePhaseError != null && message.hasOwnProperty("maxPermissiblePhaseError"))
47567
+ if (typeof message.maxPermissiblePhaseError === "number")
47568
+ object.maxPermissiblePhaseError = options.longs === String ? String(message.maxPermissiblePhaseError) : message.maxPermissiblePhaseError;
47569
+ else
47570
+ object.maxPermissiblePhaseError = options.longs === String ? $util.Long.prototype.toString.call(message.maxPermissiblePhaseError) : options.longs === Number ? new $util.LongBits(message.maxPermissiblePhaseError.low >>> 0, message.maxPermissiblePhaseError.high >>> 0).toNumber() : message.maxPermissiblePhaseError;
47534
47571
  return object;
47535
47572
  };
47536
47573