-
Notifications
You must be signed in to change notification settings - Fork 427
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
Implement functions to get publisher and subcription information from topic name #943
Comments
Do you start to implement this function ? |
@ivanpauno @wjwwood sir I would to contribute to this. |
We have not started implementation. From our perspective, it is still open for anyone to implement. Thanks! |
I feel like this should be implemented as part of ros2/rmw#186, ideally by the original authors. I'm still planning on reviewing that set of pull requests, and that would be my first bit of feedback, that we shouldn't merge those until an rclcpp API is proposed. If you guys (@jaisontj and friends) want to work with @Barry-Xu-2018, @suab321321, or others that's fine, but please iterate with them before asking for merge on the other pull requests. |
The proposed API would just be the addition of I think the most we can do additionally as part of ros2/rmw#186 is to stub out these functions in |
I think it should be at least in the |
I think that the |
Sure, but it needs to be done. I don't want to have "oh we'll do the rclcpp one later if there's time" and then it never gets done. It needs to be done directly afterwards and not left up to someone else or only if there's timee. rclcpp and rclpy should not diverge, and we need to be stricter about that as we go forward. The best way to ensure it gets done is to require it before merging the rmw changes. So I would prefer to see the rclcpp API before merging the rmw changes. |
Yes I agree that requiring the rclcpp PR before merging the others is a good way to ensure that it's done. I also think that implementing a feature that has implications from the Maybe the developer guide should be more clear about this. I also don't find clear when a design document is required or not. Maybe for all changes that add a new feature (like this) a design document should be required, stating the API changes in each layer. |
I would feel more comfortable merging everything but the rclpy changes, then require rclcpp be merged with it, if the concern is really to split the work up over several pull requests. What I do not want to allow is divergence between the C++ and Python client libraries. I don't care for the idea of merging changes to the API which are not being used yet (e.g. merging API changes to rmw or rcl before rclpy/rclcpp/examples), but I prefer that to having rclpy and rclcpp fall out of sync. Whether or not you need a design document isn't clearly defined. Really the design document is meant to allow you to convey to others what you want to do. You may need it to convince others or solicit feedback or to document the design and alternatives for the future, but if you don't feel you need any of those or no one asks for it, then I guess you can get away without it. |
@wjwwood we have not prioritized the implementation work for this right now, but we will try to soon. In the meantime, we think that the feature changes that have been approved can be merged in a staged fashion to avoid having
Does that sound reasonable to you? |
Yeah, if they must be broken into parts, then that's fine with me. That's what I was suggesting when I said:
But you stated it much more clearly. |
Based on above commits, I have implemented rclcpp function.
After above 10 PRs are merged, please review my commit #960. (@ivanpauno @mm318 @prajakta-gokhale) |
I reviewed the pull requests up to Other than that I had one technical thing that needed to be fixed and some comments/style nitpicks. Otherwise it looks good to me, and we would be ready to next actually implement this for |
okay. After ros2/rcl#511 is complete, I will update my commit based on new change. |
ros2/rcl#511 had been merged. |
This issue has been resolved with the completion of #960. |
…os2#943) Signed-off-by: JafarAbdi <cafer.abdi@gmail.com>
* 0.12.0 Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Feature request
Feature description
Add an API for obtaining participant information, like QoS policies, of the publishers and subscriptions on a topic name.
Implementation considerations
This is essentially implementing for
rclcpp
what was done forrclpy
in ros2/rclpy#454, which can be used as a reference.The text was updated successfully, but these errors were encountered: