Ask Your Question
1

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.

http://wiki.ros.org/action/fullsearch/common_tutorials?action=fullsearch&context=180&value=linkto%3A%22common_tutorials%22
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

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
0

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

Comments

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 https://github.com/ros/common_tutorials

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

2 followers

Stats

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

Seen: 52 times

Last updated: Aug 16 '17