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.

  1. Go to arduino site and download arduino IDE.
  2. Download swarmathon arduino code from github repo.
  3. Copy and paste the library folder into arduino's default library folder.
  4. restart arduino IDE and check if library shows up in the library drop down menu.
  5. connect the usb with arduino.
  6. wait a few sec and see if arduino shows up on the port downdown menu.
  7. In the menu, select the leonardo arduino board.
  8. Compile and confirm success compilation.
  9. Compile and upload. confirm upload message.
  10. click on serial port connection to see if connection is established.
  11. Compile and upload again if connection is not established or that the device shows it's pololu A Star.
  12. Log into the node, reconnect all the wires, and reboot.
  13. Login to the node, run "rostopic echo /swarmie[*]/imu" to see some raw data output.