Updating Arduino Code - kristiana-rendon/Swarmathon-ROS GitHub Wiki
Do not use Pololu A Star driver.
Use Arduino Leonardo driver for the micro controller to be discoverable.
- Go to arduino site and download arduino IDE.
- Download swarmathon arduino code from github repo.
- Copy and paste the library folder into arduino's default library folder.
- restart arduino IDE and check if library shows up in the library drop down menu.
- connect the usb with arduino.
- wait a few sec and see if arduino shows up on the port downdown menu.
- In the menu, select the leonardo arduino board.
- Compile and confirm success compilation.
- Compile and upload. confirm upload message.
- click on serial port connection to see if connection is established.
- Compile and upload again if connection is not established or that the device shows it's pololu A Star.
- Log into the node, reconnect all the wires, and reboot.
- Login to the node, run "rostopic echo /swarmie[*]/imu" to see some raw data output.