Skip to content

Commit

Permalink
로보링크 주미 미니 자동연결 추가
Browse files Browse the repository at this point in the history
포트 자동 연결 추가
입력 값 수정
  • Loading branch information
truedo committed Dec 17, 2024
1 parent 7ee2a51 commit 6c62ff7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
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

0 comments on commit 6c62ff7

Please sign in to comment.