Skip to content

Jazzy: Cannot exclude /tf_static topic from ros2 bag play #2354

@Edwardius

Description

@Edwardius

Description

Attempting to play an mcap bag without the tf_static topic. Our team need this because we have outdated extrinsics in this bag, and so I'd like to rerun the bag with an updated tf_static. This is important for quick integration development/testing because otherwise we'd have to wait for a good day to collect data again.

Expected Behavior

All topics play except for /tf_static.

Actual Behavior

/tf_static does play with the rest of the topics.

To Reproduce

Link to bag: https://drive.google.com/file/d/1c0THVcqTd48UnC8yWh3DbZcbcn7PMgdM/view?usp=sharing (we're a student club so all data is public, no biggie)

ros2 bag play <bag_name> --exclude-topics /tf_static

System (please complete the following information)

  • OS: 24.04
  • ROS 2 Distro: Jazzy
  • Install Method: apt
  • Version: jazzy release

Additional context

Note: The /tf_static topic, during recording time, is relayed every 0.5s or so because ros2 bag record does not keep /tf_static in between bag splits. This is a whole other can of worms that I went down, and a fix to it is probably not going to be backported to Jazzy anytime soon.

Linking to #2342 (comment) for exposure :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions