ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Another option is creating a dedicated subfolder in one of your packages, maybe putting a .gitignore file into it (so you won't accidentally commit bagfiles) and the using that folder for recording your bagfiles to it.

Example launch file line:

  <node pkg="rosbag" type="record" name="rosbag_record_standard_data" respawn="true" output="screen" args="-o $(find argo_bag_launch)/bags/default_record /tf /odom /cmd_vel" />

Another option is creating a dedicated subfolder in one of your packages, maybe putting a .gitignore file containing "*.bag" into it (so you won't accidentally commit bagfiles) and the then using that folder for recording your bagfiles to it.

Example launch file line:

  <node pkg="rosbag" type="record" name="rosbag_record_standard_data" respawn="true" output="screen" args="-o $(find argo_bag_launch)/bags/default_record /tf /odom /cmd_vel" />