Skip to content

Filter a specific transformation from the /tf topic #1

@imstevenpmwyca

Description

@imstevenpmwyca

Is there any way to delete for example the map->odom transformation from the /tf topic of a ros2 bag?
Something similar to what this does in ros1:
rosbag filter mappingData_input.bag mappingData_output.bag 'topic != "/tf" or topic == "/tf" and m.transforms[0].header.frame_id != "map" and m.transforms[0].child_frame_id != "odom"'
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