You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: dispatcher.onGet is not a function
at /home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/scratch2mip_helper.js:55:20
at /home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/lib/base/finder.js:54:3
at /home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/lib/base/robot.js:60:4
at Peripheral. (/home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/node_modules/noble/lib/peripheral.js:73:7)
at Object.onceWrapper (events.js:316:30)
at emitOne (events.js:115:13)
at Peripheral.emit (events.js:210:7)
at Noble.onServicesDiscover (/home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/node_modules/noble/lib/noble.js:210:16)
at emitTwo (events.js:125:13)
at NobleBindings.emit (events.js:213:7)
Please let me know if I missed any thing.
Thanks,
Omar
The text was updated successfully, but these errors were encountered:
TypeError: dispatcher.onGet is not a function
at /home/pi/work/scratch2mip_helper/scratch2mip_helper.js:55:20
at /home/pi/work/scratch2mip_helper/lib/base/finder.js:54:3
at /home/pi/work/scratch2mip_helper/lib/base/robot.js:60:4
at Peripheral. (/home/pi/work/scratch2mip_helper/node_modules/noble/lib/peripheral.js:73:7)
at Peripheral.g (events.js:260:16)
at emitOne (events.js:77:13)
at Peripheral.emit (events.js:169:7)
at Noble.onServicesDiscover (/home/pi/work/scratch2mip_helper/node_modules/noble/lib/noble.js:210:16)
at emitTwo (events.js:87:13)
at emit (events.js:172:7)
`
Hello,
I tried running scratch2mip on my Ubuntu VM, once I select a MiP robot, the server crashes. The following is the log:
Cuser@ubuntu:~/wowweelabs-mip-robot/scratch/scratch2mip_helper$ sudo node scratch2mip_helper.js
0: Mip-81560
which one: 0: Mip-81560
1: Mip-73331
which one: 1
/home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/scratch2mip_helper.js:55
dispatcher.onGet('/forward', function(req, res) {
^
TypeError: dispatcher.onGet is not a function
at /home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/scratch2mip_helper.js:55:20
at /home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/lib/base/finder.js:54:3
at /home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/lib/base/robot.js:60:4
at Peripheral. (/home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/node_modules/noble/lib/peripheral.js:73:7)
at Object.onceWrapper (events.js:316:30)
at emitOne (events.js:115:13)
at Peripheral.emit (events.js:210:7)
at Noble.onServicesDiscover (/home/user/wowweelabs-mip-robot/scratch/scratch2mip_helper/node_modules/noble/lib/noble.js:210:16)
at emitTwo (events.js:125:13)
at NobleBindings.emit (events.js:213:7)
Please let me know if I missed any thing.
Thanks,
Omar
The text was updated successfully, but these errors were encountered: