Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Topic missing on connection's header generate error #6

Merged

Conversation

rlamarche
Copy link
Contributor

On ROS Noetic rosbags, the header topic is missing in connection's headers.

I don't know if it's related to https://answers.ros.org/question/266967/why-does-rosbag_storage-add-topic-to-the-connection-header/ but this MR seems to fix the problem.

Note that in this library, the header is get from the record and not the connection's headers :

https://github.com/swri-robotics/bag-reader-java/blob/master/src/main/java/com/github/swrirobotics/bags/reader/records/Connection.java#L54C9-L54C16

…vent errors (header topic is missing on ros noetic rosbags)
@newpavlov
Copy link
Owner

Sigh... It's what we get when a format does not have a proper specification.

Looking at this issue it looks like topic in connection record is a legacy leftover.

@newpavlov newpavlov merged commit 446f490 into newpavlov:master May 27, 2024
5 checks passed
@newpavlov
Copy link
Owner

Thank you! This fix is released in v0.6.3.

@rlamarche
Copy link
Contributor Author

And thanks to you too !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants