motion-master-client 0.0.301 → 0.0.303
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -1
- package/src/index.d.ts +0 -1
- package/src/index.js +0 -1
- package/src/index.js.map +1 -1
- package/src/lib/encoder.d.ts +11 -0
- package/src/lib/encoder.js +42 -1
- package/src/lib/encoder.js.map +1 -1
- package/src/lib/motion-master-req-res-client.d.ts +74 -3
- package/src/lib/motion-master-req-res-client.js +148 -4
- package/src/lib/motion-master-req-res-client.js.map +1 -1
- package/src/lib/motion-master.proto.d.ts +110 -2
- package/src/lib/motion-master.proto.js +1101 -4
- package/src/lib/request-status-resolver.js +6 -0
- package/src/lib/request-status-resolver.js.map +1 -1
- package/src/lib/types.d.ts +25 -0
- package/src/lib/types.js.map +1 -1
- package/src/lib/vizualization.d.ts +62 -0
- package/src/lib/vizualization.js +156 -0
- package/src/lib/vizualization.js.map +1 -0
- package/src/lib/encoder-configuration.d.ts +0 -103
- package/src/lib/encoder-configuration.js +0 -225
- package/src/lib/encoder-configuration.js.map +0 -1
|
@@ -76,6 +76,7 @@ export namespace motionmaster {
|
|
|
76
76
|
startCirculoEncoderConfiguration?: (motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderConfiguration|null);
|
|
77
77
|
stopCirculoEncoderNarrowAngleCalibrationProcedure?: (motionmaster.MotionMasterMessage.Request.IStopCirculoEncoderNarrowAngleCalibrationProcedure|null);
|
|
78
78
|
startOsCommand?: (motionmaster.MotionMasterMessage.Request.IStartOsCommand|null);
|
|
79
|
+
executeForwardCall?: (motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null);
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
class Request implements IRequest {
|
|
@@ -128,7 +129,8 @@ export namespace motionmaster {
|
|
|
128
129
|
public startCirculoEncoderConfiguration?: (motionmaster.MotionMasterMessage.Request.IStartCirculoEncoderConfiguration|null);
|
|
129
130
|
public stopCirculoEncoderNarrowAngleCalibrationProcedure?: (motionmaster.MotionMasterMessage.Request.IStopCirculoEncoderNarrowAngleCalibrationProcedure|null);
|
|
130
131
|
public startOsCommand?: (motionmaster.MotionMasterMessage.Request.IStartOsCommand|null);
|
|
131
|
-
public
|
|
132
|
+
public executeForwardCall?: (motionmaster.MotionMasterMessage.Request.IExecuteForwardCall|null);
|
|
133
|
+
public type?: ("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");
|
|
132
134
|
public static create(properties?: motionmaster.MotionMasterMessage.IRequest): motionmaster.MotionMasterMessage.Request;
|
|
133
135
|
public static encode(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
134
136
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -1830,6 +1832,25 @@ export namespace motionmaster {
|
|
|
1830
1832
|
public toJSON(): { [k: string]: any };
|
|
1831
1833
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1832
1834
|
}
|
|
1835
|
+
|
|
1836
|
+
interface IExecuteForwardCall {
|
|
1837
|
+
message?: (Uint8Array|null);
|
|
1838
|
+
}
|
|
1839
|
+
|
|
1840
|
+
class ExecuteForwardCall implements IExecuteForwardCall {
|
|
1841
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Request.IExecuteForwardCall);
|
|
1842
|
+
public message: Uint8Array;
|
|
1843
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Request.IExecuteForwardCall): motionmaster.MotionMasterMessage.Request.ExecuteForwardCall;
|
|
1844
|
+
public static encode(message: motionmaster.MotionMasterMessage.Request.IExecuteForwardCall, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1845
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Request.IExecuteForwardCall, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1846
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Request.ExecuteForwardCall;
|
|
1847
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Request.ExecuteForwardCall;
|
|
1848
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1849
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Request.ExecuteForwardCall;
|
|
1850
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Request.ExecuteForwardCall, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1851
|
+
public toJSON(): { [k: string]: any };
|
|
1852
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1853
|
+
}
|
|
1833
1854
|
}
|
|
1834
1855
|
|
|
1835
1856
|
interface IStatus {
|
|
@@ -1867,6 +1888,7 @@ export namespace motionmaster {
|
|
|
1867
1888
|
fullAutoTuning?: (motionmaster.MotionMasterMessage.Status.IFullAutoTuning|null);
|
|
1868
1889
|
circuloEncoderConfiguration?: (motionmaster.MotionMasterMessage.Status.ICirculoEncoderConfiguration|null);
|
|
1869
1890
|
osCommand?: (motionmaster.MotionMasterMessage.Status.IOsCommand|null);
|
|
1891
|
+
forwardCall?: (motionmaster.MotionMasterMessage.Status.IForwardCall|null);
|
|
1870
1892
|
}
|
|
1871
1893
|
|
|
1872
1894
|
class Status implements IStatus {
|
|
@@ -1905,7 +1927,8 @@ export namespace motionmaster {
|
|
|
1905
1927
|
public fullAutoTuning?: (motionmaster.MotionMasterMessage.Status.IFullAutoTuning|null);
|
|
1906
1928
|
public circuloEncoderConfiguration?: (motionmaster.MotionMasterMessage.Status.ICirculoEncoderConfiguration|null);
|
|
1907
1929
|
public osCommand?: (motionmaster.MotionMasterMessage.Status.IOsCommand|null);
|
|
1908
|
-
public
|
|
1930
|
+
public forwardCall?: (motionmaster.MotionMasterMessage.Status.IForwardCall|null);
|
|
1931
|
+
public type?: ("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");
|
|
1909
1932
|
public static create(properties?: motionmaster.MotionMasterMessage.IStatus): motionmaster.MotionMasterMessage.Status;
|
|
1910
1933
|
public static encode(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1911
1934
|
public static encodeDelimited(message: motionmaster.MotionMasterMessage.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
@@ -5190,6 +5213,91 @@ export namespace motionmaster {
|
|
|
5190
5213
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5191
5214
|
}
|
|
5192
5215
|
}
|
|
5216
|
+
|
|
5217
|
+
interface IForwardCall {
|
|
5218
|
+
response?: (Uint8Array|null);
|
|
5219
|
+
success?: (motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess|null);
|
|
5220
|
+
error?: (motionmaster.MotionMasterMessage.Status.ForwardCall.IError|null);
|
|
5221
|
+
}
|
|
5222
|
+
|
|
5223
|
+
class ForwardCall implements IForwardCall {
|
|
5224
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.IForwardCall);
|
|
5225
|
+
public response: Uint8Array;
|
|
5226
|
+
public success?: (motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess|null);
|
|
5227
|
+
public error?: (motionmaster.MotionMasterMessage.Status.ForwardCall.IError|null);
|
|
5228
|
+
public status?: ("success"|"error");
|
|
5229
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.IForwardCall): motionmaster.MotionMasterMessage.Status.ForwardCall;
|
|
5230
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.IForwardCall, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5231
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.IForwardCall, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5232
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.ForwardCall;
|
|
5233
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.ForwardCall;
|
|
5234
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5235
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.ForwardCall;
|
|
5236
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.ForwardCall, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5237
|
+
public toJSON(): { [k: string]: any };
|
|
5238
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5239
|
+
}
|
|
5240
|
+
|
|
5241
|
+
namespace ForwardCall {
|
|
5242
|
+
|
|
5243
|
+
interface ISuccess {
|
|
5244
|
+
code?: (motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code|null);
|
|
5245
|
+
message?: (string|null);
|
|
5246
|
+
}
|
|
5247
|
+
|
|
5248
|
+
class Success implements ISuccess {
|
|
5249
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess);
|
|
5250
|
+
public code: motionmaster.MotionMasterMessage.Status.ForwardCall.Success.Code;
|
|
5251
|
+
public message: string;
|
|
5252
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess): motionmaster.MotionMasterMessage.Status.ForwardCall.Success;
|
|
5253
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5254
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.ForwardCall.ISuccess, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5255
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.ForwardCall.Success;
|
|
5256
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.ForwardCall.Success;
|
|
5257
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5258
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.ForwardCall.Success;
|
|
5259
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.ForwardCall.Success, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5260
|
+
public toJSON(): { [k: string]: any };
|
|
5261
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5264
|
+
namespace Success {
|
|
5265
|
+
|
|
5266
|
+
enum Code {
|
|
5267
|
+
UNSPECIFIED = 0,
|
|
5268
|
+
DONE = 1
|
|
5269
|
+
}
|
|
5270
|
+
}
|
|
5271
|
+
|
|
5272
|
+
interface IError {
|
|
5273
|
+
code?: (motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code|null);
|
|
5274
|
+
message?: (string|null);
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5277
|
+
class Error implements IError {
|
|
5278
|
+
constructor(properties?: motionmaster.MotionMasterMessage.Status.ForwardCall.IError);
|
|
5279
|
+
public code: motionmaster.MotionMasterMessage.Status.ForwardCall.Error.Code;
|
|
5280
|
+
public message: string;
|
|
5281
|
+
public static create(properties?: motionmaster.MotionMasterMessage.Status.ForwardCall.IError): motionmaster.MotionMasterMessage.Status.ForwardCall.Error;
|
|
5282
|
+
public static encode(message: motionmaster.MotionMasterMessage.Status.ForwardCall.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5283
|
+
public static encodeDelimited(message: motionmaster.MotionMasterMessage.Status.ForwardCall.IError, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5284
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): motionmaster.MotionMasterMessage.Status.ForwardCall.Error;
|
|
5285
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): motionmaster.MotionMasterMessage.Status.ForwardCall.Error;
|
|
5286
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5287
|
+
public static fromObject(object: { [k: string]: any }): motionmaster.MotionMasterMessage.Status.ForwardCall.Error;
|
|
5288
|
+
public static toObject(message: motionmaster.MotionMasterMessage.Status.ForwardCall.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5289
|
+
public toJSON(): { [k: string]: any };
|
|
5290
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5291
|
+
}
|
|
5292
|
+
|
|
5293
|
+
namespace Error {
|
|
5294
|
+
|
|
5295
|
+
enum Code {
|
|
5296
|
+
UNSPECIFIED = 0,
|
|
5297
|
+
FAILED = 1
|
|
5298
|
+
}
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5193
5301
|
}
|
|
5194
5302
|
}
|
|
5195
5303
|
}
|