Add rclcpp_generic, a publisher and subscription for serialized messages#1452
Merged
jacobperron merged 43 commits intoros2:masterfrom Apr 3, 2021
Merged
Add rclcpp_generic, a publisher and subscription for serialized messages#1452jacobperron merged 43 commits intoros2:masterfrom
jacobperron merged 43 commits intoros2:masterfrom
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this is
This is a modified version of
GenericPublisherandGenericSubscriptionfrom therosbag2repo with the goal of serving as a basis for the port oftopic_toolsto ROS2 (androsbag2in the future as well as other libraries). See ros2/ros2#857 for more detail.What was modified
I made the pub/sub standalone since I don't want to force the user to inherit from some node, meaning it now stores a library and can be created just from the topic name and type name.
Reviewer notes
I know this is a very large PR. If you prefer, I'm happy to split it into several smaller ones – but it's actually only a moderate (okay, still large-ish) diff from the rosbag2 sources, as you can see by looking at the second commit.
I don't have all the context of the original source code, and I'll highlight the things that I am uncertain about in comments. It's one of my first contributions here, so please don't hesitate to let me know if I'm not following best practices or the design is awkward.
I didn't sign-off the first commit as the contributing guidelines demand – I don't know what to do with it since it isn't really from me. What do you recommend?