Ask Your Question
5

How do I install and run a ROS Package?

asked 2013-04-12 06:52:01 -0500

llSourcell gravatar image

Let's use this one for example

h.ttp://www.ros.org/browse/details.php?distro=&name=camera_application

In terminal, what are the steps to install and run this package?

I know its a noob question but I didn't see anything in the tutorials about how to install a package from ROS.org

edit retag flag offensive close merge delete

Comments

Are you interested in that one specifically or ROS packages in general. The example you picked is somewhat more complex. It seems to be for web apps (not "only" ROS) and it looks to me to not be maintained anymore.

dornhege gravatar imagedornhege ( 2013-04-12 06:59:44 -0500 )edit

ROS Packages in general

llSourcell gravatar imagellSourcell ( 2013-04-12 15:39:31 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
10

answered 2013-04-13 06:00:58 -0500

dornhege gravatar image

Let me pick a simple one without specialties: rxparamedit.

Given you installed from packages in Ubuntu, the first step would be to check if there already is a debian package that you can just install. Usually that is named ros-<distro>-<stack/metapackage>. The nav-bar in the wiki shows the stack a package is in, which in this case would be freiburg_tools. For fuerte you'll find that sudo apt-get install ros-fuerte-freiburg-tools works.

If there is no deb package, you have to install by sources. rosws/ws_tool is recommended for that. The wiki page should list a source URL, e.g. https://alufr-ros-pkg.googlecode.com/svn/trunk/freiburg_tools. The rosws tutorials show how to do this in more detail, but basically rosws set --svn https://alufr-ros-pkg.googlecode.com/svn/trunk/freiburg_tools and rosws update should do the trick.

Next, build the package by rosdep install rxparamedit and rosmake rxparamedit or catkin_make if the package is catkinized .

edit flag offensive delete link more
1

answered 2015-08-26 23:55:50 -0500

Azharudeen gravatar image

is there no way you could install the package alone without the stack?

edit flag offensive delete link more

Comments

You can only install, what is released as a unit (e.g. as one deb package). If ROS packages are released by package or together with others depends on the maintainer.

dornhege gravatar imagedornhege ( 2015-08-27 11:06:20 -0500 )edit

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-04-12 06:52:01 -0500

Seen: 23,979 times

Last updated: Apr 13 '13