Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 475

Record with rosbag from launch file

$
0
0
I want to use *rosbag record* in my launch file with the parameters linking to a ros package. Normally, you can get a package path in a launch file by using ${find mypackage}, but this does not work in this case, I presume because the *${find pkg}* command doesn't work in the *args* statement of the launch file (?). The error in the log shows that the rosbag node is trying to subscribe to topics named *${find* and *mypkg}/subdir*, which clearly is not what is intended. I definitely don't want to use an absolute path. Is there any way to specify the relative path here?

Viewing all articles
Browse latest Browse all 475

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>