Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

로보링크 주미 미니 자동연결 추가 #799

Merged
merged 1 commit into from
Dec 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/modules/robolink_ZumiMini.js
Original file line number Diff line number Diff line change
Expand Up @@ -247,11 +247,11 @@ class ZumiMini extends BaseModule {
this.inputData.pInfo = data[this.INFO];
this.inputData.pSize = data[this.P_SIZE];
this.inputData.pStat = data[this.P_STAT];
this.inputData.irSensor.FL = data[this.IR];
this.inputData.irSensor.FR = data[this.IR + 1];
this.inputData.irSensor.BL = data[this.IR + 2];
this.inputData.irSensor.BM = data[this.IR + 3];
this.inputData.irSensor.BR = data[this.IR + 4];
this.inputData.irSensor.FL = data[this.IR]*4;
this.inputData.irSensor.FR = data[this.IR + 1]*4;
this.inputData.irSensor.BL = data[this.IR + 2]*4;
this.inputData.irSensor.BM = data[this.IR + 3]*4;
this.inputData.irSensor.BR = data[this.IR + 4]*4;
this.inputData.faceDetect.DETECT = data[this.FD];
this.inputData.faceDetect.CX = data[this.FD + 1];
this.inputData.faceDetect.CY = data[this.FD + 2];
Expand Down
4 changes: 2 additions & 2 deletions app/modules/robolink_ZumiMini.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"url": "https://www.robolink.co.kr/",
"email": "[email protected]",
"reconnect": true,
"selectPort": true,
"selectPort": false,
"hardware": {
"type": "serial",
"control": "master",
Expand All @@ -27,7 +27,7 @@
"dataBits": 8,
"stopBits": 1,
"byteDelimiter": [255, 255],
"vendor": "robolink",
"vendor": ["ROBOLINK", "wch.cn"],
"firmwarecheck": false,
"bufferSize": 1024,
"flowControl": "none"
Expand Down
Loading