Skip to content

Question: record rosbag will all topics excluding a certain list of topics  #1263

Description

@AswinkarthikeyenAK

Hi,
I am using ROS humble and was wondering which branch or commit should I have to use to record a rosbag file which can record all the topics however exclude a few topics.

ros2 bag record -s mcap --all --exclude /hi -> this works fine,
however, if add another topic after /hi, I get an error saying "[ERROR] [ros2bag]: Must specify only one option out of topics, --regex or --all"

I noticed there were few discussion around this and maybe it has already been fixed, however, it is quite hard to track down which branch should be used.
Can someone point me to the correct branch or documentation, please?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions