You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"'
Completion Criteria
After filtering a bag with a tf that has map->odom->base we get a new bag with a tf that has only odom->base
The text was updated successfully, but these errors were encountered:
More generically I think I would call this feature "content-based filtering". This would involve the converter feature, but also needs the ability to provide an arbitrary python expression.
I think, though, that you should currently be able to do this via a small Python script using the rosbag2_py API.
emersonknapp
changed the title
Filter a specific transformation from the /tf topic
Content-based filtering
Dec 1, 2021
Description
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"'
Completion Criteria
After filtering a bag with a tf that has map->odom->base we get a new bag with a tf that has only odom->base
The text was updated successfully, but these errors were encountered: