- Hardwares
- Sphero BB-8
- Leap Motion Controller
- Computer with Bluetooth 4.0+
- Internet (to install npm packages in setup)
- Softwares
- Linux or Unix-like OS
- Node.js v5.11.0 or later
- Edit
conf
file and locate your node.js installation path. - Run
./setup.sh
. It will resolve npm dependancy. - Run
. ./conf && ${NODE} ./node_modules/noble/examples/advertisement-discovery.js
to locate your BB-8's BLE address. - Edit
main.js
to set the BLE address. - Run
run.sh
. - Enjoy!