Select topics with search pattern (regex) in rosbag2
Is there a simple way to select multiple topics (e.g. all topics from a node or (sub)namespace) with some sort of search pattern in rosbag2
?
The previous ROS(1) rosbag
implementation did allow to use regular expressions of the form
$ rosbag record -e "/(.*)_foo/bar"
I can not find anything like that in rosbag2
CLI or documentation. However, this looks like a pretty common use case. Am I missing something or is there a more generic way of doing just this in ROS2.
Wondering the same thing. There is no issue in rosbag2 repo for regex. I thought that ros2 targets to have feature parity with ros(1). Is it not so?
I added issues for -e and -x options for rosbag2