Ability to playback bags with unknown message types #307
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Description
Sometimes I am handed a bagfile that has messages I don't have the sources for. Right now if I try to play those bag files back with
ros2 bag play
, I get an error message like:It would be nice if I could still play back these bag files, and
ros2 bag play
would just play the ones it could deserialize. Basically I am asking for this error to be downgraded to a warning, and skipping the messages that can't be played back.I'm currently working around this by manually using sqlite3 to remove the messages I don't have the sources for.
Related Issues
None.
Completion Criteria
--ignore-unknown-types
)Implementation Notes / Suggestions
Make the initial error messages about unknown messages a warning, and then skip those messages that can be deserialized during playback.
Testing Notes / Suggestions
Make sure there is a bag file with unknown message types, and that it can be played back.
The text was updated successfully, but these errors were encountered: