Ask Your Question
9

how does my program find the file system path to a package?

asked 2011-04-05 04:44:20 -0500

joq gravatar image

When reading data files, it is often necessary for a program to find the file system path name for the containing ROS package. That may differ depending on where the package is installed on the system.

rospack find solves this problem from the command line and in shell scripts.

How do I find the correct path in a C++ or Python program?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
10

answered 2011-04-05 04:51:05 -0500

joq gravatar image

I already knew the answer, but a colleague recently mentioned that it is somewhat buried in the ROS documentation. There are good answers on the Packages page, however:

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

Stats

Asked: 2011-04-05 04:44:20 -0500

Seen: 14,560 times

Last updated: Apr 05 '11