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

This is how I would go about doing it in ROS2:

ros2 bag record `ros2 topic list | grep --regexp="/.*_foo/bar"`

Of course you can add more topics manually if you want:

ros2 bag record `ros2 topic list | grep --regexp="/.*_foo/bar"` /kuku /muku