Changes: Recent All
History Edit Upload
Player provides an API for working with robots. Stage is a simulator, which works with player. http://playerstage.sourceforge.net/
Player supports C, C+, Java, and Python (other languages are probably supported too).
Here are the install instructions if you're running Ubuntu:
- Launch System | Administration | Synaptic Package Manager
- Click on the Reload button, to ensure you're looking at the most recent set of packages
- In the "quick search" box, type "robot"
- Select the following packages:
- Click the "Apply" button
There's currently a bug in Ubuntu's repository version of PlayerStage. You'll need to take the following steps to correct it.
- Right click on: rgb.txt and select "Save Link As..."
- Using the "Save in folder..." menu, select your Desktop and save the file.
- Launch Applications | Accessories | Terminal
- Run the following commands (you'll need to enter your password):
sudo cp rgb.txt /etc/X11
sudo mkdir -p /usr/X11R6/lib/X11
sudo cp rgb.txt /usr/X11R6/lib/X11
But I'm not running Ubuntu...
Player/Stage has worked in the past on OS X, but currently isn't working. We have a few Mac users who will probably put in the time and effort needed to get it working on OS X again. Until then, you're either out of luck, or going to get to learn how to create and submit patches!
In theory Player/Stage can run on Windows. We have zero experience with this. What we know can work is using VMWare. The VMWare Player image we have is too big to host on this website (5+ GB), but you can get a copy if you show up to a club meeting.
If you need help installing Player/Stage, drop by the robotics club meeting, Thursday evening.
OK, it's installed. Now what?
- Open up 2 terminal windows
- in one, run:
- cd /usr/share/stage/worlds
- robot-player everything.cfg
- in the second window, run:
- cd /usr/share/player/libplayerc++
Download the following python template: template.txt