Robotics StackExchange | Archived questions

Rosbag Record in Launch File to run_id Log location

Hi,

i m just trying to record a .bag for one Topic in a ros .launch File to the log folder of the run_id.

to record is no problem but i want that it ll be recorded directly to the folder where it also saves the .log files from the started nodes.

If i start a Node in the launch file all logs are written to

/.ros/log/run_id/

e.g. /.ros/log/75232c28-d176-92d8-00032d18db0a

thats changes for every new start of roslaunch

now i want that the bag file is also saved in this log folder

with <node pkg="rosbag" type="record" name="test_record" args="-O mytest_record /test_topic" />

i only can record to /.ros/

can anyone help me on this launch problem?

thanks René

Asked by ReneGaertner on 2015-03-23 12:02:47 UTC

Comments

This is the line I use in my launch file.

It works perfectly for me. Do you have access to write in that /test_topic folder? Does the folder exist?

Asked by pwong on 2015-03-24 16:28:19 UTC

Answers