motion-master-client 0.0.352 → 0.0.354

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.
@@ -362,7 +362,6 @@ $root.motionmaster = (() => {
362
362
  * @property {motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null} [executeForwardCall] Request executeForwardCall
363
363
  * @property {motionmaster.MotionMasterMessage.Request.IGetSystemInformation|null} [getSystemInformation] Request getSystemInformation
364
364
  * @property {motionmaster.MotionMasterMessage.Request.ISetPdoMode|null} [setPdoMode] Request setPdoMode
365
- * @property {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderCalibrationProcedure|null} [startCirculoEncoderCalibrationProcedure] Request startCirculoEncoderCalibrationProcedure
366
365
  */
367
366
 
368
367
  /**
@@ -788,25 +787,17 @@ $root.motionmaster = (() => {
788
787
  */
789
788
  Request.prototype.setPdoMode = null;
790
789
 
791
- /**
792
- * Request startCirculoEncoderCalibrationProcedure.
793
- * @member {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderCalibrationProcedure|null|undefined} startCirculoEncoderCalibrationProcedure
794
- * @memberof motionmaster.MotionMasterMessage.Request
795
- * @instance
796
- */
797
- Request.prototype.startCirculoEncoderCalibrationProcedure = null;
798
-
799
790
  // OneOf field names bound to virtual getters and setters
800
791
  let $oneOfFields;
801
792
 
802
793
  /**
803
794
  * Request type.
804
- * @member {"pingSystem"|"getSystemVersion"|"getDeviceInfo"|"getDeviceParameterInfo"|"getDeviceParameterValues"|"getMultiDeviceParameterValues"|"setDeviceParameterValues"|"setMultiDeviceParameterValues"|"getDeviceFileList"|"getDeviceFile"|"setDeviceFile"|"deleteDeviceFile"|"resetDeviceFault"|"stopDevice"|"startDeviceFirmwareInstallation"|"getDeviceLog"|"startCoggingTorqueRecording"|"getCoggingTorqueData"|"startOffsetDetection"|"startPlantIdentification"|"computeAutoTuningGains"|"setMotionControllerParameters"|"enableMotionController"|"disableMotionController"|"setSignalGeneratorParameters"|"startSignalGenerator"|"stopSignalGenerator"|"startMonitoringDeviceParameterValues"|"stopMonitoringDeviceParameterValues"|"getEthercatNetworkState"|"setEthercatNetworkState"|"startNarrowAngleCalibration"|"setSystemClientTimeout"|"startSystemIdentification"|"getCirculoEncoderMagnetDistance"|"startCirculoEncoderNarrowAngleCalibrationProcedure"|"getDeviceCia402State"|"setDeviceCia402State"|"getSystemLog"|"startDeviceSiiRestore"|"startOpenLoopFieldControl"|"computeFullAutoTuningGains"|"startFullAutoTuning"|"stopFullAutoTuning"|"startCirculoEncoderConfiguration"|"stopCirculoEncoderNarrowAngleCalibrationProcedure"|"startOsCommand"|"executeForwardCall"|"getSystemInformation"|"setPdoMode"|"startCirculoEncoderCalibrationProcedure"|undefined} type
795
+ * @member {"pingSystem"|"getSystemVersion"|"getDeviceInfo"|"getDeviceParameterInfo"|"getDeviceParameterValues"|"getMultiDeviceParameterValues"|"setDeviceParameterValues"|"setMultiDeviceParameterValues"|"getDeviceFileList"|"getDeviceFile"|"setDeviceFile"|"deleteDeviceFile"|"resetDeviceFault"|"stopDevice"|"startDeviceFirmwareInstallation"|"getDeviceLog"|"startCoggingTorqueRecording"|"getCoggingTorqueData"|"startOffsetDetection"|"startPlantIdentification"|"computeAutoTuningGains"|"setMotionControllerParameters"|"enableMotionController"|"disableMotionController"|"setSignalGeneratorParameters"|"startSignalGenerator"|"stopSignalGenerator"|"startMonitoringDeviceParameterValues"|"stopMonitoringDeviceParameterValues"|"getEthercatNetworkState"|"setEthercatNetworkState"|"startNarrowAngleCalibration"|"setSystemClientTimeout"|"startSystemIdentification"|"getCirculoEncoderMagnetDistance"|"startCirculoEncoderNarrowAngleCalibrationProcedure"|"getDeviceCia402State"|"setDeviceCia402State"|"getSystemLog"|"startDeviceSiiRestore"|"startOpenLoopFieldControl"|"computeFullAutoTuningGains"|"startFullAutoTuning"|"stopFullAutoTuning"|"startCirculoEncoderConfiguration"|"stopCirculoEncoderNarrowAngleCalibrationProcedure"|"startOsCommand"|"executeForwardCall"|"getSystemInformation"|"setPdoMode"|undefined} type
805
796
  * @memberof motionmaster.MotionMasterMessage.Request
806
797
  * @instance
807
798
  */
808
799
  Object.defineProperty(Request.prototype, "type", {
809
- get: $util.oneOfGetter($oneOfFields = ["pingSystem", "getSystemVersion", "getDeviceInfo", "getDeviceParameterInfo", "getDeviceParameterValues", "getMultiDeviceParameterValues", "setDeviceParameterValues", "setMultiDeviceParameterValues", "getDeviceFileList", "getDeviceFile", "setDeviceFile", "deleteDeviceFile", "resetDeviceFault", "stopDevice", "startDeviceFirmwareInstallation", "getDeviceLog", "startCoggingTorqueRecording", "getCoggingTorqueData", "startOffsetDetection", "startPlantIdentification", "computeAutoTuningGains", "setMotionControllerParameters", "enableMotionController", "disableMotionController", "setSignalGeneratorParameters", "startSignalGenerator", "stopSignalGenerator", "startMonitoringDeviceParameterValues", "stopMonitoringDeviceParameterValues", "getEthercatNetworkState", "setEthercatNetworkState", "startNarrowAngleCalibration", "setSystemClientTimeout", "startSystemIdentification", "getCirculoEncoderMagnetDistance", "startCirculoEncoderNarrowAngleCalibrationProcedure", "getDeviceCia402State", "setDeviceCia402State", "getSystemLog", "startDeviceSiiRestore", "startOpenLoopFieldControl", "computeFullAutoTuningGains", "startFullAutoTuning", "stopFullAutoTuning", "startCirculoEncoderConfiguration", "stopCirculoEncoderNarrowAngleCalibrationProcedure", "startOsCommand", "executeForwardCall", "getSystemInformation", "setPdoMode", "startCirculoEncoderCalibrationProcedure"]),
800
+ get: $util.oneOfGetter($oneOfFields = ["pingSystem", "getSystemVersion", "getDeviceInfo", "getDeviceParameterInfo", "getDeviceParameterValues", "getMultiDeviceParameterValues", "setDeviceParameterValues", "setMultiDeviceParameterValues", "getDeviceFileList", "getDeviceFile", "setDeviceFile", "deleteDeviceFile", "resetDeviceFault", "stopDevice", "startDeviceFirmwareInstallation", "getDeviceLog", "startCoggingTorqueRecording", "getCoggingTorqueData", "startOffsetDetection", "startPlantIdentification", "computeAutoTuningGains", "setMotionControllerParameters", "enableMotionController", "disableMotionController", "setSignalGeneratorParameters", "startSignalGenerator", "stopSignalGenerator", "startMonitoringDeviceParameterValues", "stopMonitoringDeviceParameterValues", "getEthercatNetworkState", "setEthercatNetworkState", "startNarrowAngleCalibration", "setSystemClientTimeout", "startSystemIdentification", "getCirculoEncoderMagnetDistance", "startCirculoEncoderNarrowAngleCalibrationProcedure", "getDeviceCia402State", "setDeviceCia402State", "getSystemLog", "startDeviceSiiRestore", "startOpenLoopFieldControl", "computeFullAutoTuningGains", "startFullAutoTuning", "stopFullAutoTuning", "startCirculoEncoderConfiguration", "stopCirculoEncoderNarrowAngleCalibrationProcedure", "startOsCommand", "executeForwardCall", "getSystemInformation", "setPdoMode"]),
810
801
  set: $util.oneOfSetter($oneOfFields)
811
802
  });
812
803
 
@@ -936,8 +927,6 @@ $root.motionmaster = (() => {
936
927
  $root.motionmaster.MotionMasterMessage.Request.GetSystemInformation.encode(message.getSystemInformation, writer.uint32(/* id 149, wireType 2 =*/1194).fork()).ldelim();
937
928
  if (message.setPdoMode != null && Object.hasOwnProperty.call(message, "setPdoMode"))
938
929
  $root.motionmaster.MotionMasterMessage.Request.SetPdoMode.encode(message.setPdoMode, writer.uint32(/* id 150, wireType 2 =*/1202).fork()).ldelim();
939
- if (message.startCirculoEncoderCalibrationProcedure != null && Object.hasOwnProperty.call(message, "startCirculoEncoderCalibrationProcedure"))
940
- $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.encode(message.startCirculoEncoderCalibrationProcedure, writer.uint32(/* id 151, wireType 2 =*/1210).fork()).ldelim();
941
930
  return writer;
942
931
  };
943
932
 
@@ -1176,10 +1165,6 @@ $root.motionmaster = (() => {
1176
1165
  message.setPdoMode = $root.motionmaster.MotionMasterMessage.Request.SetPdoMode.decode(reader, reader.uint32());
1177
1166
  break;
1178
1167
  }
1179
- case 151: {
1180
- message.startCirculoEncoderCalibrationProcedure = $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.decode(reader, reader.uint32());
1181
- break;
1182
- }
1183
1168
  default:
1184
1169
  reader.skipType(tag & 7);
1185
1170
  break;
@@ -1717,16 +1702,6 @@ $root.motionmaster = (() => {
1717
1702
  return "setPdoMode." + error;
1718
1703
  }
1719
1704
  }
1720
- if (message.startCirculoEncoderCalibrationProcedure != null && message.hasOwnProperty("startCirculoEncoderCalibrationProcedure")) {
1721
- if (properties.type === 1)
1722
- return "type: multiple values";
1723
- properties.type = 1;
1724
- {
1725
- let error = $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.verify(message.startCirculoEncoderCalibrationProcedure);
1726
- if (error)
1727
- return "startCirculoEncoderCalibrationProcedure." + error;
1728
- }
1729
- }
1730
1705
  return null;
1731
1706
  };
1732
1707
 
@@ -1994,11 +1969,6 @@ $root.motionmaster = (() => {
1994
1969
  throw TypeError(".motionmaster.MotionMasterMessage.Request.setPdoMode: object expected");
1995
1970
  message.setPdoMode = $root.motionmaster.MotionMasterMessage.Request.SetPdoMode.fromObject(object.setPdoMode);
1996
1971
  }
1997
- if (object.startCirculoEncoderCalibrationProcedure != null) {
1998
- if (typeof object.startCirculoEncoderCalibrationProcedure !== "object")
1999
- throw TypeError(".motionmaster.MotionMasterMessage.Request.startCirculoEncoderCalibrationProcedure: object expected");
2000
- message.startCirculoEncoderCalibrationProcedure = $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.fromObject(object.startCirculoEncoderCalibrationProcedure);
2001
- }
2002
1972
  return message;
2003
1973
  };
2004
1974
 
@@ -2269,11 +2239,6 @@ $root.motionmaster = (() => {
2269
2239
  if (options.oneofs)
2270
2240
  object.type = "setPdoMode";
2271
2241
  }
2272
- if (message.startCirculoEncoderCalibrationProcedure != null && message.hasOwnProperty("startCirculoEncoderCalibrationProcedure")) {
2273
- object.startCirculoEncoderCalibrationProcedure = $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.toObject(message.startCirculoEncoderCalibrationProcedure, options);
2274
- if (options.oneofs)
2275
- object.type = "startCirculoEncoderCalibrationProcedure";
2276
- }
2277
2242
  return object;
2278
2243
  };
2279
2244
 
@@ -17493,6 +17458,7 @@ $root.motionmaster = (() => {
17493
17458
  * @property {boolean|null} [activateHealthMonitoring] StartCirculoEncoderNarrowAngleCalibrationProcedure activateHealthMonitoring
17494
17459
  * @property {boolean|null} [measurementOnly] StartCirculoEncoderNarrowAngleCalibrationProcedure measurementOnly
17495
17460
  * @property {number|null} [externalEncoderType] StartCirculoEncoderNarrowAngleCalibrationProcedure externalEncoderType
17461
+ * @property {number|null} [velocityBaseValueRpm] StartCirculoEncoderNarrowAngleCalibrationProcedure velocityBaseValueRpm
17496
17462
  */
17497
17463
 
17498
17464
  /**
@@ -17550,6 +17516,14 @@ $root.motionmaster = (() => {
17550
17516
  */
17551
17517
  StartCirculoEncoderNarrowAngleCalibrationProcedure.prototype.externalEncoderType = 0;
17552
17518
 
17519
+ /**
17520
+ * StartCirculoEncoderNarrowAngleCalibrationProcedure velocityBaseValueRpm.
17521
+ * @member {number} velocityBaseValueRpm
17522
+ * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderNarrowAngleCalibrationProcedure
17523
+ * @instance
17524
+ */
17525
+ StartCirculoEncoderNarrowAngleCalibrationProcedure.prototype.velocityBaseValueRpm = 0;
17526
+
17553
17527
  /**
17554
17528
  * Creates a new StartCirculoEncoderNarrowAngleCalibrationProcedure instance using the specified properties.
17555
17529
  * @function create
@@ -17584,6 +17558,8 @@ $root.motionmaster = (() => {
17584
17558
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.measurementOnly);
17585
17559
  if (message.externalEncoderType != null && Object.hasOwnProperty.call(message, "externalEncoderType"))
17586
17560
  writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.externalEncoderType);
17561
+ if (message.velocityBaseValueRpm != null && Object.hasOwnProperty.call(message, "velocityBaseValueRpm"))
17562
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.velocityBaseValueRpm);
17587
17563
  return writer;
17588
17564
  };
17589
17565
 
@@ -17638,6 +17614,10 @@ $root.motionmaster = (() => {
17638
17614
  message.externalEncoderType = reader.uint32();
17639
17615
  break;
17640
17616
  }
17617
+ case 6: {
17618
+ message.velocityBaseValueRpm = reader.int32();
17619
+ break;
17620
+ }
17641
17621
  default:
17642
17622
  reader.skipType(tag & 7);
17643
17623
  break;
@@ -17688,6 +17668,9 @@ $root.motionmaster = (() => {
17688
17668
  if (message.externalEncoderType != null && message.hasOwnProperty("externalEncoderType"))
17689
17669
  if (!$util.isInteger(message.externalEncoderType))
17690
17670
  return "externalEncoderType: integer expected";
17671
+ if (message.velocityBaseValueRpm != null && message.hasOwnProperty("velocityBaseValueRpm"))
17672
+ if (!$util.isInteger(message.velocityBaseValueRpm))
17673
+ return "velocityBaseValueRpm: integer expected";
17691
17674
  return null;
17692
17675
  };
17693
17676
 
@@ -17713,6 +17696,8 @@ $root.motionmaster = (() => {
17713
17696
  message.measurementOnly = Boolean(object.measurementOnly);
17714
17697
  if (object.externalEncoderType != null)
17715
17698
  message.externalEncoderType = object.externalEncoderType >>> 0;
17699
+ if (object.velocityBaseValueRpm != null)
17700
+ message.velocityBaseValueRpm = object.velocityBaseValueRpm | 0;
17716
17701
  return message;
17717
17702
  };
17718
17703
 
@@ -17735,6 +17720,7 @@ $root.motionmaster = (() => {
17735
17720
  object.activateHealthMonitoring = false;
17736
17721
  object.measurementOnly = false;
17737
17722
  object.externalEncoderType = 0;
17723
+ object.velocityBaseValueRpm = 0;
17738
17724
  }
17739
17725
  if (message.deviceAddress != null && message.hasOwnProperty("deviceAddress"))
17740
17726
  object.deviceAddress = message.deviceAddress;
@@ -17746,6 +17732,8 @@ $root.motionmaster = (() => {
17746
17732
  object.measurementOnly = message.measurementOnly;
17747
17733
  if (message.externalEncoderType != null && message.hasOwnProperty("externalEncoderType"))
17748
17734
  object.externalEncoderType = message.externalEncoderType;
17735
+ if (message.velocityBaseValueRpm != null && message.hasOwnProperty("velocityBaseValueRpm"))
17736
+ object.velocityBaseValueRpm = message.velocityBaseValueRpm;
17749
17737
  return object;
17750
17738
  };
17751
17739
 
@@ -21256,302 +21244,6 @@ $root.motionmaster = (() => {
21256
21244
  return SetPdoMode;
21257
21245
  })();
21258
21246
 
21259
- Request.StartCirculoEncoderCalibrationProcedure = (function() {
21260
-
21261
- /**
21262
- * Properties of a StartCirculoEncoderCalibrationProcedure.
21263
- * @memberof motionmaster.MotionMasterMessage.Request
21264
- * @interface IStartCirculoEncoderCalibrationProcedure
21265
- * @property {number|null} [deviceAddress] StartCirculoEncoderCalibrationProcedure deviceAddress
21266
- * @property {number|null} [encoderOrdinal] StartCirculoEncoderCalibrationProcedure encoderOrdinal
21267
- * @property {boolean|null} [activateHealthMonitoring] StartCirculoEncoderCalibrationProcedure activateHealthMonitoring
21268
- * @property {boolean|null} [measurementOnly] StartCirculoEncoderCalibrationProcedure measurementOnly
21269
- * @property {number|null} [externalEncoderType] StartCirculoEncoderCalibrationProcedure externalEncoderType
21270
- */
21271
-
21272
- /**
21273
- * Constructs a new StartCirculoEncoderCalibrationProcedure.
21274
- * @memberof motionmaster.MotionMasterMessage.Request
21275
- * @classdesc Represents a StartCirculoEncoderCalibrationProcedure.
21276
- * @implements IStartCirculoEncoderCalibrationProcedure
21277
- * @constructor
21278
- * @param {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderCalibrationProcedure=} [properties] Properties to set
21279
- */
21280
- function StartCirculoEncoderCalibrationProcedure(properties) {
21281
- if (properties)
21282
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
21283
- if (properties[keys[i]] != null)
21284
- this[keys[i]] = properties[keys[i]];
21285
- }
21286
-
21287
- /**
21288
- * StartCirculoEncoderCalibrationProcedure deviceAddress.
21289
- * @member {number} deviceAddress
21290
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21291
- * @instance
21292
- */
21293
- StartCirculoEncoderCalibrationProcedure.prototype.deviceAddress = 0;
21294
-
21295
- /**
21296
- * StartCirculoEncoderCalibrationProcedure encoderOrdinal.
21297
- * @member {number} encoderOrdinal
21298
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21299
- * @instance
21300
- */
21301
- StartCirculoEncoderCalibrationProcedure.prototype.encoderOrdinal = 0;
21302
-
21303
- /**
21304
- * StartCirculoEncoderCalibrationProcedure activateHealthMonitoring.
21305
- * @member {boolean} activateHealthMonitoring
21306
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21307
- * @instance
21308
- */
21309
- StartCirculoEncoderCalibrationProcedure.prototype.activateHealthMonitoring = false;
21310
-
21311
- /**
21312
- * StartCirculoEncoderCalibrationProcedure measurementOnly.
21313
- * @member {boolean} measurementOnly
21314
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21315
- * @instance
21316
- */
21317
- StartCirculoEncoderCalibrationProcedure.prototype.measurementOnly = false;
21318
-
21319
- /**
21320
- * StartCirculoEncoderCalibrationProcedure externalEncoderType.
21321
- * @member {number} externalEncoderType
21322
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21323
- * @instance
21324
- */
21325
- StartCirculoEncoderCalibrationProcedure.prototype.externalEncoderType = 0;
21326
-
21327
- /**
21328
- * Creates a new StartCirculoEncoderCalibrationProcedure instance using the specified properties.
21329
- * @function create
21330
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21331
- * @static
21332
- * @param {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderCalibrationProcedure=} [properties] Properties to set
21333
- * @returns {motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure} StartCirculoEncoderCalibrationProcedure instance
21334
- */
21335
- StartCirculoEncoderCalibrationProcedure.create = function create(properties) {
21336
- return new StartCirculoEncoderCalibrationProcedure(properties);
21337
- };
21338
-
21339
- /**
21340
- * Encodes the specified StartCirculoEncoderCalibrationProcedure message. Does not implicitly {@link motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.verify|verify} messages.
21341
- * @function encode
21342
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21343
- * @static
21344
- * @param {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderCalibrationProcedure} message StartCirculoEncoderCalibrationProcedure message or plain object to encode
21345
- * @param {$protobuf.Writer} [writer] Writer to encode to
21346
- * @returns {$protobuf.Writer} Writer
21347
- */
21348
- StartCirculoEncoderCalibrationProcedure.encode = function encode(message, writer) {
21349
- if (!writer)
21350
- writer = $Writer.create();
21351
- if (message.deviceAddress != null && Object.hasOwnProperty.call(message, "deviceAddress"))
21352
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.deviceAddress);
21353
- if (message.encoderOrdinal != null && Object.hasOwnProperty.call(message, "encoderOrdinal"))
21354
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.encoderOrdinal);
21355
- if (message.activateHealthMonitoring != null && Object.hasOwnProperty.call(message, "activateHealthMonitoring"))
21356
- writer.uint32(/* id 3, wireType 0 =*/24).bool(message.activateHealthMonitoring);
21357
- if (message.measurementOnly != null && Object.hasOwnProperty.call(message, "measurementOnly"))
21358
- writer.uint32(/* id 4, wireType 0 =*/32).bool(message.measurementOnly);
21359
- if (message.externalEncoderType != null && Object.hasOwnProperty.call(message, "externalEncoderType"))
21360
- writer.uint32(/* id 5, wireType 0 =*/40).uint32(message.externalEncoderType);
21361
- return writer;
21362
- };
21363
-
21364
- /**
21365
- * Encodes the specified StartCirculoEncoderCalibrationProcedure message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure.verify|verify} messages.
21366
- * @function encodeDelimited
21367
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21368
- * @static
21369
- * @param {motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderCalibrationProcedure} message StartCirculoEncoderCalibrationProcedure message or plain object to encode
21370
- * @param {$protobuf.Writer} [writer] Writer to encode to
21371
- * @returns {$protobuf.Writer} Writer
21372
- */
21373
- StartCirculoEncoderCalibrationProcedure.encodeDelimited = function encodeDelimited(message, writer) {
21374
- return this.encode(message, writer).ldelim();
21375
- };
21376
-
21377
- /**
21378
- * Decodes a StartCirculoEncoderCalibrationProcedure message from the specified reader or buffer.
21379
- * @function decode
21380
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21381
- * @static
21382
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21383
- * @param {number} [length] Message length if known beforehand
21384
- * @returns {motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure} StartCirculoEncoderCalibrationProcedure
21385
- * @throws {Error} If the payload is not a reader or valid buffer
21386
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
21387
- */
21388
- StartCirculoEncoderCalibrationProcedure.decode = function decode(reader, length) {
21389
- if (!(reader instanceof $Reader))
21390
- reader = $Reader.create(reader);
21391
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure();
21392
- while (reader.pos < end) {
21393
- let tag = reader.uint32();
21394
- switch (tag >>> 3) {
21395
- case 1: {
21396
- message.deviceAddress = reader.uint32();
21397
- break;
21398
- }
21399
- case 2: {
21400
- message.encoderOrdinal = reader.uint32();
21401
- break;
21402
- }
21403
- case 3: {
21404
- message.activateHealthMonitoring = reader.bool();
21405
- break;
21406
- }
21407
- case 4: {
21408
- message.measurementOnly = reader.bool();
21409
- break;
21410
- }
21411
- case 5: {
21412
- message.externalEncoderType = reader.uint32();
21413
- break;
21414
- }
21415
- default:
21416
- reader.skipType(tag & 7);
21417
- break;
21418
- }
21419
- }
21420
- return message;
21421
- };
21422
-
21423
- /**
21424
- * Decodes a StartCirculoEncoderCalibrationProcedure message from the specified reader or buffer, length delimited.
21425
- * @function decodeDelimited
21426
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21427
- * @static
21428
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21429
- * @returns {motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure} StartCirculoEncoderCalibrationProcedure
21430
- * @throws {Error} If the payload is not a reader or valid buffer
21431
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
21432
- */
21433
- StartCirculoEncoderCalibrationProcedure.decodeDelimited = function decodeDelimited(reader) {
21434
- if (!(reader instanceof $Reader))
21435
- reader = new $Reader(reader);
21436
- return this.decode(reader, reader.uint32());
21437
- };
21438
-
21439
- /**
21440
- * Verifies a StartCirculoEncoderCalibrationProcedure message.
21441
- * @function verify
21442
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21443
- * @static
21444
- * @param {Object.<string,*>} message Plain object to verify
21445
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
21446
- */
21447
- StartCirculoEncoderCalibrationProcedure.verify = function verify(message) {
21448
- if (typeof message !== "object" || message === null)
21449
- return "object expected";
21450
- if (message.deviceAddress != null && message.hasOwnProperty("deviceAddress"))
21451
- if (!$util.isInteger(message.deviceAddress))
21452
- return "deviceAddress: integer expected";
21453
- if (message.encoderOrdinal != null && message.hasOwnProperty("encoderOrdinal"))
21454
- if (!$util.isInteger(message.encoderOrdinal))
21455
- return "encoderOrdinal: integer expected";
21456
- if (message.activateHealthMonitoring != null && message.hasOwnProperty("activateHealthMonitoring"))
21457
- if (typeof message.activateHealthMonitoring !== "boolean")
21458
- return "activateHealthMonitoring: boolean expected";
21459
- if (message.measurementOnly != null && message.hasOwnProperty("measurementOnly"))
21460
- if (typeof message.measurementOnly !== "boolean")
21461
- return "measurementOnly: boolean expected";
21462
- if (message.externalEncoderType != null && message.hasOwnProperty("externalEncoderType"))
21463
- if (!$util.isInteger(message.externalEncoderType))
21464
- return "externalEncoderType: integer expected";
21465
- return null;
21466
- };
21467
-
21468
- /**
21469
- * Creates a StartCirculoEncoderCalibrationProcedure message from a plain object. Also converts values to their respective internal types.
21470
- * @function fromObject
21471
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21472
- * @static
21473
- * @param {Object.<string,*>} object Plain object
21474
- * @returns {motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure} StartCirculoEncoderCalibrationProcedure
21475
- */
21476
- StartCirculoEncoderCalibrationProcedure.fromObject = function fromObject(object) {
21477
- if (object instanceof $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure)
21478
- return object;
21479
- let message = new $root.motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure();
21480
- if (object.deviceAddress != null)
21481
- message.deviceAddress = object.deviceAddress >>> 0;
21482
- if (object.encoderOrdinal != null)
21483
- message.encoderOrdinal = object.encoderOrdinal >>> 0;
21484
- if (object.activateHealthMonitoring != null)
21485
- message.activateHealthMonitoring = Boolean(object.activateHealthMonitoring);
21486
- if (object.measurementOnly != null)
21487
- message.measurementOnly = Boolean(object.measurementOnly);
21488
- if (object.externalEncoderType != null)
21489
- message.externalEncoderType = object.externalEncoderType >>> 0;
21490
- return message;
21491
- };
21492
-
21493
- /**
21494
- * Creates a plain object from a StartCirculoEncoderCalibrationProcedure message. Also converts values to other types if specified.
21495
- * @function toObject
21496
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21497
- * @static
21498
- * @param {motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure} message StartCirculoEncoderCalibrationProcedure
21499
- * @param {$protobuf.IConversionOptions} [options] Conversion options
21500
- * @returns {Object.<string,*>} Plain object
21501
- */
21502
- StartCirculoEncoderCalibrationProcedure.toObject = function toObject(message, options) {
21503
- if (!options)
21504
- options = {};
21505
- let object = {};
21506
- if (options.defaults) {
21507
- object.deviceAddress = 0;
21508
- object.encoderOrdinal = 0;
21509
- object.activateHealthMonitoring = false;
21510
- object.measurementOnly = false;
21511
- object.externalEncoderType = 0;
21512
- }
21513
- if (message.deviceAddress != null && message.hasOwnProperty("deviceAddress"))
21514
- object.deviceAddress = message.deviceAddress;
21515
- if (message.encoderOrdinal != null && message.hasOwnProperty("encoderOrdinal"))
21516
- object.encoderOrdinal = message.encoderOrdinal;
21517
- if (message.activateHealthMonitoring != null && message.hasOwnProperty("activateHealthMonitoring"))
21518
- object.activateHealthMonitoring = message.activateHealthMonitoring;
21519
- if (message.measurementOnly != null && message.hasOwnProperty("measurementOnly"))
21520
- object.measurementOnly = message.measurementOnly;
21521
- if (message.externalEncoderType != null && message.hasOwnProperty("externalEncoderType"))
21522
- object.externalEncoderType = message.externalEncoderType;
21523
- return object;
21524
- };
21525
-
21526
- /**
21527
- * Converts this StartCirculoEncoderCalibrationProcedure to JSON.
21528
- * @function toJSON
21529
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21530
- * @instance
21531
- * @returns {Object.<string,*>} JSON object
21532
- */
21533
- StartCirculoEncoderCalibrationProcedure.prototype.toJSON = function toJSON() {
21534
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
21535
- };
21536
-
21537
- /**
21538
- * Gets the default type url for StartCirculoEncoderCalibrationProcedure
21539
- * @function getTypeUrl
21540
- * @memberof motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure
21541
- * @static
21542
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21543
- * @returns {string} The default type url
21544
- */
21545
- StartCirculoEncoderCalibrationProcedure.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
21546
- if (typeUrlPrefix === undefined) {
21547
- typeUrlPrefix = "type.googleapis.com";
21548
- }
21549
- return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Request.StartCirculoEncoderCalibrationProcedure";
21550
- };
21551
-
21552
- return StartCirculoEncoderCalibrationProcedure;
21553
- })();
21554
-
21555
21247
  return Request;
21556
21248
  })();
21557
21249
 
@@ -21598,7 +21290,6 @@ $root.motionmaster = (() => {
21598
21290
  * @property {motionmaster.MotionMasterMessage.Status.IForwardCall|null} [forwardCall] Status forwardCall
21599
21291
  * @property {motionmaster.MotionMasterMessage.Status.ISystemInformation|null} [systemInformation] Status systemInformation
21600
21292
  * @property {motionmaster.MotionMasterMessage.Status.IPdoMode|null} [pdoMode] Status pdoMode
21601
- * @property {motionmaster.MotionMasterMessage.Status.ICirculoEncoderCalibrationProcedure|null} [circuloEncoderCalibrationProcedure] Status circuloEncoderCalibrationProcedure
21602
21293
  */
21603
21294
 
21604
21295
  /**
@@ -21912,25 +21603,17 @@ $root.motionmaster = (() => {
21912
21603
  */
21913
21604
  Status.prototype.pdoMode = null;
21914
21605
 
21915
- /**
21916
- * Status circuloEncoderCalibrationProcedure.
21917
- * @member {motionmaster.MotionMasterMessage.Status.ICirculoEncoderCalibrationProcedure|null|undefined} circuloEncoderCalibrationProcedure
21918
- * @memberof motionmaster.MotionMasterMessage.Status
21919
- * @instance
21920
- */
21921
- Status.prototype.circuloEncoderCalibrationProcedure = null;
21922
-
21923
21606
  // OneOf field names bound to virtual getters and setters
21924
21607
  let $oneOfFields;
21925
21608
 
21926
21609
  /**
21927
21610
  * Status type.
21928
- * @member {"systemPong"|"systemVersion"|"systemEvent"|"deviceInfo"|"deviceParameterInfo"|"deviceParameterValues"|"multiDeviceParameterValues"|"deviceFileList"|"deviceFile"|"deviceEvent"|"deviceFirmwareInstallation"|"deviceLog"|"deviceFaultReset"|"coggingTorqueRecording"|"coggingTorqueData"|"offsetDetection"|"plantIdentification"|"autoTuning"|"motionController"|"signalGenerator"|"monitoringParameterValues"|"deviceStop"|"ethercatNetworkState"|"narrowAngleCalibration"|"systemIdentification"|"circuloEncoderMagnetDistance"|"circuloEncoderNarrowAngleCalibrationProcedure"|"deviceCia402State"|"systemLog"|"deviceSiiRestore"|"openLoopFieldControl"|"fullAutoTuning"|"circuloEncoderConfiguration"|"osCommand"|"forwardCall"|"systemInformation"|"pdoMode"|"circuloEncoderCalibrationProcedure"|undefined} type
21611
+ * @member {"systemPong"|"systemVersion"|"systemEvent"|"deviceInfo"|"deviceParameterInfo"|"deviceParameterValues"|"multiDeviceParameterValues"|"deviceFileList"|"deviceFile"|"deviceEvent"|"deviceFirmwareInstallation"|"deviceLog"|"deviceFaultReset"|"coggingTorqueRecording"|"coggingTorqueData"|"offsetDetection"|"plantIdentification"|"autoTuning"|"motionController"|"signalGenerator"|"monitoringParameterValues"|"deviceStop"|"ethercatNetworkState"|"narrowAngleCalibration"|"systemIdentification"|"circuloEncoderMagnetDistance"|"circuloEncoderNarrowAngleCalibrationProcedure"|"deviceCia402State"|"systemLog"|"deviceSiiRestore"|"openLoopFieldControl"|"fullAutoTuning"|"circuloEncoderConfiguration"|"osCommand"|"forwardCall"|"systemInformation"|"pdoMode"|undefined} type
21929
21612
  * @memberof motionmaster.MotionMasterMessage.Status
21930
21613
  * @instance
21931
21614
  */
21932
21615
  Object.defineProperty(Status.prototype, "type", {
21933
- get: $util.oneOfGetter($oneOfFields = ["systemPong", "systemVersion", "systemEvent", "deviceInfo", "deviceParameterInfo", "deviceParameterValues", "multiDeviceParameterValues", "deviceFileList", "deviceFile", "deviceEvent", "deviceFirmwareInstallation", "deviceLog", "deviceFaultReset", "coggingTorqueRecording", "coggingTorqueData", "offsetDetection", "plantIdentification", "autoTuning", "motionController", "signalGenerator", "monitoringParameterValues", "deviceStop", "ethercatNetworkState", "narrowAngleCalibration", "systemIdentification", "circuloEncoderMagnetDistance", "circuloEncoderNarrowAngleCalibrationProcedure", "deviceCia402State", "systemLog", "deviceSiiRestore", "openLoopFieldControl", "fullAutoTuning", "circuloEncoderConfiguration", "osCommand", "forwardCall", "systemInformation", "pdoMode", "circuloEncoderCalibrationProcedure"]),
21616
+ get: $util.oneOfGetter($oneOfFields = ["systemPong", "systemVersion", "systemEvent", "deviceInfo", "deviceParameterInfo", "deviceParameterValues", "multiDeviceParameterValues", "deviceFileList", "deviceFile", "deviceEvent", "deviceFirmwareInstallation", "deviceLog", "deviceFaultReset", "coggingTorqueRecording", "coggingTorqueData", "offsetDetection", "plantIdentification", "autoTuning", "motionController", "signalGenerator", "monitoringParameterValues", "deviceStop", "ethercatNetworkState", "narrowAngleCalibration", "systemIdentification", "circuloEncoderMagnetDistance", "circuloEncoderNarrowAngleCalibrationProcedure", "deviceCia402State", "systemLog", "deviceSiiRestore", "openLoopFieldControl", "fullAutoTuning", "circuloEncoderConfiguration", "osCommand", "forwardCall", "systemInformation", "pdoMode"]),
21934
21617
  set: $util.oneOfSetter($oneOfFields)
21935
21618
  });
21936
21619
 
@@ -22032,8 +21715,6 @@ $root.motionmaster = (() => {
22032
21715
  $root.motionmaster.MotionMasterMessage.Status.SystemInformation.encode(message.systemInformation, writer.uint32(/* id 136, wireType 2 =*/1090).fork()).ldelim();
22033
21716
  if (message.pdoMode != null && Object.hasOwnProperty.call(message, "pdoMode"))
22034
21717
  $root.motionmaster.MotionMasterMessage.Status.PdoMode.encode(message.pdoMode, writer.uint32(/* id 137, wireType 2 =*/1098).fork()).ldelim();
22035
- if (message.circuloEncoderCalibrationProcedure != null && Object.hasOwnProperty.call(message, "circuloEncoderCalibrationProcedure"))
22036
- $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.encode(message.circuloEncoderCalibrationProcedure, writer.uint32(/* id 138, wireType 2 =*/1106).fork()).ldelim();
22037
21718
  return writer;
22038
21719
  };
22039
21720
 
@@ -22216,10 +21897,6 @@ $root.motionmaster = (() => {
22216
21897
  message.pdoMode = $root.motionmaster.MotionMasterMessage.Status.PdoMode.decode(reader, reader.uint32());
22217
21898
  break;
22218
21899
  }
22219
- case 138: {
22220
- message.circuloEncoderCalibrationProcedure = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.decode(reader, reader.uint32());
22221
- break;
22222
- }
22223
21900
  default:
22224
21901
  reader.skipType(tag & 7);
22225
21902
  break;
@@ -22624,16 +22301,6 @@ $root.motionmaster = (() => {
22624
22301
  return "pdoMode." + error;
22625
22302
  }
22626
22303
  }
22627
- if (message.circuloEncoderCalibrationProcedure != null && message.hasOwnProperty("circuloEncoderCalibrationProcedure")) {
22628
- if (properties.type === 1)
22629
- return "type: multiple values";
22630
- properties.type = 1;
22631
- {
22632
- let error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.verify(message.circuloEncoderCalibrationProcedure);
22633
- if (error)
22634
- return "circuloEncoderCalibrationProcedure." + error;
22635
- }
22636
- }
22637
22304
  return null;
22638
22305
  };
22639
22306
 
@@ -22834,11 +22501,6 @@ $root.motionmaster = (() => {
22834
22501
  throw TypeError(".motionmaster.MotionMasterMessage.Status.pdoMode: object expected");
22835
22502
  message.pdoMode = $root.motionmaster.MotionMasterMessage.Status.PdoMode.fromObject(object.pdoMode);
22836
22503
  }
22837
- if (object.circuloEncoderCalibrationProcedure != null) {
22838
- if (typeof object.circuloEncoderCalibrationProcedure !== "object")
22839
- throw TypeError(".motionmaster.MotionMasterMessage.Status.circuloEncoderCalibrationProcedure: object expected");
22840
- message.circuloEncoderCalibrationProcedure = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.fromObject(object.circuloEncoderCalibrationProcedure);
22841
- }
22842
22504
  return message;
22843
22505
  };
22844
22506
 
@@ -23040,11 +22702,6 @@ $root.motionmaster = (() => {
23040
22702
  if (options.oneofs)
23041
22703
  object.type = "pdoMode";
23042
22704
  }
23043
- if (message.circuloEncoderCalibrationProcedure != null && message.hasOwnProperty("circuloEncoderCalibrationProcedure")) {
23044
- object.circuloEncoderCalibrationProcedure = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.toObject(message.circuloEncoderCalibrationProcedure, options);
23045
- if (options.oneofs)
23046
- object.type = "circuloEncoderCalibrationProcedure";
23047
- }
23048
22705
  return object;
23049
22706
  };
23050
22707
 
@@ -56772,1597 +56429,6 @@ $root.motionmaster = (() => {
56772
56429
  return PdoMode;
56773
56430
  })();
56774
56431
 
56775
- Status.CirculoEncoderCalibrationProcedure = (function() {
56776
-
56777
- /**
56778
- * Properties of a CirculoEncoderCalibrationProcedure.
56779
- * @memberof motionmaster.MotionMasterMessage.Status
56780
- * @interface ICirculoEncoderCalibrationProcedure
56781
- * @property {number|null} [deviceAddress] CirculoEncoderCalibrationProcedure deviceAddress
56782
- * @property {number|null} [encoderOrdinal] CirculoEncoderCalibrationProcedure encoderOrdinal
56783
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.ISuccess|null} [success] CirculoEncoderCalibrationProcedure success
56784
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IError|null} [error] CirculoEncoderCalibrationProcedure error
56785
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IProgress|null} [progress] CirculoEncoderCalibrationProcedure progress
56786
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IWarning|null} [warning] CirculoEncoderCalibrationProcedure warning
56787
- */
56788
-
56789
- /**
56790
- * Constructs a new CirculoEncoderCalibrationProcedure.
56791
- * @memberof motionmaster.MotionMasterMessage.Status
56792
- * @classdesc Represents a CirculoEncoderCalibrationProcedure.
56793
- * @implements ICirculoEncoderCalibrationProcedure
56794
- * @constructor
56795
- * @param {motionmaster.MotionMasterMessage.Status.ICirculoEncoderCalibrationProcedure=} [properties] Properties to set
56796
- */
56797
- function CirculoEncoderCalibrationProcedure(properties) {
56798
- if (properties)
56799
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
56800
- if (properties[keys[i]] != null)
56801
- this[keys[i]] = properties[keys[i]];
56802
- }
56803
-
56804
- /**
56805
- * CirculoEncoderCalibrationProcedure deviceAddress.
56806
- * @member {number} deviceAddress
56807
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56808
- * @instance
56809
- */
56810
- CirculoEncoderCalibrationProcedure.prototype.deviceAddress = 0;
56811
-
56812
- /**
56813
- * CirculoEncoderCalibrationProcedure encoderOrdinal.
56814
- * @member {number} encoderOrdinal
56815
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56816
- * @instance
56817
- */
56818
- CirculoEncoderCalibrationProcedure.prototype.encoderOrdinal = 0;
56819
-
56820
- /**
56821
- * CirculoEncoderCalibrationProcedure success.
56822
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.ISuccess|null|undefined} success
56823
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56824
- * @instance
56825
- */
56826
- CirculoEncoderCalibrationProcedure.prototype.success = null;
56827
-
56828
- /**
56829
- * CirculoEncoderCalibrationProcedure error.
56830
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IError|null|undefined} error
56831
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56832
- * @instance
56833
- */
56834
- CirculoEncoderCalibrationProcedure.prototype.error = null;
56835
-
56836
- /**
56837
- * CirculoEncoderCalibrationProcedure progress.
56838
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IProgress|null|undefined} progress
56839
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56840
- * @instance
56841
- */
56842
- CirculoEncoderCalibrationProcedure.prototype.progress = null;
56843
-
56844
- /**
56845
- * CirculoEncoderCalibrationProcedure warning.
56846
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IWarning|null|undefined} warning
56847
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56848
- * @instance
56849
- */
56850
- CirculoEncoderCalibrationProcedure.prototype.warning = null;
56851
-
56852
- // OneOf field names bound to virtual getters and setters
56853
- let $oneOfFields;
56854
-
56855
- /**
56856
- * CirculoEncoderCalibrationProcedure status.
56857
- * @member {"success"|"error"|"progress"|"warning"|undefined} status
56858
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56859
- * @instance
56860
- */
56861
- Object.defineProperty(CirculoEncoderCalibrationProcedure.prototype, "status", {
56862
- get: $util.oneOfGetter($oneOfFields = ["success", "error", "progress", "warning"]),
56863
- set: $util.oneOfSetter($oneOfFields)
56864
- });
56865
-
56866
- /**
56867
- * Creates a new CirculoEncoderCalibrationProcedure instance using the specified properties.
56868
- * @function create
56869
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56870
- * @static
56871
- * @param {motionmaster.MotionMasterMessage.Status.ICirculoEncoderCalibrationProcedure=} [properties] Properties to set
56872
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure} CirculoEncoderCalibrationProcedure instance
56873
- */
56874
- CirculoEncoderCalibrationProcedure.create = function create(properties) {
56875
- return new CirculoEncoderCalibrationProcedure(properties);
56876
- };
56877
-
56878
- /**
56879
- * Encodes the specified CirculoEncoderCalibrationProcedure message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.verify|verify} messages.
56880
- * @function encode
56881
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56882
- * @static
56883
- * @param {motionmaster.MotionMasterMessage.Status.ICirculoEncoderCalibrationProcedure} message CirculoEncoderCalibrationProcedure message or plain object to encode
56884
- * @param {$protobuf.Writer} [writer] Writer to encode to
56885
- * @returns {$protobuf.Writer} Writer
56886
- */
56887
- CirculoEncoderCalibrationProcedure.encode = function encode(message, writer) {
56888
- if (!writer)
56889
- writer = $Writer.create();
56890
- if (message.deviceAddress != null && Object.hasOwnProperty.call(message, "deviceAddress"))
56891
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.deviceAddress);
56892
- if (message.encoderOrdinal != null && Object.hasOwnProperty.call(message, "encoderOrdinal"))
56893
- writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.encoderOrdinal);
56894
- if (message.success != null && Object.hasOwnProperty.call(message, "success"))
56895
- $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.encode(message.success, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
56896
- if (message.error != null && Object.hasOwnProperty.call(message, "error"))
56897
- $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.encode(message.error, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
56898
- if (message.progress != null && Object.hasOwnProperty.call(message, "progress"))
56899
- $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.encode(message.progress, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
56900
- if (message.warning != null && Object.hasOwnProperty.call(message, "warning"))
56901
- $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.encode(message.warning, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
56902
- return writer;
56903
- };
56904
-
56905
- /**
56906
- * Encodes the specified CirculoEncoderCalibrationProcedure message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.verify|verify} messages.
56907
- * @function encodeDelimited
56908
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56909
- * @static
56910
- * @param {motionmaster.MotionMasterMessage.Status.ICirculoEncoderCalibrationProcedure} message CirculoEncoderCalibrationProcedure message or plain object to encode
56911
- * @param {$protobuf.Writer} [writer] Writer to encode to
56912
- * @returns {$protobuf.Writer} Writer
56913
- */
56914
- CirculoEncoderCalibrationProcedure.encodeDelimited = function encodeDelimited(message, writer) {
56915
- return this.encode(message, writer).ldelim();
56916
- };
56917
-
56918
- /**
56919
- * Decodes a CirculoEncoderCalibrationProcedure message from the specified reader or buffer.
56920
- * @function decode
56921
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56922
- * @static
56923
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
56924
- * @param {number} [length] Message length if known beforehand
56925
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure} CirculoEncoderCalibrationProcedure
56926
- * @throws {Error} If the payload is not a reader or valid buffer
56927
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
56928
- */
56929
- CirculoEncoderCalibrationProcedure.decode = function decode(reader, length) {
56930
- if (!(reader instanceof $Reader))
56931
- reader = $Reader.create(reader);
56932
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure();
56933
- while (reader.pos < end) {
56934
- let tag = reader.uint32();
56935
- switch (tag >>> 3) {
56936
- case 1: {
56937
- message.deviceAddress = reader.uint32();
56938
- break;
56939
- }
56940
- case 2: {
56941
- message.encoderOrdinal = reader.uint32();
56942
- break;
56943
- }
56944
- case 3: {
56945
- message.success = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.decode(reader, reader.uint32());
56946
- break;
56947
- }
56948
- case 4: {
56949
- message.error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.decode(reader, reader.uint32());
56950
- break;
56951
- }
56952
- case 5: {
56953
- message.progress = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.decode(reader, reader.uint32());
56954
- break;
56955
- }
56956
- case 6: {
56957
- message.warning = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.decode(reader, reader.uint32());
56958
- break;
56959
- }
56960
- default:
56961
- reader.skipType(tag & 7);
56962
- break;
56963
- }
56964
- }
56965
- return message;
56966
- };
56967
-
56968
- /**
56969
- * Decodes a CirculoEncoderCalibrationProcedure message from the specified reader or buffer, length delimited.
56970
- * @function decodeDelimited
56971
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56972
- * @static
56973
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
56974
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure} CirculoEncoderCalibrationProcedure
56975
- * @throws {Error} If the payload is not a reader or valid buffer
56976
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
56977
- */
56978
- CirculoEncoderCalibrationProcedure.decodeDelimited = function decodeDelimited(reader) {
56979
- if (!(reader instanceof $Reader))
56980
- reader = new $Reader(reader);
56981
- return this.decode(reader, reader.uint32());
56982
- };
56983
-
56984
- /**
56985
- * Verifies a CirculoEncoderCalibrationProcedure message.
56986
- * @function verify
56987
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
56988
- * @static
56989
- * @param {Object.<string,*>} message Plain object to verify
56990
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
56991
- */
56992
- CirculoEncoderCalibrationProcedure.verify = function verify(message) {
56993
- if (typeof message !== "object" || message === null)
56994
- return "object expected";
56995
- let properties = {};
56996
- if (message.deviceAddress != null && message.hasOwnProperty("deviceAddress"))
56997
- if (!$util.isInteger(message.deviceAddress))
56998
- return "deviceAddress: integer expected";
56999
- if (message.encoderOrdinal != null && message.hasOwnProperty("encoderOrdinal"))
57000
- if (!$util.isInteger(message.encoderOrdinal))
57001
- return "encoderOrdinal: integer expected";
57002
- if (message.success != null && message.hasOwnProperty("success")) {
57003
- properties.status = 1;
57004
- {
57005
- let error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.verify(message.success);
57006
- if (error)
57007
- return "success." + error;
57008
- }
57009
- }
57010
- if (message.error != null && message.hasOwnProperty("error")) {
57011
- if (properties.status === 1)
57012
- return "status: multiple values";
57013
- properties.status = 1;
57014
- {
57015
- let error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.verify(message.error);
57016
- if (error)
57017
- return "error." + error;
57018
- }
57019
- }
57020
- if (message.progress != null && message.hasOwnProperty("progress")) {
57021
- if (properties.status === 1)
57022
- return "status: multiple values";
57023
- properties.status = 1;
57024
- {
57025
- let error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.verify(message.progress);
57026
- if (error)
57027
- return "progress." + error;
57028
- }
57029
- }
57030
- if (message.warning != null && message.hasOwnProperty("warning")) {
57031
- if (properties.status === 1)
57032
- return "status: multiple values";
57033
- properties.status = 1;
57034
- {
57035
- let error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.verify(message.warning);
57036
- if (error)
57037
- return "warning." + error;
57038
- }
57039
- }
57040
- return null;
57041
- };
57042
-
57043
- /**
57044
- * Creates a CirculoEncoderCalibrationProcedure message from a plain object. Also converts values to their respective internal types.
57045
- * @function fromObject
57046
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57047
- * @static
57048
- * @param {Object.<string,*>} object Plain object
57049
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure} CirculoEncoderCalibrationProcedure
57050
- */
57051
- CirculoEncoderCalibrationProcedure.fromObject = function fromObject(object) {
57052
- if (object instanceof $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure)
57053
- return object;
57054
- let message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure();
57055
- if (object.deviceAddress != null)
57056
- message.deviceAddress = object.deviceAddress >>> 0;
57057
- if (object.encoderOrdinal != null)
57058
- message.encoderOrdinal = object.encoderOrdinal >>> 0;
57059
- if (object.success != null) {
57060
- if (typeof object.success !== "object")
57061
- throw TypeError(".motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.success: object expected");
57062
- message.success = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.fromObject(object.success);
57063
- }
57064
- if (object.error != null) {
57065
- if (typeof object.error !== "object")
57066
- throw TypeError(".motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.error: object expected");
57067
- message.error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.fromObject(object.error);
57068
- }
57069
- if (object.progress != null) {
57070
- if (typeof object.progress !== "object")
57071
- throw TypeError(".motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.progress: object expected");
57072
- message.progress = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.fromObject(object.progress);
57073
- }
57074
- if (object.warning != null) {
57075
- if (typeof object.warning !== "object")
57076
- throw TypeError(".motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.warning: object expected");
57077
- message.warning = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.fromObject(object.warning);
57078
- }
57079
- return message;
57080
- };
57081
-
57082
- /**
57083
- * Creates a plain object from a CirculoEncoderCalibrationProcedure message. Also converts values to other types if specified.
57084
- * @function toObject
57085
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57086
- * @static
57087
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure} message CirculoEncoderCalibrationProcedure
57088
- * @param {$protobuf.IConversionOptions} [options] Conversion options
57089
- * @returns {Object.<string,*>} Plain object
57090
- */
57091
- CirculoEncoderCalibrationProcedure.toObject = function toObject(message, options) {
57092
- if (!options)
57093
- options = {};
57094
- let object = {};
57095
- if (options.defaults) {
57096
- object.deviceAddress = 0;
57097
- object.encoderOrdinal = 0;
57098
- }
57099
- if (message.deviceAddress != null && message.hasOwnProperty("deviceAddress"))
57100
- object.deviceAddress = message.deviceAddress;
57101
- if (message.encoderOrdinal != null && message.hasOwnProperty("encoderOrdinal"))
57102
- object.encoderOrdinal = message.encoderOrdinal;
57103
- if (message.success != null && message.hasOwnProperty("success")) {
57104
- object.success = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.toObject(message.success, options);
57105
- if (options.oneofs)
57106
- object.status = "success";
57107
- }
57108
- if (message.error != null && message.hasOwnProperty("error")) {
57109
- object.error = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.toObject(message.error, options);
57110
- if (options.oneofs)
57111
- object.status = "error";
57112
- }
57113
- if (message.progress != null && message.hasOwnProperty("progress")) {
57114
- object.progress = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.toObject(message.progress, options);
57115
- if (options.oneofs)
57116
- object.status = "progress";
57117
- }
57118
- if (message.warning != null && message.hasOwnProperty("warning")) {
57119
- object.warning = $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.toObject(message.warning, options);
57120
- if (options.oneofs)
57121
- object.status = "warning";
57122
- }
57123
- return object;
57124
- };
57125
-
57126
- /**
57127
- * Converts this CirculoEncoderCalibrationProcedure to JSON.
57128
- * @function toJSON
57129
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57130
- * @instance
57131
- * @returns {Object.<string,*>} JSON object
57132
- */
57133
- CirculoEncoderCalibrationProcedure.prototype.toJSON = function toJSON() {
57134
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
57135
- };
57136
-
57137
- /**
57138
- * Gets the default type url for CirculoEncoderCalibrationProcedure
57139
- * @function getTypeUrl
57140
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57141
- * @static
57142
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
57143
- * @returns {string} The default type url
57144
- */
57145
- CirculoEncoderCalibrationProcedure.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
57146
- if (typeUrlPrefix === undefined) {
57147
- typeUrlPrefix = "type.googleapis.com";
57148
- }
57149
- return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure";
57150
- };
57151
-
57152
- CirculoEncoderCalibrationProcedure.Success = (function() {
57153
-
57154
- /**
57155
- * Properties of a Success.
57156
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57157
- * @interface ISuccess
57158
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.Code|null} [code] Success code
57159
- * @property {string|null} [message] Success message
57160
- */
57161
-
57162
- /**
57163
- * Constructs a new Success.
57164
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57165
- * @classdesc Represents a Success.
57166
- * @implements ISuccess
57167
- * @constructor
57168
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.ISuccess=} [properties] Properties to set
57169
- */
57170
- function Success(properties) {
57171
- if (properties)
57172
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
57173
- if (properties[keys[i]] != null)
57174
- this[keys[i]] = properties[keys[i]];
57175
- }
57176
-
57177
- /**
57178
- * Success code.
57179
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.Code} code
57180
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57181
- * @instance
57182
- */
57183
- Success.prototype.code = 0;
57184
-
57185
- /**
57186
- * Success message.
57187
- * @member {string} message
57188
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57189
- * @instance
57190
- */
57191
- Success.prototype.message = "";
57192
-
57193
- /**
57194
- * Creates a new Success instance using the specified properties.
57195
- * @function create
57196
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57197
- * @static
57198
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.ISuccess=} [properties] Properties to set
57199
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success} Success instance
57200
- */
57201
- Success.create = function create(properties) {
57202
- return new Success(properties);
57203
- };
57204
-
57205
- /**
57206
- * Encodes the specified Success message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.verify|verify} messages.
57207
- * @function encode
57208
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57209
- * @static
57210
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.ISuccess} message Success message or plain object to encode
57211
- * @param {$protobuf.Writer} [writer] Writer to encode to
57212
- * @returns {$protobuf.Writer} Writer
57213
- */
57214
- Success.encode = function encode(message, writer) {
57215
- if (!writer)
57216
- writer = $Writer.create();
57217
- if (message.code != null && Object.hasOwnProperty.call(message, "code"))
57218
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code);
57219
- if (message.message != null && Object.hasOwnProperty.call(message, "message"))
57220
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
57221
- return writer;
57222
- };
57223
-
57224
- /**
57225
- * Encodes the specified Success message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.verify|verify} messages.
57226
- * @function encodeDelimited
57227
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57228
- * @static
57229
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.ISuccess} message Success message or plain object to encode
57230
- * @param {$protobuf.Writer} [writer] Writer to encode to
57231
- * @returns {$protobuf.Writer} Writer
57232
- */
57233
- Success.encodeDelimited = function encodeDelimited(message, writer) {
57234
- return this.encode(message, writer).ldelim();
57235
- };
57236
-
57237
- /**
57238
- * Decodes a Success message from the specified reader or buffer.
57239
- * @function decode
57240
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57241
- * @static
57242
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
57243
- * @param {number} [length] Message length if known beforehand
57244
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success} Success
57245
- * @throws {Error} If the payload is not a reader or valid buffer
57246
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
57247
- */
57248
- Success.decode = function decode(reader, length) {
57249
- if (!(reader instanceof $Reader))
57250
- reader = $Reader.create(reader);
57251
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success();
57252
- while (reader.pos < end) {
57253
- let tag = reader.uint32();
57254
- switch (tag >>> 3) {
57255
- case 1: {
57256
- message.code = reader.int32();
57257
- break;
57258
- }
57259
- case 2: {
57260
- message.message = reader.string();
57261
- break;
57262
- }
57263
- default:
57264
- reader.skipType(tag & 7);
57265
- break;
57266
- }
57267
- }
57268
- return message;
57269
- };
57270
-
57271
- /**
57272
- * Decodes a Success message from the specified reader or buffer, length delimited.
57273
- * @function decodeDelimited
57274
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57275
- * @static
57276
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
57277
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success} Success
57278
- * @throws {Error} If the payload is not a reader or valid buffer
57279
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
57280
- */
57281
- Success.decodeDelimited = function decodeDelimited(reader) {
57282
- if (!(reader instanceof $Reader))
57283
- reader = new $Reader(reader);
57284
- return this.decode(reader, reader.uint32());
57285
- };
57286
-
57287
- /**
57288
- * Verifies a Success message.
57289
- * @function verify
57290
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57291
- * @static
57292
- * @param {Object.<string,*>} message Plain object to verify
57293
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
57294
- */
57295
- Success.verify = function verify(message) {
57296
- if (typeof message !== "object" || message === null)
57297
- return "object expected";
57298
- if (message.code != null && message.hasOwnProperty("code"))
57299
- switch (message.code) {
57300
- default:
57301
- return "code: enum value expected";
57302
- case 0:
57303
- case 1:
57304
- case 2:
57305
- case 3:
57306
- case 4:
57307
- break;
57308
- }
57309
- if (message.message != null && message.hasOwnProperty("message"))
57310
- if (!$util.isString(message.message))
57311
- return "message: string expected";
57312
- return null;
57313
- };
57314
-
57315
- /**
57316
- * Creates a Success message from a plain object. Also converts values to their respective internal types.
57317
- * @function fromObject
57318
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57319
- * @static
57320
- * @param {Object.<string,*>} object Plain object
57321
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success} Success
57322
- */
57323
- Success.fromObject = function fromObject(object) {
57324
- if (object instanceof $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success)
57325
- return object;
57326
- let message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success();
57327
- switch (object.code) {
57328
- default:
57329
- if (typeof object.code === "number") {
57330
- message.code = object.code;
57331
- break;
57332
- }
57333
- break;
57334
- case "UNSPECIFIED":
57335
- case 0:
57336
- message.code = 0;
57337
- break;
57338
- case "STARTED":
57339
- case 1:
57340
- message.code = 1;
57341
- break;
57342
- case "DONE":
57343
- case 2:
57344
- message.code = 2;
57345
- break;
57346
- case "STOPPING":
57347
- case 3:
57348
- message.code = 3;
57349
- break;
57350
- case "STOPPED":
57351
- case 4:
57352
- message.code = 4;
57353
- break;
57354
- }
57355
- if (object.message != null)
57356
- message.message = String(object.message);
57357
- return message;
57358
- };
57359
-
57360
- /**
57361
- * Creates a plain object from a Success message. Also converts values to other types if specified.
57362
- * @function toObject
57363
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57364
- * @static
57365
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success} message Success
57366
- * @param {$protobuf.IConversionOptions} [options] Conversion options
57367
- * @returns {Object.<string,*>} Plain object
57368
- */
57369
- Success.toObject = function toObject(message, options) {
57370
- if (!options)
57371
- options = {};
57372
- let object = {};
57373
- if (options.defaults) {
57374
- object.code = options.enums === String ? "UNSPECIFIED" : 0;
57375
- object.message = "";
57376
- }
57377
- if (message.code != null && message.hasOwnProperty("code"))
57378
- object.code = options.enums === String ? $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.Code[message.code] === undefined ? message.code : $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.Code[message.code] : message.code;
57379
- if (message.message != null && message.hasOwnProperty("message"))
57380
- object.message = message.message;
57381
- return object;
57382
- };
57383
-
57384
- /**
57385
- * Converts this Success to JSON.
57386
- * @function toJSON
57387
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57388
- * @instance
57389
- * @returns {Object.<string,*>} JSON object
57390
- */
57391
- Success.prototype.toJSON = function toJSON() {
57392
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
57393
- };
57394
-
57395
- /**
57396
- * Gets the default type url for Success
57397
- * @function getTypeUrl
57398
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success
57399
- * @static
57400
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
57401
- * @returns {string} The default type url
57402
- */
57403
- Success.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
57404
- if (typeUrlPrefix === undefined) {
57405
- typeUrlPrefix = "type.googleapis.com";
57406
- }
57407
- return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success";
57408
- };
57409
-
57410
- /**
57411
- * Code enum.
57412
- * @name motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Success.Code
57413
- * @enum {number}
57414
- * @property {number} UNSPECIFIED=0 UNSPECIFIED value
57415
- * @property {number} STARTED=1 STARTED value
57416
- * @property {number} DONE=2 DONE value
57417
- * @property {number} STOPPING=3 STOPPING value
57418
- * @property {number} STOPPED=4 STOPPED value
57419
- */
57420
- Success.Code = (function() {
57421
- const valuesById = {}, values = Object.create(valuesById);
57422
- values[valuesById[0] = "UNSPECIFIED"] = 0;
57423
- values[valuesById[1] = "STARTED"] = 1;
57424
- values[valuesById[2] = "DONE"] = 2;
57425
- values[valuesById[3] = "STOPPING"] = 3;
57426
- values[valuesById[4] = "STOPPED"] = 4;
57427
- return values;
57428
- })();
57429
-
57430
- return Success;
57431
- })();
57432
-
57433
- CirculoEncoderCalibrationProcedure.Error = (function() {
57434
-
57435
- /**
57436
- * Properties of an Error.
57437
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57438
- * @interface IError
57439
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.Code|null} [code] Error code
57440
- * @property {string|null} [message] Error message
57441
- */
57442
-
57443
- /**
57444
- * Constructs a new Error.
57445
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57446
- * @classdesc Represents an Error.
57447
- * @implements IError
57448
- * @constructor
57449
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IError=} [properties] Properties to set
57450
- */
57451
- function Error(properties) {
57452
- if (properties)
57453
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
57454
- if (properties[keys[i]] != null)
57455
- this[keys[i]] = properties[keys[i]];
57456
- }
57457
-
57458
- /**
57459
- * Error code.
57460
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.Code} code
57461
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57462
- * @instance
57463
- */
57464
- Error.prototype.code = 0;
57465
-
57466
- /**
57467
- * Error message.
57468
- * @member {string} message
57469
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57470
- * @instance
57471
- */
57472
- Error.prototype.message = "";
57473
-
57474
- /**
57475
- * Creates a new Error instance using the specified properties.
57476
- * @function create
57477
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57478
- * @static
57479
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IError=} [properties] Properties to set
57480
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error} Error instance
57481
- */
57482
- Error.create = function create(properties) {
57483
- return new Error(properties);
57484
- };
57485
-
57486
- /**
57487
- * Encodes the specified Error message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.verify|verify} messages.
57488
- * @function encode
57489
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57490
- * @static
57491
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IError} message Error message or plain object to encode
57492
- * @param {$protobuf.Writer} [writer] Writer to encode to
57493
- * @returns {$protobuf.Writer} Writer
57494
- */
57495
- Error.encode = function encode(message, writer) {
57496
- if (!writer)
57497
- writer = $Writer.create();
57498
- if (message.code != null && Object.hasOwnProperty.call(message, "code"))
57499
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code);
57500
- if (message.message != null && Object.hasOwnProperty.call(message, "message"))
57501
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
57502
- return writer;
57503
- };
57504
-
57505
- /**
57506
- * Encodes the specified Error message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.verify|verify} messages.
57507
- * @function encodeDelimited
57508
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57509
- * @static
57510
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IError} message Error message or plain object to encode
57511
- * @param {$protobuf.Writer} [writer] Writer to encode to
57512
- * @returns {$protobuf.Writer} Writer
57513
- */
57514
- Error.encodeDelimited = function encodeDelimited(message, writer) {
57515
- return this.encode(message, writer).ldelim();
57516
- };
57517
-
57518
- /**
57519
- * Decodes an Error message from the specified reader or buffer.
57520
- * @function decode
57521
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57522
- * @static
57523
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
57524
- * @param {number} [length] Message length if known beforehand
57525
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error} Error
57526
- * @throws {Error} If the payload is not a reader or valid buffer
57527
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
57528
- */
57529
- Error.decode = function decode(reader, length) {
57530
- if (!(reader instanceof $Reader))
57531
- reader = $Reader.create(reader);
57532
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error();
57533
- while (reader.pos < end) {
57534
- let tag = reader.uint32();
57535
- switch (tag >>> 3) {
57536
- case 1: {
57537
- message.code = reader.int32();
57538
- break;
57539
- }
57540
- case 2: {
57541
- message.message = reader.string();
57542
- break;
57543
- }
57544
- default:
57545
- reader.skipType(tag & 7);
57546
- break;
57547
- }
57548
- }
57549
- return message;
57550
- };
57551
-
57552
- /**
57553
- * Decodes an Error message from the specified reader or buffer, length delimited.
57554
- * @function decodeDelimited
57555
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57556
- * @static
57557
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
57558
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error} Error
57559
- * @throws {Error} If the payload is not a reader or valid buffer
57560
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
57561
- */
57562
- Error.decodeDelimited = function decodeDelimited(reader) {
57563
- if (!(reader instanceof $Reader))
57564
- reader = new $Reader(reader);
57565
- return this.decode(reader, reader.uint32());
57566
- };
57567
-
57568
- /**
57569
- * Verifies an Error message.
57570
- * @function verify
57571
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57572
- * @static
57573
- * @param {Object.<string,*>} message Plain object to verify
57574
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
57575
- */
57576
- Error.verify = function verify(message) {
57577
- if (typeof message !== "object" || message === null)
57578
- return "object expected";
57579
- if (message.code != null && message.hasOwnProperty("code"))
57580
- switch (message.code) {
57581
- default:
57582
- return "code: enum value expected";
57583
- case 0:
57584
- case 1:
57585
- case 2:
57586
- case 3:
57587
- case 4:
57588
- case 5:
57589
- case 6:
57590
- case 7:
57591
- case 8:
57592
- case 9:
57593
- break;
57594
- }
57595
- if (message.message != null && message.hasOwnProperty("message"))
57596
- if (!$util.isString(message.message))
57597
- return "message: string expected";
57598
- return null;
57599
- };
57600
-
57601
- /**
57602
- * Creates an Error message from a plain object. Also converts values to their respective internal types.
57603
- * @function fromObject
57604
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57605
- * @static
57606
- * @param {Object.<string,*>} object Plain object
57607
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error} Error
57608
- */
57609
- Error.fromObject = function fromObject(object) {
57610
- if (object instanceof $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error)
57611
- return object;
57612
- let message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error();
57613
- switch (object.code) {
57614
- default:
57615
- if (typeof object.code === "number") {
57616
- message.code = object.code;
57617
- break;
57618
- }
57619
- break;
57620
- case "UNSPECIFIED":
57621
- case 0:
57622
- message.code = 0;
57623
- break;
57624
- case "INIT_FAILED":
57625
- case 1:
57626
- message.code = 1;
57627
- break;
57628
- case "FAILED":
57629
- case 2:
57630
- message.code = 2;
57631
- break;
57632
- case "ABORTED":
57633
- case 3:
57634
- message.code = 3;
57635
- break;
57636
- case "TIMED_OUT":
57637
- case 4:
57638
- message.code = 4;
57639
- break;
57640
- case "NOT_SUPPORTED":
57641
- case 5:
57642
- message.code = 5;
57643
- break;
57644
- case "ALREADY_RUNNING":
57645
- case 6:
57646
- message.code = 6;
57647
- break;
57648
- case "NOT_RUNNING":
57649
- case 7:
57650
- message.code = 7;
57651
- break;
57652
- case "OUTSIDE_POSITION_LIMITS":
57653
- case 8:
57654
- message.code = 8;
57655
- break;
57656
- case "ABSOLUTE_POSITION_RESET_FAILED":
57657
- case 9:
57658
- message.code = 9;
57659
- break;
57660
- }
57661
- if (object.message != null)
57662
- message.message = String(object.message);
57663
- return message;
57664
- };
57665
-
57666
- /**
57667
- * Creates a plain object from an Error message. Also converts values to other types if specified.
57668
- * @function toObject
57669
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57670
- * @static
57671
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error} message Error
57672
- * @param {$protobuf.IConversionOptions} [options] Conversion options
57673
- * @returns {Object.<string,*>} Plain object
57674
- */
57675
- Error.toObject = function toObject(message, options) {
57676
- if (!options)
57677
- options = {};
57678
- let object = {};
57679
- if (options.defaults) {
57680
- object.code = options.enums === String ? "UNSPECIFIED" : 0;
57681
- object.message = "";
57682
- }
57683
- if (message.code != null && message.hasOwnProperty("code"))
57684
- object.code = options.enums === String ? $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.Code[message.code] === undefined ? message.code : $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.Code[message.code] : message.code;
57685
- if (message.message != null && message.hasOwnProperty("message"))
57686
- object.message = message.message;
57687
- return object;
57688
- };
57689
-
57690
- /**
57691
- * Converts this Error to JSON.
57692
- * @function toJSON
57693
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57694
- * @instance
57695
- * @returns {Object.<string,*>} JSON object
57696
- */
57697
- Error.prototype.toJSON = function toJSON() {
57698
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
57699
- };
57700
-
57701
- /**
57702
- * Gets the default type url for Error
57703
- * @function getTypeUrl
57704
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error
57705
- * @static
57706
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
57707
- * @returns {string} The default type url
57708
- */
57709
- Error.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
57710
- if (typeUrlPrefix === undefined) {
57711
- typeUrlPrefix = "type.googleapis.com";
57712
- }
57713
- return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error";
57714
- };
57715
-
57716
- /**
57717
- * Code enum.
57718
- * @name motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Error.Code
57719
- * @enum {number}
57720
- * @property {number} UNSPECIFIED=0 UNSPECIFIED value
57721
- * @property {number} INIT_FAILED=1 INIT_FAILED value
57722
- * @property {number} FAILED=2 FAILED value
57723
- * @property {number} ABORTED=3 ABORTED value
57724
- * @property {number} TIMED_OUT=4 TIMED_OUT value
57725
- * @property {number} NOT_SUPPORTED=5 NOT_SUPPORTED value
57726
- * @property {number} ALREADY_RUNNING=6 ALREADY_RUNNING value
57727
- * @property {number} NOT_RUNNING=7 NOT_RUNNING value
57728
- * @property {number} OUTSIDE_POSITION_LIMITS=8 OUTSIDE_POSITION_LIMITS value
57729
- * @property {number} ABSOLUTE_POSITION_RESET_FAILED=9 ABSOLUTE_POSITION_RESET_FAILED value
57730
- */
57731
- Error.Code = (function() {
57732
- const valuesById = {}, values = Object.create(valuesById);
57733
- values[valuesById[0] = "UNSPECIFIED"] = 0;
57734
- values[valuesById[1] = "INIT_FAILED"] = 1;
57735
- values[valuesById[2] = "FAILED"] = 2;
57736
- values[valuesById[3] = "ABORTED"] = 3;
57737
- values[valuesById[4] = "TIMED_OUT"] = 4;
57738
- values[valuesById[5] = "NOT_SUPPORTED"] = 5;
57739
- values[valuesById[6] = "ALREADY_RUNNING"] = 6;
57740
- values[valuesById[7] = "NOT_RUNNING"] = 7;
57741
- values[valuesById[8] = "OUTSIDE_POSITION_LIMITS"] = 8;
57742
- values[valuesById[9] = "ABSOLUTE_POSITION_RESET_FAILED"] = 9;
57743
- return values;
57744
- })();
57745
-
57746
- return Error;
57747
- })();
57748
-
57749
- CirculoEncoderCalibrationProcedure.Progress = (function() {
57750
-
57751
- /**
57752
- * Properties of a Progress.
57753
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57754
- * @interface IProgress
57755
- * @property {number|null} [iteration] Progress iteration
57756
- * @property {Array.<number>|null} [phaseError] Progress phaseError
57757
- * @property {Array.<number>|null} [position] Progress position
57758
- * @property {boolean|null} [final] Progress final
57759
- */
57760
-
57761
- /**
57762
- * Constructs a new Progress.
57763
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
57764
- * @classdesc Represents a Progress.
57765
- * @implements IProgress
57766
- * @constructor
57767
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IProgress=} [properties] Properties to set
57768
- */
57769
- function Progress(properties) {
57770
- this.phaseError = [];
57771
- this.position = [];
57772
- if (properties)
57773
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
57774
- if (properties[keys[i]] != null)
57775
- this[keys[i]] = properties[keys[i]];
57776
- }
57777
-
57778
- /**
57779
- * Progress iteration.
57780
- * @member {number} iteration
57781
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57782
- * @instance
57783
- */
57784
- Progress.prototype.iteration = 0;
57785
-
57786
- /**
57787
- * Progress phaseError.
57788
- * @member {Array.<number>} phaseError
57789
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57790
- * @instance
57791
- */
57792
- Progress.prototype.phaseError = $util.emptyArray;
57793
-
57794
- /**
57795
- * Progress position.
57796
- * @member {Array.<number>} position
57797
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57798
- * @instance
57799
- */
57800
- Progress.prototype.position = $util.emptyArray;
57801
-
57802
- /**
57803
- * Progress final.
57804
- * @member {boolean} final
57805
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57806
- * @instance
57807
- */
57808
- Progress.prototype.final = false;
57809
-
57810
- /**
57811
- * Creates a new Progress instance using the specified properties.
57812
- * @function create
57813
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57814
- * @static
57815
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IProgress=} [properties] Properties to set
57816
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress} Progress instance
57817
- */
57818
- Progress.create = function create(properties) {
57819
- return new Progress(properties);
57820
- };
57821
-
57822
- /**
57823
- * Encodes the specified Progress message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.verify|verify} messages.
57824
- * @function encode
57825
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57826
- * @static
57827
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IProgress} message Progress message or plain object to encode
57828
- * @param {$protobuf.Writer} [writer] Writer to encode to
57829
- * @returns {$protobuf.Writer} Writer
57830
- */
57831
- Progress.encode = function encode(message, writer) {
57832
- if (!writer)
57833
- writer = $Writer.create();
57834
- if (message.iteration != null && Object.hasOwnProperty.call(message, "iteration"))
57835
- writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.iteration);
57836
- if (message.phaseError != null && message.phaseError.length) {
57837
- writer.uint32(/* id 2, wireType 2 =*/18).fork();
57838
- for (let i = 0; i < message.phaseError.length; ++i)
57839
- writer.int64(message.phaseError[i]);
57840
- writer.ldelim();
57841
- }
57842
- if (message.position != null && message.position.length) {
57843
- writer.uint32(/* id 3, wireType 2 =*/26).fork();
57844
- for (let i = 0; i < message.position.length; ++i)
57845
- writer.double(message.position[i]);
57846
- writer.ldelim();
57847
- }
57848
- if (message.final != null && Object.hasOwnProperty.call(message, "final"))
57849
- writer.uint32(/* id 4, wireType 0 =*/32).bool(message.final);
57850
- return writer;
57851
- };
57852
-
57853
- /**
57854
- * Encodes the specified Progress message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.verify|verify} messages.
57855
- * @function encodeDelimited
57856
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57857
- * @static
57858
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IProgress} message Progress message or plain object to encode
57859
- * @param {$protobuf.Writer} [writer] Writer to encode to
57860
- * @returns {$protobuf.Writer} Writer
57861
- */
57862
- Progress.encodeDelimited = function encodeDelimited(message, writer) {
57863
- return this.encode(message, writer).ldelim();
57864
- };
57865
-
57866
- /**
57867
- * Decodes a Progress message from the specified reader or buffer.
57868
- * @function decode
57869
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57870
- * @static
57871
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
57872
- * @param {number} [length] Message length if known beforehand
57873
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress} Progress
57874
- * @throws {Error} If the payload is not a reader or valid buffer
57875
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
57876
- */
57877
- Progress.decode = function decode(reader, length) {
57878
- if (!(reader instanceof $Reader))
57879
- reader = $Reader.create(reader);
57880
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress();
57881
- while (reader.pos < end) {
57882
- let tag = reader.uint32();
57883
- switch (tag >>> 3) {
57884
- case 1: {
57885
- message.iteration = reader.uint32();
57886
- break;
57887
- }
57888
- case 2: {
57889
- if (!(message.phaseError && message.phaseError.length))
57890
- message.phaseError = [];
57891
- if ((tag & 7) === 2) {
57892
- let end2 = reader.uint32() + reader.pos;
57893
- while (reader.pos < end2)
57894
- message.phaseError.push(reader.int64());
57895
- } else
57896
- message.phaseError.push(reader.int64());
57897
- break;
57898
- }
57899
- case 3: {
57900
- if (!(message.position && message.position.length))
57901
- message.position = [];
57902
- if ((tag & 7) === 2) {
57903
- let end2 = reader.uint32() + reader.pos;
57904
- while (reader.pos < end2)
57905
- message.position.push(reader.double());
57906
- } else
57907
- message.position.push(reader.double());
57908
- break;
57909
- }
57910
- case 4: {
57911
- message.final = reader.bool();
57912
- break;
57913
- }
57914
- default:
57915
- reader.skipType(tag & 7);
57916
- break;
57917
- }
57918
- }
57919
- return message;
57920
- };
57921
-
57922
- /**
57923
- * Decodes a Progress message from the specified reader or buffer, length delimited.
57924
- * @function decodeDelimited
57925
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57926
- * @static
57927
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
57928
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress} Progress
57929
- * @throws {Error} If the payload is not a reader or valid buffer
57930
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
57931
- */
57932
- Progress.decodeDelimited = function decodeDelimited(reader) {
57933
- if (!(reader instanceof $Reader))
57934
- reader = new $Reader(reader);
57935
- return this.decode(reader, reader.uint32());
57936
- };
57937
-
57938
- /**
57939
- * Verifies a Progress message.
57940
- * @function verify
57941
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57942
- * @static
57943
- * @param {Object.<string,*>} message Plain object to verify
57944
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
57945
- */
57946
- Progress.verify = function verify(message) {
57947
- if (typeof message !== "object" || message === null)
57948
- return "object expected";
57949
- if (message.iteration != null && message.hasOwnProperty("iteration"))
57950
- if (!$util.isInteger(message.iteration))
57951
- return "iteration: integer expected";
57952
- if (message.phaseError != null && message.hasOwnProperty("phaseError")) {
57953
- if (!Array.isArray(message.phaseError))
57954
- return "phaseError: array expected";
57955
- for (let i = 0; i < message.phaseError.length; ++i)
57956
- if (!$util.isInteger(message.phaseError[i]) && !(message.phaseError[i] && $util.isInteger(message.phaseError[i].low) && $util.isInteger(message.phaseError[i].high)))
57957
- return "phaseError: integer|Long[] expected";
57958
- }
57959
- if (message.position != null && message.hasOwnProperty("position")) {
57960
- if (!Array.isArray(message.position))
57961
- return "position: array expected";
57962
- for (let i = 0; i < message.position.length; ++i)
57963
- if (typeof message.position[i] !== "number")
57964
- return "position: number[] expected";
57965
- }
57966
- if (message.final != null && message.hasOwnProperty("final"))
57967
- if (typeof message.final !== "boolean")
57968
- return "final: boolean expected";
57969
- return null;
57970
- };
57971
-
57972
- /**
57973
- * Creates a Progress message from a plain object. Also converts values to their respective internal types.
57974
- * @function fromObject
57975
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
57976
- * @static
57977
- * @param {Object.<string,*>} object Plain object
57978
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress} Progress
57979
- */
57980
- Progress.fromObject = function fromObject(object) {
57981
- if (object instanceof $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress)
57982
- return object;
57983
- let message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress();
57984
- if (object.iteration != null)
57985
- message.iteration = object.iteration >>> 0;
57986
- if (object.phaseError) {
57987
- if (!Array.isArray(object.phaseError))
57988
- throw TypeError(".motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.phaseError: array expected");
57989
- message.phaseError = [];
57990
- for (let i = 0; i < object.phaseError.length; ++i)
57991
- if ($util.Long)
57992
- (message.phaseError[i] = $util.Long.fromValue(object.phaseError[i])).unsigned = false;
57993
- else if (typeof object.phaseError[i] === "string")
57994
- message.phaseError[i] = parseInt(object.phaseError[i], 10);
57995
- else if (typeof object.phaseError[i] === "number")
57996
- message.phaseError[i] = object.phaseError[i];
57997
- else if (typeof object.phaseError[i] === "object")
57998
- message.phaseError[i] = new $util.LongBits(object.phaseError[i].low >>> 0, object.phaseError[i].high >>> 0).toNumber();
57999
- }
58000
- if (object.position) {
58001
- if (!Array.isArray(object.position))
58002
- throw TypeError(".motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress.position: array expected");
58003
- message.position = [];
58004
- for (let i = 0; i < object.position.length; ++i)
58005
- message.position[i] = Number(object.position[i]);
58006
- }
58007
- if (object.final != null)
58008
- message.final = Boolean(object.final);
58009
- return message;
58010
- };
58011
-
58012
- /**
58013
- * Creates a plain object from a Progress message. Also converts values to other types if specified.
58014
- * @function toObject
58015
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
58016
- * @static
58017
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress} message Progress
58018
- * @param {$protobuf.IConversionOptions} [options] Conversion options
58019
- * @returns {Object.<string,*>} Plain object
58020
- */
58021
- Progress.toObject = function toObject(message, options) {
58022
- if (!options)
58023
- options = {};
58024
- let object = {};
58025
- if (options.arrays || options.defaults) {
58026
- object.phaseError = [];
58027
- object.position = [];
58028
- }
58029
- if (options.defaults) {
58030
- object.iteration = 0;
58031
- object.final = false;
58032
- }
58033
- if (message.iteration != null && message.hasOwnProperty("iteration"))
58034
- object.iteration = message.iteration;
58035
- if (message.phaseError && message.phaseError.length) {
58036
- object.phaseError = [];
58037
- for (let j = 0; j < message.phaseError.length; ++j)
58038
- if (typeof message.phaseError[j] === "number")
58039
- object.phaseError[j] = options.longs === String ? String(message.phaseError[j]) : message.phaseError[j];
58040
- else
58041
- object.phaseError[j] = options.longs === String ? $util.Long.prototype.toString.call(message.phaseError[j]) : options.longs === Number ? new $util.LongBits(message.phaseError[j].low >>> 0, message.phaseError[j].high >>> 0).toNumber() : message.phaseError[j];
58042
- }
58043
- if (message.position && message.position.length) {
58044
- object.position = [];
58045
- for (let j = 0; j < message.position.length; ++j)
58046
- object.position[j] = options.json && !isFinite(message.position[j]) ? String(message.position[j]) : message.position[j];
58047
- }
58048
- if (message.final != null && message.hasOwnProperty("final"))
58049
- object.final = message.final;
58050
- return object;
58051
- };
58052
-
58053
- /**
58054
- * Converts this Progress to JSON.
58055
- * @function toJSON
58056
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
58057
- * @instance
58058
- * @returns {Object.<string,*>} JSON object
58059
- */
58060
- Progress.prototype.toJSON = function toJSON() {
58061
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
58062
- };
58063
-
58064
- /**
58065
- * Gets the default type url for Progress
58066
- * @function getTypeUrl
58067
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress
58068
- * @static
58069
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
58070
- * @returns {string} The default type url
58071
- */
58072
- Progress.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
58073
- if (typeUrlPrefix === undefined) {
58074
- typeUrlPrefix = "type.googleapis.com";
58075
- }
58076
- return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Progress";
58077
- };
58078
-
58079
- return Progress;
58080
- })();
58081
-
58082
- CirculoEncoderCalibrationProcedure.Warning = (function() {
58083
-
58084
- /**
58085
- * Properties of a Warning.
58086
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
58087
- * @interface IWarning
58088
- * @property {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.Code|null} [code] Warning code
58089
- * @property {string|null} [message] Warning message
58090
- */
58091
-
58092
- /**
58093
- * Constructs a new Warning.
58094
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure
58095
- * @classdesc Represents a Warning.
58096
- * @implements IWarning
58097
- * @constructor
58098
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IWarning=} [properties] Properties to set
58099
- */
58100
- function Warning(properties) {
58101
- if (properties)
58102
- for (let keys = Object.keys(properties), i = 0; i < keys.length; ++i)
58103
- if (properties[keys[i]] != null)
58104
- this[keys[i]] = properties[keys[i]];
58105
- }
58106
-
58107
- /**
58108
- * Warning code.
58109
- * @member {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.Code} code
58110
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58111
- * @instance
58112
- */
58113
- Warning.prototype.code = 0;
58114
-
58115
- /**
58116
- * Warning message.
58117
- * @member {string} message
58118
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58119
- * @instance
58120
- */
58121
- Warning.prototype.message = "";
58122
-
58123
- /**
58124
- * Creates a new Warning instance using the specified properties.
58125
- * @function create
58126
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58127
- * @static
58128
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IWarning=} [properties] Properties to set
58129
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning} Warning instance
58130
- */
58131
- Warning.create = function create(properties) {
58132
- return new Warning(properties);
58133
- };
58134
-
58135
- /**
58136
- * Encodes the specified Warning message. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.verify|verify} messages.
58137
- * @function encode
58138
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58139
- * @static
58140
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IWarning} message Warning message or plain object to encode
58141
- * @param {$protobuf.Writer} [writer] Writer to encode to
58142
- * @returns {$protobuf.Writer} Writer
58143
- */
58144
- Warning.encode = function encode(message, writer) {
58145
- if (!writer)
58146
- writer = $Writer.create();
58147
- if (message.code != null && Object.hasOwnProperty.call(message, "code"))
58148
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.code);
58149
- if (message.message != null && Object.hasOwnProperty.call(message, "message"))
58150
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.message);
58151
- return writer;
58152
- };
58153
-
58154
- /**
58155
- * Encodes the specified Warning message, length delimited. Does not implicitly {@link motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.verify|verify} messages.
58156
- * @function encodeDelimited
58157
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58158
- * @static
58159
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.IWarning} message Warning message or plain object to encode
58160
- * @param {$protobuf.Writer} [writer] Writer to encode to
58161
- * @returns {$protobuf.Writer} Writer
58162
- */
58163
- Warning.encodeDelimited = function encodeDelimited(message, writer) {
58164
- return this.encode(message, writer).ldelim();
58165
- };
58166
-
58167
- /**
58168
- * Decodes a Warning message from the specified reader or buffer.
58169
- * @function decode
58170
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58171
- * @static
58172
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
58173
- * @param {number} [length] Message length if known beforehand
58174
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning} Warning
58175
- * @throws {Error} If the payload is not a reader or valid buffer
58176
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
58177
- */
58178
- Warning.decode = function decode(reader, length) {
58179
- if (!(reader instanceof $Reader))
58180
- reader = $Reader.create(reader);
58181
- let end = length === undefined ? reader.len : reader.pos + length, message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning();
58182
- while (reader.pos < end) {
58183
- let tag = reader.uint32();
58184
- switch (tag >>> 3) {
58185
- case 1: {
58186
- message.code = reader.int32();
58187
- break;
58188
- }
58189
- case 2: {
58190
- message.message = reader.string();
58191
- break;
58192
- }
58193
- default:
58194
- reader.skipType(tag & 7);
58195
- break;
58196
- }
58197
- }
58198
- return message;
58199
- };
58200
-
58201
- /**
58202
- * Decodes a Warning message from the specified reader or buffer, length delimited.
58203
- * @function decodeDelimited
58204
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58205
- * @static
58206
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
58207
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning} Warning
58208
- * @throws {Error} If the payload is not a reader or valid buffer
58209
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
58210
- */
58211
- Warning.decodeDelimited = function decodeDelimited(reader) {
58212
- if (!(reader instanceof $Reader))
58213
- reader = new $Reader(reader);
58214
- return this.decode(reader, reader.uint32());
58215
- };
58216
-
58217
- /**
58218
- * Verifies a Warning message.
58219
- * @function verify
58220
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58221
- * @static
58222
- * @param {Object.<string,*>} message Plain object to verify
58223
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
58224
- */
58225
- Warning.verify = function verify(message) {
58226
- if (typeof message !== "object" || message === null)
58227
- return "object expected";
58228
- if (message.code != null && message.hasOwnProperty("code"))
58229
- switch (message.code) {
58230
- default:
58231
- return "code: enum value expected";
58232
- case 0:
58233
- case 1:
58234
- case 2:
58235
- case 3:
58236
- case 4:
58237
- break;
58238
- }
58239
- if (message.message != null && message.hasOwnProperty("message"))
58240
- if (!$util.isString(message.message))
58241
- return "message: string expected";
58242
- return null;
58243
- };
58244
-
58245
- /**
58246
- * Creates a Warning message from a plain object. Also converts values to their respective internal types.
58247
- * @function fromObject
58248
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58249
- * @static
58250
- * @param {Object.<string,*>} object Plain object
58251
- * @returns {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning} Warning
58252
- */
58253
- Warning.fromObject = function fromObject(object) {
58254
- if (object instanceof $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning)
58255
- return object;
58256
- let message = new $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning();
58257
- switch (object.code) {
58258
- default:
58259
- if (typeof object.code === "number") {
58260
- message.code = object.code;
58261
- break;
58262
- }
58263
- break;
58264
- case "UNSPECIFIED":
58265
- case 0:
58266
- message.code = 0;
58267
- break;
58268
- case "MAX_MOTOR_SPEED_TOO_LOW":
58269
- case 1:
58270
- message.code = 1;
58271
- break;
58272
- case "AUTO_COMMUTATION_OFFSET_MEASUREMENT_FAILED":
58273
- case 2:
58274
- message.code = 2;
58275
- break;
58276
- case "NARROW_MOTION_RANGE":
58277
- case 3:
58278
- message.code = 3;
58279
- break;
58280
- case "ABSOLUTE_POSITION_CHANGED":
58281
- case 4:
58282
- message.code = 4;
58283
- break;
58284
- }
58285
- if (object.message != null)
58286
- message.message = String(object.message);
58287
- return message;
58288
- };
58289
-
58290
- /**
58291
- * Creates a plain object from a Warning message. Also converts values to other types if specified.
58292
- * @function toObject
58293
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58294
- * @static
58295
- * @param {motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning} message Warning
58296
- * @param {$protobuf.IConversionOptions} [options] Conversion options
58297
- * @returns {Object.<string,*>} Plain object
58298
- */
58299
- Warning.toObject = function toObject(message, options) {
58300
- if (!options)
58301
- options = {};
58302
- let object = {};
58303
- if (options.defaults) {
58304
- object.code = options.enums === String ? "UNSPECIFIED" : 0;
58305
- object.message = "";
58306
- }
58307
- if (message.code != null && message.hasOwnProperty("code"))
58308
- object.code = options.enums === String ? $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.Code[message.code] === undefined ? message.code : $root.motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.Code[message.code] : message.code;
58309
- if (message.message != null && message.hasOwnProperty("message"))
58310
- object.message = message.message;
58311
- return object;
58312
- };
58313
-
58314
- /**
58315
- * Converts this Warning to JSON.
58316
- * @function toJSON
58317
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58318
- * @instance
58319
- * @returns {Object.<string,*>} JSON object
58320
- */
58321
- Warning.prototype.toJSON = function toJSON() {
58322
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
58323
- };
58324
-
58325
- /**
58326
- * Gets the default type url for Warning
58327
- * @function getTypeUrl
58328
- * @memberof motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning
58329
- * @static
58330
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
58331
- * @returns {string} The default type url
58332
- */
58333
- Warning.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
58334
- if (typeUrlPrefix === undefined) {
58335
- typeUrlPrefix = "type.googleapis.com";
58336
- }
58337
- return typeUrlPrefix + "/motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning";
58338
- };
58339
-
58340
- /**
58341
- * Code enum.
58342
- * @name motionmaster.MotionMasterMessage.Status.CirculoEncoderCalibrationProcedure.Warning.Code
58343
- * @enum {number}
58344
- * @property {number} UNSPECIFIED=0 UNSPECIFIED value
58345
- * @property {number} MAX_MOTOR_SPEED_TOO_LOW=1 MAX_MOTOR_SPEED_TOO_LOW value
58346
- * @property {number} AUTO_COMMUTATION_OFFSET_MEASUREMENT_FAILED=2 AUTO_COMMUTATION_OFFSET_MEASUREMENT_FAILED value
58347
- * @property {number} NARROW_MOTION_RANGE=3 NARROW_MOTION_RANGE value
58348
- * @property {number} ABSOLUTE_POSITION_CHANGED=4 ABSOLUTE_POSITION_CHANGED value
58349
- */
58350
- Warning.Code = (function() {
58351
- const valuesById = {}, values = Object.create(valuesById);
58352
- values[valuesById[0] = "UNSPECIFIED"] = 0;
58353
- values[valuesById[1] = "MAX_MOTOR_SPEED_TOO_LOW"] = 1;
58354
- values[valuesById[2] = "AUTO_COMMUTATION_OFFSET_MEASUREMENT_FAILED"] = 2;
58355
- values[valuesById[3] = "NARROW_MOTION_RANGE"] = 3;
58356
- values[valuesById[4] = "ABSOLUTE_POSITION_CHANGED"] = 4;
58357
- return values;
58358
- })();
58359
-
58360
- return Warning;
58361
- })();
58362
-
58363
- return CirculoEncoderCalibrationProcedure;
58364
- })();
58365
-
58366
56432
  return Status;
58367
56433
  })();
58368
56434