-
Notifications
You must be signed in to change notification settings - Fork 255
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
Write QoS metadata YAML as multiline #609
Comments
Is this still somewhat relevant? I'd like to try tackling this issue. I've done a quick preliminary check of the necessary code changes. I believe we should replace the type of the field Since we modified the type of a member in the struct In terms of making it compatible with previous versions, we could bump this new metadata format to version 7 (I think the current newest is 6 it seems?). For previous versions we can add a diverging code path to parse the serialized field with a 2nd Appreciate hearing other people's thoughts on this direction or if this is misguided. I'm just starting to dip my toes in the codebase and this would be my first contribution. Cheers. |
Main issue with this approach is that right now That part aside, while I think the approach you are considering is not crazy, it might be overkill to accomplish the goal here. The real issue is just that there aren't any newlines in the I have a branch https://github.com/ros2/rosbag2/tree/emersonknapp/metadata-qos-yaml-format where i started on this - it just has the commit b9ea95a which as you can see is pretty small. Since so much changed since I wrote that a year ago - I lost track of it in other busyness - it was awkward to rebase, so I just made a new branch and opened draft PR If that passes all the existing tests, it should probably have at least one new unit test to try the new behavior specifically. Sorry, not to try an swipe an attempt at picking up a ticket! Just, this reminded me I had (maybe) already solved this one. We'll see how that goes. Maybe you want to take over that PR and push it through to the end? Or, there are probably other goods tickets on the backlog. |
Thanks for the reply! Seems like you already got it sorted out in a much simpler way than I had in mind. In that case, I'll let you take this one over and I'll look for a different issue where I can contribute 😄. |
@MichaelOrlov shall this one be closed too? |
Description
Currently, the
offered_qos_profiles
that are stored in metadata.yaml are stored as a serialized yaml string within the yaml file, e.g.This would be simpler if it was also serialized and formatted as YAML rather than a string
Related Issues
N/A
Completion Criteria
Metadata looks like the following instead:
Implementation Notes / Suggestions
Possibly need to bump the metadata version for this
Testing Notes / Suggestions
Make sure that both the old string types and the new types are correctly parsed
The text was updated successfully, but these errors were encountered: