@synapticon/motion-master-client 2.3.0-beta.0 → 6.0.0-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/client.d.ts +20 -0
- package/dist/client.js +37 -0
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +8 -0
- package/dist/generated/Api.d.ts +991 -0
- package/dist/generated/Api.js +614 -0
- package/dist/generated/data-contracts.d.ts +644 -0
- package/dist/generated/data-contracts.js +12 -0
- package/dist/generated/http-client.d.ts +60 -0
- package/dist/generated/http-client.js +171 -0
- package/dist/hex.d.ts +2 -0
- package/dist/hex.js +20 -0
- package/dist/index.d.ts +10 -7
- package/dist/index.js +16 -22
- package/dist/mmpd.d.ts +54 -0
- package/dist/mmpd.js +323 -0
- package/dist/sdo.d.ts +15 -0
- package/dist/sdo.js +212 -0
- package/dist/somanet.d.ts +5 -0
- package/dist/somanet.js +15 -0
- package/dist/web-socket-connection.d.ts +69 -0
- package/dist/web-socket-connection.js +206 -0
- package/package.json +29 -35
- package/.vscode/launch.json +0 -23
- package/README.md +0 -118
- package/box.config.json +0 -7
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/motion-master-client-web-socket-connection.d.ts +0 -43
- package/dist/motion-master-client-web-socket-connection.d.ts.map +0 -1
- package/dist/motion-master-client-web-socket-connection.js +0 -91
- package/dist/motion-master-client-web-socket-connection.js.map +0 -1
- package/dist/motion-master-client.d.ts +0 -105
- package/dist/motion-master-client.d.ts.map +0 -1
- package/dist/motion-master-client.js +0 -348
- package/dist/motion-master-client.js.map +0 -1
- package/dist/motion-master-notification-subscribe-data.d.ts +0 -8
- package/dist/motion-master-notification-subscribe-data.d.ts.map +0 -1
- package/dist/motion-master-notification-subscribe-data.js +0 -3
- package/dist/motion-master-notification-subscribe-data.js.map +0 -1
- package/dist/motion-master-notification-web-socket-connection.d.ts +0 -56
- package/dist/motion-master-notification-web-socket-connection.d.ts.map +0 -1
- package/dist/motion-master-notification-web-socket-connection.js +0 -115
- package/dist/motion-master-notification-web-socket-connection.js.map +0 -1
- package/dist/motion-master-notification.d.ts +0 -31
- package/dist/motion-master-notification.d.ts.map +0 -1
- package/dist/motion-master-notification.js +0 -44
- package/dist/motion-master-notification.js.map +0 -1
- package/dist/util.d.ts +0 -16
- package/dist/util.d.ts.map +0 -1
- package/dist/util.js +0 -24
- package/dist/util.js.map +0 -1
- package/licenses.format.json +0 -4
- package/motion-master-client.config.json +0 -7
- package/smm_data_dic.json +0 -1213
- package/src/index.ts +0 -7
- package/src/motion-master-client-web-socket-connection.ts +0 -104
- package/src/motion-master-client.ts +0 -468
- package/src/motion-master-notification-subscribe-data.ts +0 -7
- package/src/motion-master-notification-web-socket-connection.ts +0 -143
- package/src/motion-master-notification.ts +0 -51
- package/src/util.ts +0 -22
- package/test.sh +0 -122
- package/tsconfig.json +0 -63
- package/tslint.json +0 -118
package/README.md
DELETED
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
# Motion Master Client
|
|
2
|
-
|
|
3
|
-
Library and CLI tool for interacting with [Motion Master](https://github.com/synapticon/motion-master).
|
|
4
|
-
|
|
5
|
-
## Install
|
|
6
|
-
|
|
7
|
-
sudo npm --unsafe-perm=true install -g @synapticon/motion-master-client
|
|
8
|
-
|
|
9
|
-
## Command line usage
|
|
10
|
-
|
|
11
|
-
See the examples in [test.sh](test.sh).
|
|
12
|
-
|
|
13
|
-
Usage: cli [options] [command]
|
|
14
|
-
|
|
15
|
-
Options:
|
|
16
|
-
-V, --version output the version number
|
|
17
|
-
-c, --config <path> path to JSON config file to read and replace the default values with
|
|
18
|
-
-d, --device-address <address> device address (uint32) generated by Motion Master - takes precedence over
|
|
19
|
-
device position
|
|
20
|
-
-f, --output-format <json|yaml> if left unspecified the output format is the default colored message
|
|
21
|
-
inspect
|
|
22
|
-
-p, --device-position <position> used when device address is not specified (default: 0)
|
|
23
|
-
-h, --help display help for command
|
|
24
|
-
|
|
25
|
-
Commands:
|
|
26
|
-
request [options] <type> [args...]
|
|
27
|
-
upload [options] [params...]
|
|
28
|
-
download [paramValues...]
|
|
29
|
-
getDeviceFileContent <filename>
|
|
30
|
-
getDeviceLogContent
|
|
31
|
-
getCoggingTorqueDataContent
|
|
32
|
-
startCoggingTorqueRecording [options]
|
|
33
|
-
startOffsetDetection
|
|
34
|
-
startPlantIdentification <durationSeconds> <torqueAmplitude> <startFrequency> <endFrequency> <cutoffFrequency>
|
|
35
|
-
startSystemIdentification <durationSeconds> <torqueAmplitude> <startFrequency> <endFrequency>
|
|
36
|
-
startCirculoEncoderNarrowAngleCalibrationProcedure <encoderOrdinal>
|
|
37
|
-
monitor [options] <topic> [params...]
|
|
38
|
-
help [command] display help for command
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
### request
|
|
42
|
-
|
|
43
|
-
Usage: cli request [options] <type> [args...]
|
|
44
|
-
|
|
45
|
-
Options:
|
|
46
|
-
-i, --interval <value> sending interval in microseconds (default: 1000000)
|
|
47
|
-
-h, --help display help for command
|
|
48
|
-
|
|
49
|
-
Request <type>s:
|
|
50
|
-
pingSystem
|
|
51
|
-
getSystemVersion
|
|
52
|
-
getDeviceInfo
|
|
53
|
-
getDeviceParameterInfo
|
|
54
|
-
getDeviceParameterValues
|
|
55
|
-
getMultiDeviceParameterValues
|
|
56
|
-
setDeviceParameterValues
|
|
57
|
-
setMultiDeviceParameterValues
|
|
58
|
-
getDeviceFileList
|
|
59
|
-
getDeviceFile
|
|
60
|
-
setDeviceFile
|
|
61
|
-
deleteDeviceFile
|
|
62
|
-
resetDeviceFault
|
|
63
|
-
stopDevice
|
|
64
|
-
startDeviceFirmwareInstallation
|
|
65
|
-
getDeviceLog
|
|
66
|
-
startCoggingTorqueRecording
|
|
67
|
-
getCoggingTorqueData
|
|
68
|
-
startOffsetDetection
|
|
69
|
-
startPlantIdentification
|
|
70
|
-
startSystemIdentification
|
|
71
|
-
computeAutoTuningGains
|
|
72
|
-
setMotionControllerParameters
|
|
73
|
-
enableMotionController
|
|
74
|
-
disableMotionController
|
|
75
|
-
setSignalGeneratorParameters
|
|
76
|
-
startSignalGenerator
|
|
77
|
-
stopSignalGenerator
|
|
78
|
-
startMonitoringDeviceParameterValues
|
|
79
|
-
stopMonitoringDeviceParameterValues
|
|
80
|
-
getEthercatNetworkState
|
|
81
|
-
setEthercatNetworkState
|
|
82
|
-
startNarrowAngleCalibration
|
|
83
|
-
setSystemClientTimeout
|
|
84
|
-
getCirculoEncoderMagnetDistance
|
|
85
|
-
startCirculoEncoderNarrowAngleCalibrationProcedure
|
|
86
|
-
getDeviceCiA402State
|
|
87
|
-
setDeviceCiA402State
|
|
88
|
-
getSystemLog
|
|
89
|
-
startDeviceSiiRestore
|
|
90
|
-
startOpenLoopFieldControl
|
|
91
|
-
computeFullAutoTuningGains
|
|
92
|
-
startFullAutoTuning
|
|
93
|
-
stopFullAutoTuning
|
|
94
|
-
startCirculoEncoderConfiguration
|
|
95
|
-
stopCirculoEncoderNarrowAngleCalibrationProcedure
|
|
96
|
-
startOsCommand
|
|
97
|
-
|
|
98
|
-
### monitor
|
|
99
|
-
|
|
100
|
-
Usage: monitor [options] <topic> [params...]
|
|
101
|
-
|
|
102
|
-
Options:
|
|
103
|
-
-i, --interval <value> sending interval in microseconds (default: 1000000)
|
|
104
|
-
-h, --help output usage information
|
|
105
|
-
|
|
106
|
-
## Library usage
|
|
107
|
-
|
|
108
|
-
const input = new rxjs.Subject<Buffer>();
|
|
109
|
-
const output = new rxjs.Subject<Buffer>();
|
|
110
|
-
const motionMasterClient = new MotionMasterClient(input, output);
|
|
111
|
-
const messageId = v4(); // '4e4d938e-1021-4b68-ad01-38c7ed2c5ee4'
|
|
112
|
-
const getSystemVersion: motionmaster.MotionMasterMessage.Request.IGetSystemVersion = {};
|
|
113
|
-
motionMasterClient.sendRequest({ getSystemVersion }, messageId);
|
|
114
|
-
motionMasterClient.systemVersion$.subscribe(console.log);
|
|
115
|
-
|
|
116
|
-
## Publish
|
|
117
|
-
|
|
118
|
-
npm publish --access=public
|
package/box.config.json
DELETED
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,8CAA8C,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,sCAAsC,EAAE,MAAM,6CAA6C,CAAC;AACrG,OAAO,EAAE,2CAA2C,EAAE,MAAM,oDAAoD,CAAC;AACjH,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE,cAAc,QAAQ,CAAC"}
|
package/dist/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2GAAqG;AAA5F,mKAAA,qCAAqC,OAAA;AAC9C,+DAA4D;AAAnD,0HAAA,kBAAkB,OAAA;AAE3B,uHAAiH;AAAxG,+KAAA,2CAA2C,OAAA;AACpD,2EAAwE;AAA/D,sIAAA,wBAAwB,OAAA;AAEjC,yCAAuB"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { BehaviorSubject, Observable } from 'rxjs';
|
|
2
|
-
import { WebSocketSubject } from 'rxjs/webSocket';
|
|
3
|
-
import { MotionMasterClient } from './motion-master-client';
|
|
4
|
-
import { MotionMasterMessage } from './util';
|
|
5
|
-
export declare class MotionMasterClientWebSocketConnection {
|
|
6
|
-
wssUrl: string;
|
|
7
|
-
pingSystemPeriod: number;
|
|
8
|
-
aliveTimeout: number;
|
|
9
|
-
/**
|
|
10
|
-
* An instance of MotionMasterClient bound to this WebSocket connection.
|
|
11
|
-
*/
|
|
12
|
-
readonly client: MotionMasterClient;
|
|
13
|
-
/**
|
|
14
|
-
* Emits a boolean value when connection gets opened or closed.
|
|
15
|
-
*/
|
|
16
|
-
readonly connected$: BehaviorSubject<boolean>;
|
|
17
|
-
/**
|
|
18
|
-
* Emits a boolean value when Motion Master is considered alive. True when messages are received
|
|
19
|
-
* in regular interval, or false when alive timeout expires.
|
|
20
|
-
*/
|
|
21
|
-
readonly alive$: BehaviorSubject<boolean>;
|
|
22
|
-
private pingSystemIntervalObserver;
|
|
23
|
-
private pingSystemIntervalSubscription;
|
|
24
|
-
private aliveTimeoutId;
|
|
25
|
-
private closeObserver;
|
|
26
|
-
private openObserver;
|
|
27
|
-
private wssConfig;
|
|
28
|
-
readonly wss$: WebSocketSubject<Uint8Array>;
|
|
29
|
-
readonly message$: Observable<MotionMasterMessage>;
|
|
30
|
-
private messageSubscription;
|
|
31
|
-
private clientOutputSubscription;
|
|
32
|
-
/**
|
|
33
|
-
* MotionMasterClientWebSocketConnection constructor.
|
|
34
|
-
* @param wssUrl Motion Master Bridge WebSocket client URL.
|
|
35
|
-
* @param pingSystemPeriod timeframe in which to send ping system message to Motion Master.
|
|
36
|
-
* @param aliveTimeout how long to wait for Motion Master message before emitting it's not alive.
|
|
37
|
-
*/
|
|
38
|
-
constructor(wssUrl?: string, pingSystemPeriod?: number, aliveTimeout?: number);
|
|
39
|
-
close(): void;
|
|
40
|
-
open(): void;
|
|
41
|
-
private keepalive;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=motion-master-client-web-socket-connection.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motion-master-client-web-socket-connection.d.ts","sourceRoot":"","sources":["../src/motion-master-client-web-socket-connection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAY,UAAU,EAAgB,MAAM,MAAM,CAAC;AAE3E,OAAO,EAAa,gBAAgB,EAA0B,MAAM,gBAAgB,CAAC;AAErF,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,QAAQ,CAAC;AAE7C,qBAAa,qCAAqC;IAiEvC,MAAM;IACN,gBAAgB;IAChB,YAAY;IAjErB;;OAEG;IACH,QAAQ,CAAC,MAAM,qBAA4B;IAE3C;;OAEG;IACH,QAAQ,CAAC,UAAU,2BAAuC;IAE1D;;;OAGG;IACH,QAAQ,CAAC,MAAM,2BAAuC;IAEtD,OAAO,CAAC,0BAA0B,CAAmD;IAErF,OAAO,CAAC,8BAA8B,CAAsB;IAE5D,OAAO,CAAC,cAAc,CAAK;IAE3B,OAAO,CAAC,aAAa,CAOnB;IAEF,OAAO,CAAC,YAAY,CAKlB;IAEF,OAAO,CAAC,SAAS,CAOf;IAEF,QAAQ,CAAC,IAAI,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAA6B;IAExE,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC,mBAAmB,CAAC,CAEhD;IAEF,OAAO,CAAC,mBAAmB,CAAsB;IACjD,OAAO,CAAC,wBAAwB,CAAsB;IAEtD;;;;;OAKG;gBAEM,MAAM,SAAoC,EAC1C,gBAAgB,SAAM,EACtB,YAAY,SAAO;IAG5B,KAAK;IAKL,IAAI;IAaJ,OAAO,CAAC,SAAS;CAQlB"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MotionMasterClientWebSocketConnection = void 0;
|
|
4
|
-
var rxjs_1 = require("rxjs");
|
|
5
|
-
var operators_1 = require("rxjs/operators");
|
|
6
|
-
var webSocket_1 = require("rxjs/webSocket");
|
|
7
|
-
var motion_master_client_1 = require("./motion-master-client");
|
|
8
|
-
var util_1 = require("./util");
|
|
9
|
-
var MotionMasterClientWebSocketConnection = /** @class */ (function () {
|
|
10
|
-
/**
|
|
11
|
-
* MotionMasterClientWebSocketConnection constructor.
|
|
12
|
-
* @param wssUrl Motion Master Bridge WebSocket client URL.
|
|
13
|
-
* @param pingSystemPeriod timeframe in which to send ping system message to Motion Master.
|
|
14
|
-
* @param aliveTimeout how long to wait for Motion Master message before emitting it's not alive.
|
|
15
|
-
*/
|
|
16
|
-
function MotionMasterClientWebSocketConnection(wssUrl, pingSystemPeriod, aliveTimeout) {
|
|
17
|
-
var _this = this;
|
|
18
|
-
if (wssUrl === void 0) { wssUrl = "ws://" + location.hostname + ":63524"; }
|
|
19
|
-
if (pingSystemPeriod === void 0) { pingSystemPeriod = 150; }
|
|
20
|
-
if (aliveTimeout === void 0) { aliveTimeout = 1000; }
|
|
21
|
-
this.wssUrl = wssUrl;
|
|
22
|
-
this.pingSystemPeriod = pingSystemPeriod;
|
|
23
|
-
this.aliveTimeout = aliveTimeout;
|
|
24
|
-
/**
|
|
25
|
-
* An instance of MotionMasterClient bound to this WebSocket connection.
|
|
26
|
-
*/
|
|
27
|
-
this.client = new motion_master_client_1.MotionMasterClient();
|
|
28
|
-
/**
|
|
29
|
-
* Emits a boolean value when connection gets opened or closed.
|
|
30
|
-
*/
|
|
31
|
-
this.connected$ = new rxjs_1.BehaviorSubject(false);
|
|
32
|
-
/**
|
|
33
|
-
* Emits a boolean value when Motion Master is considered alive. True when messages are received
|
|
34
|
-
* in regular interval, or false when alive timeout expires.
|
|
35
|
-
*/
|
|
36
|
-
this.alive$ = new rxjs_1.BehaviorSubject(false);
|
|
37
|
-
this.pingSystemIntervalObserver = { next: function () { return _this.client.requestPingSystem(); } };
|
|
38
|
-
this.pingSystemIntervalSubscription = new rxjs_1.Subscription();
|
|
39
|
-
this.aliveTimeoutId = 0;
|
|
40
|
-
this.closeObserver = {
|
|
41
|
-
next: function () {
|
|
42
|
-
_this.pingSystemIntervalSubscription.unsubscribe();
|
|
43
|
-
_this.connected$.next(false);
|
|
44
|
-
self.clearTimeout(_this.aliveTimeoutId);
|
|
45
|
-
_this.alive$.next(false);
|
|
46
|
-
},
|
|
47
|
-
};
|
|
48
|
-
this.openObserver = {
|
|
49
|
-
next: function () {
|
|
50
|
-
_this.pingSystemIntervalSubscription = rxjs_1.interval(_this.pingSystemPeriod).subscribe(_this.pingSystemIntervalObserver);
|
|
51
|
-
_this.connected$.next(true);
|
|
52
|
-
},
|
|
53
|
-
};
|
|
54
|
-
this.wssConfig = {
|
|
55
|
-
binaryType: 'arraybuffer',
|
|
56
|
-
closeObserver: this.closeObserver,
|
|
57
|
-
deserializer: function (e) { return new Uint8Array(e.data); },
|
|
58
|
-
openObserver: this.openObserver,
|
|
59
|
-
serializer: function (value) { return value; },
|
|
60
|
-
url: this.wssUrl,
|
|
61
|
-
};
|
|
62
|
-
this.wss$ = webSocket_1.webSocket(this.wssConfig);
|
|
63
|
-
this.message$ = this.wss$.pipe(operators_1.map(function (data) { return util_1.MotionMasterMessage.decode(data); }));
|
|
64
|
-
this.messageSubscription = new rxjs_1.Subscription();
|
|
65
|
-
this.clientOutputSubscription = new rxjs_1.Subscription();
|
|
66
|
-
}
|
|
67
|
-
MotionMasterClientWebSocketConnection.prototype.close = function () {
|
|
68
|
-
this.messageSubscription.unsubscribe();
|
|
69
|
-
this.clientOutputSubscription.unsubscribe();
|
|
70
|
-
};
|
|
71
|
-
MotionMasterClientWebSocketConnection.prototype.open = function () {
|
|
72
|
-
var _this = this;
|
|
73
|
-
this.messageSubscription = this.message$.pipe(operators_1.tap(function () { return _this.keepalive(); }), operators_1.filter(function (message) { return message && message.status ? !message.status.systemPong : false; })).subscribe(function (message) {
|
|
74
|
-
_this.client.input$.next(message);
|
|
75
|
-
});
|
|
76
|
-
this.clientOutputSubscription = this.client.output$.subscribe(function (message) {
|
|
77
|
-
_this.wss$.next(util_1.MotionMasterMessage.encode(message).finish());
|
|
78
|
-
});
|
|
79
|
-
};
|
|
80
|
-
MotionMasterClientWebSocketConnection.prototype.keepalive = function () {
|
|
81
|
-
var _this = this;
|
|
82
|
-
if (this.alive$.getValue() === false) {
|
|
83
|
-
this.alive$.next(true);
|
|
84
|
-
}
|
|
85
|
-
self.clearTimeout(this.aliveTimeoutId);
|
|
86
|
-
this.aliveTimeoutId = self.setTimeout(function () { return _this.alive$.next(false); }, this.aliveTimeout);
|
|
87
|
-
};
|
|
88
|
-
return MotionMasterClientWebSocketConnection;
|
|
89
|
-
}());
|
|
90
|
-
exports.MotionMasterClientWebSocketConnection = MotionMasterClientWebSocketConnection;
|
|
91
|
-
//# sourceMappingURL=motion-master-client-web-socket-connection.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"motion-master-client-web-socket-connection.js","sourceRoot":"","sources":["../src/motion-master-client-web-socket-connection.ts"],"names":[],"mappings":";;;AAAA,6BAA2E;AAC3E,4CAAkD;AAClD,4CAAqF;AAErF,+DAA4D;AAC5D,+BAA6C;AAE7C;IA0DE;;;;;OAKG;IACH,+CACS,MAA0C,EAC1C,gBAAsB,EACtB,YAAmB;QAH5B,iBAIK;QAHI,uBAAA,EAAA,mBAAiB,QAAQ,CAAC,QAAQ,WAAQ;QAC1C,iCAAA,EAAA,sBAAsB;QACtB,6BAAA,EAAA,mBAAmB;QAFnB,WAAM,GAAN,MAAM,CAAoC;QAC1C,qBAAgB,GAAhB,gBAAgB,CAAM;QACtB,iBAAY,GAAZ,YAAY,CAAO;QAjE5B;;WAEG;QACM,WAAM,GAAG,IAAI,yCAAkB,EAAE,CAAC;QAE3C;;WAEG;QACM,eAAU,GAAG,IAAI,sBAAe,CAAU,KAAK,CAAC,CAAC;QAE1D;;;WAGG;QACM,WAAM,GAAG,IAAI,sBAAe,CAAU,KAAK,CAAC,CAAC;QAE9C,+BAA0B,GAAG,EAAE,IAAI,EAAE,cAAM,OAAA,KAAI,CAAC,MAAM,CAAC,iBAAiB,EAAE,EAA/B,CAA+B,EAAE,CAAC;QAE7E,mCAA8B,GAAG,IAAI,mBAAY,EAAE,CAAC;QAEpD,mBAAc,GAAG,CAAC,CAAC;QAEnB,kBAAa,GAAG;YACtB,IAAI,EAAE;gBACJ,KAAI,CAAC,8BAA8B,CAAC,WAAW,EAAE,CAAC;gBAClD,KAAI,CAAC,UAAU,CAAC,IA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{ IMotionMasterMessage, MotionMasterMessage } from './util';
|
|
3
|
-
export declare type RequestType = keyof MotionMasterMessage.IRequest;
|
|
4
|
-
export declare type StatusType = keyof MotionMasterMessage.IStatus;
|
|
5
|
-
export declare type SignalGeneratorType = keyof MotionMasterMessage.Request.ISetSignalGeneratorParameters;
|
|
6
|
-
export declare type ComputeAutoTuningGainsType = keyof MotionMasterMessage.Request.IComputeAutoTuningGains;
|
|
7
|
-
export declare type DeviceAddressType = number | null | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* Select observable of Status message based on status type argument.
|
|
10
|
-
* @see https://www.typescriptlang.org/docs/handbook/advanced-types.html#conditional-types
|
|
11
|
-
*/
|
|
12
|
-
export declare type StatusTypeObservable<T extends StatusType> = T extends 'systemPong' ? Observable<MotionMasterMessage.Status.SystemPong> : T extends 'systemVersion' ? Observable<MotionMasterMessage.Status.SystemVersion> : T extends 'systemEvent' ? Observable<MotionMasterMessage.Status.SystemEvent> : T extends 'deviceInfo' ? Observable<MotionMasterMessage.Status.DeviceInfo> : T extends 'deviceParameterInfo' ? Observable<MotionMasterMessage.Status.DeviceParameterInfo> : T extends 'deviceParameterValues' ? Observable<MotionMasterMessage.Status.DeviceParameterValues> : T extends 'multiDeviceParameterValues' ? Observable<MotionMasterMessage.Status.MultiDeviceParameterValues> : T extends 'deviceFileList' ? Observable<MotionMasterMessage.Status.DeviceFileList> : T extends 'deviceFile' ? Observable<MotionMasterMessage.Status.DeviceFile> : T extends 'deviceEvent' ? Observable<MotionMasterMessage.Status.DeviceEvent> : T extends 'deviceFirmwareInstallation' ? Observable<MotionMasterMessage.Status.DeviceFirmwareInstallation> : T extends 'deviceLog' ? Observable<MotionMasterMessage.Status.DeviceLog> : T extends 'deviceFaultReset' ? Observable<MotionMasterMessage.Status.DeviceFaultReset> : T extends 'coggingTorqueRecording' ? Observable<MotionMasterMessage.Status.CoggingTorqueRecording> : T extends 'coggingTorqueData' ? Observable<MotionMasterMessage.Status.CoggingTorqueData> : T extends 'offsetDetection' ? Observable<MotionMasterMessage.Status.OffsetDetection> : T extends 'plantIdentification' ? Observable<MotionMasterMessage.Status.PlantIdentification> : T extends 'autoTuning' ? Observable<MotionMasterMessage.Status.AutoTuning> : T extends 'motionController' ? Observable<MotionMasterMessage.Status.MotionController> : T extends 'signalGenerator' ? Observable<MotionMasterMessage.Status.SignalGenerator> : T extends 'monitoringParameterValues' ? Observable<MotionMasterMessage.Status.MonitoringParameterValues> : T extends 'deviceStop' ? Observable<MotionMasterMessage.Status.DeviceStop> : T extends 'ethercatNetworkState' ? Observable<MotionMasterMessage.Status.EthercatNetworkState> : T extends 'narrowAngleCalibration' ? Observable<MotionMasterMessage.Status.NarrowAngleCalibration> : T extends 'systemIdentification' ? Observable<MotionMasterMessage.Status.SystemIdentification> : T extends 'circuloEncoderMagnetDistance' ? Observable<MotionMasterMessage.Status.CirculoEncoderMagnetDistance> : T extends 'circuloEncoderNarrowAngleCalibrationProcedure' ? Observable<MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure> : T extends 'deviceCia402State' ? Observable<MotionMasterMessage.Status.DeviceCiA402State> : T extends 'systemLog' ? Observable<MotionMasterMessage.Status.SystemLog> : T extends 'deviceSiiRestore' ? Observable<MotionMasterMessage.Status.DeviceSiiRestore> : T extends 'openLoopFieldControl' ? Observable<MotionMasterMessage.Status.OpenLoopFieldControl> : T extends 'fullAutoTuning' ? Observable<MotionMasterMessage.Status.FullAutoTuning> : T extends 'circuloEncoderConfiguration' ? Observable<MotionMasterMessage.Status.CirculoEncoderConfiguration> : T extends 'osCommand' ? Observable<MotionMasterMessage.Status.OsCommand> : Observable<any>;
|
|
13
|
-
export declare class MotionMasterClient {
|
|
14
|
-
/**
|
|
15
|
-
* Decoded message instances coming from Motion Master.
|
|
16
|
-
* @see https://github.com/protobufjs/protobuf.js#toolset Message.decode
|
|
17
|
-
*/
|
|
18
|
-
readonly input$: Subject<MotionMasterMessage>;
|
|
19
|
-
/**
|
|
20
|
-
* Message instances or objects going to Motion Master.
|
|
21
|
-
* @see https://github.com/protobufjs/protobuf.js#toolset Message.encode
|
|
22
|
-
*/
|
|
23
|
-
readonly output$: Subject<IMotionMasterMessage>;
|
|
24
|
-
requestPingSystem(messageId?: string): Observable<MotionMasterMessage.Status.SystemPong>;
|
|
25
|
-
requestGetSystemVersion(messageId?: string): Observable<MotionMasterMessage.Status.SystemVersion>;
|
|
26
|
-
requestGetDeviceInfo(messageId?: string): Observable<MotionMasterMessage.Status.DeviceInfo>;
|
|
27
|
-
requestGetDeviceParameterInfo(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.DeviceParameterInfo>;
|
|
28
|
-
requestGetDeviceParameterValues(deviceAddress: DeviceAddressType, parameters: MotionMasterMessage.Request.GetDeviceParameterValues.IParameter[], sendProgress?: boolean, messageId?: string): Observable<MotionMasterMessage.Status.DeviceParameterValues>;
|
|
29
|
-
requestSetDeviceParameterValues(deviceAddress: DeviceAddressType, parameterValues: MotionMasterMessage.Request.SetDeviceParameterValues.IParameterValue[], messageId?: string): Observable<MotionMasterMessage.Status.DeviceParameterValues>;
|
|
30
|
-
requestGetDeviceFileList(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.DeviceFileList>;
|
|
31
|
-
requestGetDeviceFile(deviceAddress: DeviceAddressType, name: string, messageId?: string): Observable<MotionMasterMessage.Status.DeviceFile>;
|
|
32
|
-
requestSetDeviceFile(deviceAddress: DeviceAddressType, name: string, content: Uint8Array, overwrite: boolean, messageId?: string): Observable<MotionMasterMessage.Status.DeviceFile>;
|
|
33
|
-
requestDeleteDeviceFile(deviceAddress: DeviceAddressType, name: string, messageId?: string): Observable<MotionMasterMessage.Status.DeviceFile>;
|
|
34
|
-
requestResetDeviceFault(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.DeviceFaultReset>;
|
|
35
|
-
requestStopDevice(deviceAddress: DeviceAddressType, messageId?: string): string;
|
|
36
|
-
requestStartDeviceFirmwareInstallation(deviceAddress: DeviceAddressType, firmwarePackageContent: Uint8Array, skipSiiInstallation?: boolean, messageId?: string): Observable<MotionMasterMessage.Status.DeviceFirmwareInstallation>;
|
|
37
|
-
requestGetDeviceLog(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.DeviceLog>;
|
|
38
|
-
requestStartCoggingTorqueRecording(deviceAddress: DeviceAddressType, skipAutoTuning: boolean, messageId?: string): Observable<MotionMasterMessage.Status.CoggingTorqueRecording>;
|
|
39
|
-
requestGetCoggingTorqueData(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.CoggingTorqueData>;
|
|
40
|
-
requestStartOffsetDetection(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.OffsetDetection>;
|
|
41
|
-
requestStartPlantIdentification(deviceAddress: DeviceAddressType, durationSeconds: number, torqueAmplitude: number, startFrequency: number, endFrequency: number, cutoffFrequency: number, messageId?: string): Observable<MotionMasterMessage.Status.PlantIdentification>;
|
|
42
|
-
requestComputePositionAutoTuningGains(deviceAddress: DeviceAddressType, positionParameters: MotionMasterMessage.Request.ComputeAutoTuningGains.IPositionParameters, messageId?: string): Observable<MotionMasterMessage.Status.AutoTuning>;
|
|
43
|
-
requestComputeVelocityAutoTuningGains(deviceAddress: DeviceAddressType, velocityParameters: MotionMasterMessage.Request.ComputeAutoTuningGains.IVelocityParameters, messageId?: string): Observable<MotionMasterMessage.Status.AutoTuning>;
|
|
44
|
-
requestComputeFullAutoTuningGains(deviceAddress: DeviceAddressType, type: MotionMasterMessage.Request.ComputeFullAutoTuningGains.Type, controllerType?: MotionMasterMessage.Request.ComputeAutoTuningGains.PositionParameters.ControllerType, messageId?: string): Observable<MotionMasterMessage.Status.FullAutoTuning>;
|
|
45
|
-
requestSetMotionControllerParameters(deviceAddress: DeviceAddressType, target: number, messageId?: string): string;
|
|
46
|
-
requestEnableMotionController(deviceAddress: DeviceAddressType, controllerType: MotionMasterMessage.Request.EnableMotionController.ControllerType, filterValue: boolean, messageId?: string): Observable<MotionMasterMessage.Status.MotionController>;
|
|
47
|
-
requestDisableMotionController(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.MotionController>;
|
|
48
|
-
requestSetSignalGeneratorParameters(setSignalGeneratorParameters: MotionMasterMessage.Request.ISetSignalGeneratorParameters, messageId?: string): string;
|
|
49
|
-
requestStartSignalGenerator(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.SignalGenerator>;
|
|
50
|
-
requestStopSignalGenerator(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.SignalGenerator>;
|
|
51
|
-
requestStartMonitoringDeviceParameterValues(deviceAddress: DeviceAddressType, parameters: MotionMasterMessage.Request.GetDeviceParameterValues.IParameter[], interval: number, topic: string, messageId?: string): Observable<MotionMasterMessage.Status.MonitoringParameterValues>;
|
|
52
|
-
requestStopMonitoringDeviceParameterValues(startMonitoringRequestId: string, messageId?: string): Observable<MotionMasterMessage.Status.MonitoringParameterValues>;
|
|
53
|
-
requestGetEthercatNetworkState(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.EthercatNetworkState>;
|
|
54
|
-
requestSetEthercatNetworkState(deviceAddress: DeviceAddressType, state: MotionMasterMessage.Request.SetEthercatNetworkState.State, messageId?: string): Observable<MotionMasterMessage.Status.EthercatNetworkState>;
|
|
55
|
-
requestStartNarrowAngleCalibration(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.NarrowAngleCalibration>;
|
|
56
|
-
requestSetSystemClientTimeout(timeoutMs: number, messageId?: string): string;
|
|
57
|
-
requestStartSystemIdentification(deviceAddress: DeviceAddressType, durationSeconds: number, torqueAmplitude: number, startFrequency: number, endFrequency: number, messageId?: string): Observable<MotionMasterMessage.Status.SystemIdentification>;
|
|
58
|
-
requestGetCirculoEncoderMagnetDistance(deviceAddress: DeviceAddressType, encoderOrdinal: number, ringRevision: number, messageId?: string): Observable<MotionMasterMessage.Status.CirculoEncoderMagnetDistance>;
|
|
59
|
-
requestStartCirculoEncoderNarrowAngleCalibrationProcedure(deviceAddress: DeviceAddressType, encoderOrdinal: number, messageId?: string): Observable<MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure>;
|
|
60
|
-
requestGetDeviceCia402State(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.DeviceCiA402State>;
|
|
61
|
-
requestSetDeviceCia402State(deviceAddress: DeviceAddressType, state: MotionMasterMessage.Status.DeviceCiA402State.State, messageId?: string): Observable<MotionMasterMessage.Status.DeviceCiA402State>;
|
|
62
|
-
requestGetSystemLog(messageId?: string): Observable<MotionMasterMessage.Status.SystemLog>;
|
|
63
|
-
requestStartDeviceSiiRestore(devicePosition: number, siiContent: Uint8Array, messageId?: string): Observable<MotionMasterMessage.Status.DeviceSiiRestore>;
|
|
64
|
-
requestStartOpenLoopFieldControl(properties: MotionMasterMessage.Request.IStartOpenLoopFieldControl, messageId?: string): Observable<MotionMasterMessage.Status.OpenLoopFieldControl>;
|
|
65
|
-
requestStartFullAutoTuning(deviceAddress: DeviceAddressType, type: MotionMasterMessage.Request.StartFullAutoTuning.Type, controllerType?: MotionMasterMessage.Request.ComputeAutoTuningGains.PositionParameters.ControllerType, messageId?: string): Observable<MotionMasterMessage.Status.FullAutoTuning>;
|
|
66
|
-
requestStopFullAutoTuning(deviceAddress: DeviceAddressType, messageId?: string): Observable<MotionMasterMessage.Status.FullAutoTuning>;
|
|
67
|
-
requestStartCirculoEncoderConfiguration(deviceAddress: DeviceAddressType, encoderOrdinal: number, messageId?: string): Observable<MotionMasterMessage.Status.CirculoEncoderConfiguration>;
|
|
68
|
-
requestStopCirculoEncoderNarrowAngleCalibrationProcedure(deviceAddress: DeviceAddressType, encoderOrdinal: number, messageId?: string): Observable<MotionMasterMessage.Status.CirculoEncoderNarrowAngleCalibrationProcedure>;
|
|
69
|
-
requestStartOsCommand(deviceAddress: DeviceAddressType, timeoutMs: number, command: Uint8Array, messageId?: string): Observable<MotionMasterMessage.Status.OsCommand>;
|
|
70
|
-
/**
|
|
71
|
-
* Select device at position in EtherCAT chain. This function makes an initial request to fetch a list of devices.
|
|
72
|
-
* @param position device position in EtherCAT chain
|
|
73
|
-
* @returns an observable of device messages
|
|
74
|
-
*/
|
|
75
|
-
selectDeviceAtPosition(position: number): Observable<MotionMasterMessage.Status.DeviceInfo.IDevice | null | undefined>;
|
|
76
|
-
/**
|
|
77
|
-
* Select incoming messages by id.
|
|
78
|
-
*
|
|
79
|
-
* This function filters messages by id as there can be multiple messages coming in for a single request,
|
|
80
|
-
* e.g. startOffsetDetection → started → progress → done. Ensure that you unsubscribe or use `takeWhile` operator.
|
|
81
|
-
*
|
|
82
|
-
* @param messageId
|
|
83
|
-
* @returns an observable of motion master messages
|
|
84
|
-
*/
|
|
85
|
-
selectMessage(messageId: string): Observable<MotionMasterMessage>;
|
|
86
|
-
/**
|
|
87
|
-
* Select incoming messages by id (optionally) and get their status response.
|
|
88
|
-
*
|
|
89
|
-
* This function filters messages by id as there can be multiple messages coming in for a single request,
|
|
90
|
-
* e.g. startOffsetDetection → started → progress → done. Ensure that you unsubscribe or use `takeWhile` operator.
|
|
91
|
-
*
|
|
92
|
-
* @param messageId
|
|
93
|
-
* @param type of status message received as a response
|
|
94
|
-
*/
|
|
95
|
-
selectMessageStatus<T extends StatusType>(type: T, messageId?: string): StatusTypeObservable<T>;
|
|
96
|
-
/**
|
|
97
|
-
* Send Request message to output.
|
|
98
|
-
* @param request proto message
|
|
99
|
-
* @param [messageId] identifies request, if no messageId is provided one is generated with uuid v4 and returned
|
|
100
|
-
* @returns passed or generated messageId
|
|
101
|
-
*/
|
|
102
|
-
sendRequest(request: MotionMasterMessage.IRequest, messageId?: string): string;
|
|
103
|
-
sendMessage(message: IMotionMasterMessage): string | null | undefined;
|
|
104
|
-
}
|
|
105
|
-
//# sourceMappingURL=motion-master-client.d.ts.map
|
|
@@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