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

Hi, I typically use a launch file with the following:

<node pkg="rosbag" type="record" name="rosbag_record_sensors" output="screen"
      args="--buffsize=0 
            -e '(.*)you_want_this(.*)|(.*)and_this(.*)|(.*)/camera/(.*)'
            -x '(.*)you_dont_want_this(.*)|(.*)neither_that(.*)'"/>

Hi, I typically use a launch file with the following:

<node pkg="rosbag" type="record" name="rosbag_record_sensors" output="screen"
      args="--buffsize=0 
            -e '(.*)you_want_this(.*)|(.*)and_this(.*)|(.*)/camera/(.*)'
'(.*)you_want_this(.*)|(.*)and_this(.*)'
            -x '(.*)you_dont_want_this(.*)|(.*)neither_that(.*)'"/>

Separation is done using |.