-
Notifications
You must be signed in to change notification settings - Fork 297
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
When generating service mappings cast pair to set to avoid duplicate pairs #268
Conversation
…rvice name cause redefinition errors Signed-off-by: Gavin Suddrey <g.suddrey@qut.edu.au>
Signed-off-by: Gavin Suddrey <g.suddrey@qut.edu.au>
Thanks for the patch. |
Should this be backported? |
@peterpena Into which ROS distro? |
@dirk-thomas I am not sure what ROS distro it will be. The bug seems to be introduced all the way back to Ardent. What is the protocol to decide the ROS distro? |
Only active distro can be patched (so the earliest would be Dashing). Another criteria is if it is necessary / severe enough. Based on the original issue it seems trivial to avoid this case by not defining a custom mapping which replicates the default behavior. So I would think the need to backport is fairly low. |
I see. Thanks for the explanation. I felt the need to ask if it needed to be backported, but based on what you said, it seems that it might not be necessary. |
…pairs (ros2#268) * Fixed issue where explicitly mapped packages with the same package/service name cause redefinition errors Signed-off-by: Gavin Suddrey <g.suddrey@qut.edu.au> * Removing unneeded whitespace Signed-off-by: Gavin Suddrey <g.suddrey@qut.edu.au> Signed-off-by: Harsh Deshpande <harshavardhan.deshpande@ipa.fraunhofer.de>
I was landing into a redefinition error when using `mapping_rules.yaml` to bridge ROS actions. I applied the patch done in ros2#268 for the ROS services to the ROS actions and it solved the redefinition error.
This fixes a redefinition error when using `mapping_rules.yaml` to bridge ROS actions. I applied the patch done in ros2#268 for the ROS services to the ROS actions and it solved the redefinition error. Additional improvements: - Iterate over both the ros1 and ros2 component directly in the for loop by using `zip`. Signed-off-by: Erick Kramer <e.kramer@rethinkrobotics.com>
This fixes a redefinition error when using `mapping_rules.yaml` to bridge ROS actions. I applied the patch done in ros2#268 for the ROS services to the ROS actions and it solved the redefinition error. Additional improvements: - Iterate over both the ros1 and ros2 component directly in the for loop by using `zip`. Signed-off-by: Erick Kramer <e.kramer@rethinkrobotics.com>
Fixes issue #257
Recreation of PR #259 to do master->master