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

By default, the bag file will be in ~/.ros folder with the name being the date and time of starting recording. For exact name, you can add this flag output="screen" so it looks like this

<node name="record_topics_for_verification" pkg="rosbag" type="record" args="$(arg topics_name)" output="screen"/>

After adding this flag, you will see the bag name in rosout after you launch.

Note: the bag file will have the name of xxx.bag.active while being recording. Only after you properly terminate the recording node, the file name will be changed to xxx.bag

By default, the bag file will be in ~/.ros ~/.ros folder with the name being the date and time of starting recording. For exact name, you can add this flag output="screen" so it looks like this

<node name="record_topics_for_verification" pkg="rosbag" type="record" args="$(arg topics_name)" output="screen"/>

After adding this flag, you will see the bag name in rosout after you launch.

Note: the bag file will have the name of xxx.bag.active while being recording. Only after you properly terminate the recording node, the file name will be changed to xxx.bag