ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I cannot see an easy solution to your problem. I recommend supplying the absolute path of the file at command line. For instace:
roslaunch package file.launch robot:=`rospack find package_2`/relative/path/to/file
And using it directly as $(arg robot)
in your launch file.
Depending on your exact application, there might be a better solution.