![]() Copy the peripheral ids in these files and define a start lane (see below for more). I use this file for my GroundShock car and 'config-skull.properties' for Skull. By default the application looks for the file 'config-gs.properties'. In the root directory of the project you should create one config file per car. Turn on the charged cars, make sure Bluetooth is enabled on your MacBook and from the new directory run this command: You need to find out the Peripheral ID of the cars you want to connect to. Invoke the following commands from your git directory. Make sure the following tools are installed and on your path. the offsets, I had to guess how to interpretate the data from the cars since I hadn't found any documentation.Īuthor: Niklas Heidloff Setup of the Node.js Controller I haven't checked other platforms, firmware versions etc. The code below works for my current setup. Check out the photo of the setup.ĭisclaimer: I followed the documentation on the Anki Drive SDK site. I tested it with a MacBook Pro successully (without additional adapter). Additionally you need a device to run the Node.js application which also supports Bluetooth Low Energy. ![]() In order to run this project I used the Anki Overdrive Starter Kit. This allows for example to build collision prevention software as demonstrated below. MQTT interface to invoke commands from cloud platforms like IBM Bluemix and receive events from cars in the cloud.Controller (Node.js application) running on MacBooks or notebooks to invoke commands and receive messages via CLI (command line interface) using the Anki Drive Bluebooth Low Energy interface.The node-mqtt-for-anki-overdrive project contains two main components to control Anki Overdrive cars. Node.js Controller and MQTT API for Anki Overdrive
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |