ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Using the "Player" package

asked 2011-06-22 12:54:12 -0500

xeronia gravatar image

updated 2011-06-22 22:13:26 -0500


I am trying to use the "Player" package with a package that I am working on, but I can't seem to find any documentation telling me how to use that package.

Right now, I have "player" listed as a dependency in my manifest.xml file of the package I'm writing, and that's it. Running "cmake ." in the directory doesn't give any errors. Running "make" tells me that it's not finding any Player packages.

Is there something I'm missing in CMakeLists.txt?


edit retag flag offensive close merge delete

4 Answers

Sort by » oldest newest most voted

answered 2011-06-24 04:45:44 -0500

xeronia gravatar image

I got Player and ROS to integrate without the Player package, with ROS Diamondback and Player 3.0.2.

Instructions are here:

The key is to edit the CMakeLists.txt file so that ROS finds all of the Player libraries that are installed during compilation.

edit flag offensive delete link more

answered 2011-06-22 22:06:03 -0500

updated 2013-11-13 01:01:23 -0500

If you want to get a camera running with ros, wrapping player is usually not the way to go. Instead, you should try to find a ROS driver that supports the camera.

We also have a Logitech Quickcam Orbit/Sphere (vendor/product ID 046d:08b5), and got it running by modifying the uvc_camera package. We didn't release it yet because the clean way to go would be to integrate our hack into the uvc_camera package instead of releasing yet another fork.

I've uploaded a snapshot here:

git clone <a href=""></a>

Update: I've uploaded the current version of the package here: . It runs on Fuerte, Groovy, Hydro. Still a very bad hack. :-)

edit flag offensive delete link more


Hi Martin, It was nice to meet you at IROS, do you have Orbit driver that can control pan/tilt motor as well?

Kei Okada gravatar image Kei Okada  ( 2013-11-08 17:43:43 -0500 )edit

Hi Kei, nice to meet you too! :-)

Martin Günther gravatar image Martin Günther  ( 2013-11-11 22:55:18 -0500 )edit

We've experimented with the Orbit's pan/tilt motor back on player, but got very poor repeatability and so abandoned the idea. I can't find any code related to that any more; but there's a tool called `setpwc` in Debian that allows you to control the motor from the command line.

Martin Günther gravatar image Martin Günther  ( 2013-11-11 22:55:41 -0500 )edit

The URL is here: The source code is very short, so it should be easy to wrap that into a ROS driver.

Martin Günther gravatar image Martin Günther  ( 2013-11-11 22:57:10 -0500 )edit

unfortunately, setpwc does not work, but guvcview after uvcdynctrl --import=/usr/share/uvcdynctrl/data/046d/logitech.xml works, thanks!

Satoshi Iwashi gravatar image Satoshi Iwashi  ( 2013-11-12 23:14:09 -0500 )edit

Awesome! Since there still seem to be people using this, I've uploaded our hackish driver to Github (see above).

Martin Günther gravatar image Martin Günther  ( 2013-11-13 01:02:10 -0500 )edit

answered 2011-06-22 14:04:57 -0500

joq gravatar image

What are you expecting it to do?

The ROS player package is mostly only used to support the Erratic robot.

edit flag offensive delete link more


I want it to support a Logitech Quickcam Orbit/Sphere AF. Currently, I have the camera working and functioning in a Player program.
xeronia gravatar image xeronia  ( 2011-06-24 04:46:13 -0500 )edit

answered 2011-07-03 05:45:32 -0500

At the University of Ulster we wrote wrappers for several player proxies. You can find them in our stack: Player Interface. The code does not have a proper documentation, but it should be straightforward to use. Please contact me if you need any information on how to use the code.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2011-06-22 12:54:12 -0500

Seen: 661 times

Last updated: Nov 13 '13