Ask Your Question

Using ros common tutorials packages

asked 2017-08-16 10:54:05 -0500

ros_a gravatar image

I have a machine that has the common tutorials package being installed but I'm not sure where it is installed or how can I use those packages.
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-08-16 12:36:32 -0500

jayess gravatar image

You can find the tutorials by using rosbash (here's how to navigate the file system). To find out if you have the common_tutorials simply run roscd common_tutorials and if you have it then this will take you to them (/opt/ros/<distrobution>/share/common_tutorials).

You'll find that, however, that package is empty except for the package.xml. So, as @2ROS0 pointed out, just go to /opt/ros/<distrobution>/share/ and look for the actionlib_tutorials, nodelet_tutorial_math, pluginlib_tutorials, and turtle_actionlib folders. They have the actual tutorials.

To use them, just use them as you would any other package.

edit flag offensive delete link more

answered 2017-08-16 12:18:17 -0500

2ROS0 gravatar image

updated 2017-08-16 12:19:11 -0500

The package is installed in the default location for ROS packages - /opt/ros/%distro% where distro is the version of ROS that you have installed on your machine.

The way you use it is to try out some of the executables provided by that installation. Refer to the tutorial pages of the individual packages within common_tutorials. For example: actionlib tutorials

edit flag offensive delete link more


My /opt/ros/kinetic/share/common_tutorials has only one file in it: package.xml

Where are the source files?

pitosalas gravatar imagepitosalas ( 2018-01-28 10:38:28 -0500 )edit

common_tutorials is a metapackage so you'll have to search for the packages that it houses in order to see the source code. To find out what packages it holds, see

jayess gravatar imagejayess ( 2018-01-28 13:31:37 -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



Asked: 2017-08-16 10:54:05 -0500

Seen: 52 times

Last updated: Aug 16 '17