ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Use the ros::package API:

ros::package::getPath('PKG_NAME') should give you the package path, where you can append your relative resource path to get a full path.

(under the assumption that this hasn't changed for catkin)