ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Alternatively to @aak2166 answer you can 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.