diff --git a/app/modules/robolink_ZumiMini.js b/app/modules/robolink_ZumiMini.js index 27997ada8..48f0b2864 100644 --- a/app/modules/robolink_ZumiMini.js +++ b/app/modules/robolink_ZumiMini.js @@ -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]; diff --git a/app/modules/robolink_ZumiMini.json b/app/modules/robolink_ZumiMini.json index c30036100..ba0749563 100644 --- a/app/modules/robolink_ZumiMini.json +++ b/app/modules/robolink_ZumiMini.json @@ -16,7 +16,7 @@ "url": "https://www.robolink.co.kr/", "email": "asteam@robolink.co.kr", "reconnect": true, - "selectPort": true, + "selectPort": false, "hardware": { "type": "serial", "control": "master", @@ -27,7 +27,7 @@ "dataBits": 8, "stopBits": 1, "byteDelimiter": [255, 255], - "vendor": "robolink", + "vendor": ["ROBOLINK", "wch.cn"], "firmwarecheck": false, "bufferSize": 1024, "flowControl": "none"