save file in different directory - launch file
<launch>
<node pkg="rosbag" type="play" name="rosbagr" args="$(find bag_to_depth_image)bagfile/newrgb.bag"/>
<node name="extract_r" pkg="bag_to_depth_image" type="extract_images" respawn="false" output="screen" cwd="node">
<remap from="image" to="/camera/rgb/image_raw"/>
</node>
</launch>
That's my launch file. I want to change the directory where the rosbag
file is saved, with cwd
I have only choice between node and home cwd="ROS_HOME|node"
I have to record a very big file with thousands of images from depth and rgb. So i want to save the rosbag
file in a different location.
Asked by ROSkinect on 2016-06-28 04:04:37 UTC
Comments
Can't you just give that to your program as a command line argument?
Asked by dornhege on 2016-06-28 07:18:25 UTC
I've been following this tutorial And I don't know how to do it from command line
Asked by ROSkinect on 2016-06-28 07:27:51 UTC