Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The more portable way to do this is to use getPath. This gets the addresyo of the specified package, then you can drill down to the specific directory. Note that this requires that the package is findable on the ROS_PACKAGE_PATH.