Skip to content

ttu/lego-boost-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lego Boost AI and manual control

Simple AI for Lego Boost.

  • AI mode
  • Manual control mode

Execute

$ npm start

Manual mode controls

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

Setup

Linux / macOS

Check Noble prerequisites.

Windows

Install Windows build tools from npm.

$ npm install --global windows-build-tools
$ npm config set msvs_version 2015 --global
Setup Noble

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

Links

Releases

No releases published

Packages

No packages published