Requirements

  • Ubuntu 12.04
  • Bluetooth
  • One or more Sphero 2.0 robots

Installing Ubuntu 12.04

Software

Middleware: ROS

Sphero driver

Prepare Spheros

Prepare environment

  • The standard environment is 250 x 250 cm. You will also have to measure out the robot's starting positions that are set in the NetLogo model.

Start model run

  • Open bidirectional.nlogo in NetLogo
  • Open bidirectional.py in PyCharm
  • Run bidirectional.py
  • Follow Python console instructions

Troubleshooting

  • Stop everything, turn Bluetooth off and then back on