RGB Swarm Robot Quickstart Guide

From Mech
Jump to navigationJump to search

This guide was written as a quickstart guide for the Swarm Robots Project, but contains general information about programming e-pucks.

Checklist

  • Physical Set up
    • Projector
    • Tent
  • Computer Programs needed

Computer Setup

  • Download this
  • Set up that

e-puck

e-puck Setup

Connecting the e-puck

  1. Go to start menu >> control panel >> Bluetooth Devices
  2. Click the 'Add...' button in the lower left of the dialog window
    • Turn on the e-puck that you wish to configure/connect to the computer
    • Check the box next to 'My device is set up and ready to be found.'
    • Continue with the Next button, and the computer will search for your e-puck
  3. Once the computer finds your e-puck, select the appropriate e-puck (should be ID'd by the 4 digit ID number), and assign the 4 digit ID number as the 'passkey' for that e-puck
    • This process reserves a pair of COM(serial) port for that specific e-puck, one as Incoming and the other as Outgoing; each e-puck will have a different pair of ports
  4. Return to the Bluetooth Devices Dialog screen, and click on the COM Ports tab
  5. Check which COM ports are assigned to your e-puck, specifically the Outgoing COM port; this COM port will be used when programming this e-puck with the TinyBootloader program
  • Note: if using a USB Bluetooth dongle, when the dongle is unplugged and replugged it into a different USB port, or a different dongle altogether is used, it may be necessary to repeat these steps for each e-puck that you wish to use

Programming the e-puck

e-puck Troubleshooting

Machine Vision Localization System

  • Machine Vision Localization System Code

Machine Vision Localization System Setup

Vision System Troubleshooting

Additional Tools

Matlab Tools

Visual Studio Tools