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

The standard way to get a runtime path inside a launch file is to use the find syntax along with a ros package name:

$(find my_ros_package_name)/launch/myfile.launch

Note that a properly constructed ROS host may not have a catkin_ws/devel/ directory, and it's poor design for your launch file to assume that this directory exists.