Warning: include_once(scripts/rss.php): failed to open stream: No such file or directory in /userfiles/CS/public_html/eclab/projects/robots/arc/local/config.php on line 92

Warning: include_once(): Failed opening 'scripts/rss.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /userfiles/CS/public_html/eclab/projects/robots/arc/local/config.php on line 92
Applied Robotics Club : Main - Player Stage browse

Player Stage

About

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).

Installation

Here are the install instructions if you're running Ubuntu:

  1. Launch System | Administration | Synaptic Package Manager
  2. Click on the Reload button, to ensure you're looking at the most recent set of packages
  3. In the "quick search" box, type "robot"
  4. Select the following packages:
    • robot-player
    • stage
    • python-playerc
  5. 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.

  1. Right click on: rgb.txt and select "Save Link As..."
  2. Using the "Save in folder..." menu, select your Desktop and save the file.
  3. Launch Applications | Accessories | Terminal
  4. Run the following commands (you'll need to enter your password):
cd ~/Desktop
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.

Installation Assistance

If you need help installing Player/Stage, drop by the robotics club meeting, Thursday evening.

OK, it's installed. Now what?

  1. Open up 2 terminal windows
  2. in one, run:
    1. cd /usr/share/stage/worlds
    2. robot-player everything.cfg
  3. in the second window, run:
    1. cd /usr/share/player/libplayerc++
    2. ./sonarobstacleavoid

Download the following python template: template.txt