-
Notifications
You must be signed in to change notification settings - Fork 436
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
Sub-node name is ignored in service name resolving #2734
Comments
@PfeifferMicha thanks for creating issue, this looks like bug. one question, can you reproduce this issue with rolling build as well? self-contained example would be appreciated. |
Thanks for the reply! Here's my minimal example. Please see the Readme for description of the error/expected outcome. I tried with the CI nightly rolling build from here: The error is still there. |
The reason for this is that the "sub-node" feature exists only in the You lose the feature when you do There's a few options to move forward here:
see: rclcpp/rclcpp/include/rclcpp/node.hpp Lines 1496 to 1554 in 48a4761
|
Hi @PfeifferMicha , any update on this? |
When I create sub-nodes using Node::create_sub_node() and then resolve a private name on this sub-node, the sub-namespace is ignored.
Resolves to:
/test_cam_info_manager/set_camera_info
But I would expect it to resolve to:
/test_cam_info_manager/**left**/set_camera_info
Background:
In order to create two
CameraInfoManager
's for a stereo setup, I need some way to push the CameraInfoManagers into a sub-namespace. I thought this is exactly what sub-nodes are for, but it's not working. Original issue: ros-perception/image_common#341Note: In rolling release, I believe this can be circumvented because CameraInfoManager has a new namespace parameter, but this is not the case in jazzy.
Required Info:
The text was updated successfully, but these errors were encountered: