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

[bugfix] fix parsing of custom types added multiple times in messages #769

Merged

Conversation

markcutler
Copy link
Contributor

In the latest PlotJuggler I'm failing to decode some messages with the following error: throw std::runtime_error("Missing ROSType in library");

A common thread for the messages throwing this error is that they all contain the same custom types in multiple sub-entries. The result is that the reverse parsing of messages is not sufficient to capture all dependencies.

This PR suggests creating all the known types the first time through the messages and then filling in the packages only after. It is slightly less efficient, but correctly captures dependencies (as far as I can tell).

@facontidavide facontidavide self-assigned this Dec 18, 2022
@facontidavide facontidavide merged commit fae651c into facontidavide:main Dec 18, 2022
@markcutler markcutler deleted the mark_fix_message_parsing branch December 21, 2022 23:01
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.

2 participants