How to Install Python Robotics (Pyro)

Rose-Hulman Institute of Technology -
Computer Science & Software Engineering

Overview

Pyrobot requires that Eclipse be installed, before beginning to download Python and the Eclipse plug-in for Python, and then configure Eclipse to develop code on Python.

Make sure all required software is installed

  1. Eclipse 3.7/Indigo
    The 2011-2012 freshmen laptops came with this version.
    1. If you need to install it, follow these instructions.
  2. Python 3.2
    The 2011-2012 freshmen laptops came with Python 3.2.
    1. If you need to install it, follow these instructions.

Install the remaining Python libraries

  1. Follow this link to the local installer for the python imaging library: PIL-1.1.6.win32-py2.5.exeNote: this link will be updated when the latest version of this file becomes available
  2. Follow this link to the local installer for the Numeric package: Numeric-24.2.win32-py2.5.exe NOTE: this is a file for Python 2.6 which does not yet have an updated version
  3. Follow this link to the local installer for the pywin32 package: pywin32-211.win32-py2.5.exeNote: this file will be updated as soon as the file is available on the binaries
  4. Unzip and copy the pyrobot folder into C:\Program Files\Python25\Lib\site-packages: pyrobot.zip

Run the simulator to test the installation

  1. Double-click C:\Program Files\Python25\Lib\site-packages\pyrobot\bin\pyrobot.py to run it.
  2. Click Server: and choose PyrobotSimulator and choose Tutorial.py as a World. You should get a window showing a top view of a simulated room containing a robot and a few walls.
  3. In the interface window, click Robot: and choose PyrobotRobot60000.py
  4. Click Brain: and choose Avoid.py
  5. Click Run to make the robot wander around the simulated room.