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
-
Eclipse 3.7/Indigo
The 2011-2012 freshmen laptops came with this version.
-
If you need to install it, follow
these instructions.
-
Python 3.2
The 2011-2012 freshmen laptops came with Python 3.2.
-
If you need to install it, follow
these instructions.
Install the remaining Python libraries
- 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
- 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
- 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
- Unzip and copy the pyrobot folder into C:\Program Files\Python25\Lib\site-packages:
pyrobot.zip
Run the simulator to test the installation
- Double-click C:\Program Files\Python25\Lib\site-packages\pyrobot\bin\pyrobot.py to run it.
- 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.
- In the interface window, click Robot: and choose PyrobotRobot60000.py
- Click Brain: and choose Avoid.py
- Click Run to make the robot wander around the simulated room.