-
Notifications
You must be signed in to change notification settings - Fork 261
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recorder --regex and --exclude options #604
Conversation
- you can use -x or --regex option now to specify how topics are recorded - this new option is exclusive with -a and specifying topics (for simplicity) - to be supplemented with tests.. Signed-off-by: Adam Dabrowski <[email protected]>
Signed-off-by: Adam Dabrowski <[email protected]>
Signed-off-by: Adam Dabrowski <[email protected]>
7922478
to
c318f75
Compare
Signed-off-by: Adam Dabrowski <[email protected]>
24b21c4
to
c3fc263
Compare
@mjeronimo can I ask for a review and if this is alright, to run jobs? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionally this looks good, but I have some nitpicks on style and language that I'd like to address before merging
rosbag2_tests/test/rosbag2_tests/test_rosbag2_record_end_to_end.cpp
Outdated
Show resolved
Hide resolved
rosbag2_tests/test/rosbag2_tests/test_rosbag2_record_end_to_end.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Adam Dabrowski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - thanks for the updates
Gist: https://gist.githubusercontent.com/emersonknapp/20bbe7e473b4159fb5f88662b552963c/raw/656e51e4a43294405eae946a887b2d838489c554/ros2.repos |
* Regex and exclude options for recording topics - you can use -e or --regex option now to specify how topics are recorded - can use -x or --exclude to exclude topics from recording - regex is exclusive with -a and specifying topics (for simplicity) Signed-off-by: Adam Dabrowski <[email protected]>
* Regex and exclude options for recording topics - you can use -e or --regex option now to specify how topics are recorded - can use -x or --exclude to exclude topics from recording - regex is exclusive with -a and specifying topics (for simplicity) Signed-off-by: Adam Dabrowski <[email protected]>
is this still usable? cant seem rosbag2 cant seem to recognize -x flag for regex |
@purentap Yes |
Resolves issues #559 and #560. This is a minimal implementation that brings the regex filtering feature to rosbag2.
Implements ros2 bag record -e / --regex and -x / --exclude options to specify how topics are recorded.