Simple AI for Lego Boost.
- AI mode
- Manual control mode
$ npm start
t toggle between AI / Manual mode
arrow keys speed and direction (motor A & B)
q, w roll (motor C)
a, s pitch (motor D)
z full stop
Check Noble prerequisites.
Install Windows build tools from npm.
$ npm install --global windows-build-tools
$ npm config set msvs_version 2015 --global
If your adapter is not in the list of supported adapters, set correct VID and PID as environment variables. These can be seen from Zadig.
$ set BLUETOOTH_HCI_SOCKET_USB_VID=0x1286
$ set BLUETOOTH_HCI_SOCKET_USB_PID=0x204C