Namespaces are expanded for you automatically. You can see some examples here: https://github.com/ros2/rcl/blob/release-beta2/rcl/test/rcl/test_expand_topic_name.cpp#L131-L158 In your particular case, you might need to know the target node's name and do something like this: ``` communicationNode.createClient("/" + nodeName + "/get_state"); ``` But I'm not 100% sure without seeing what you're doing exactly. --- [Visit Topic](https://discourse.ros.org/t/how-to-use-namespaces/2236/2) or reply to this email to respond. If you do not want to receive messages from ros-users please use the unsubscribe link below. If you use the one above, you will stop all of ros-users from receiving updates. ______________________________________________________________________________ ros-users mailing list ros-users@lists.ros.org http://lists.ros.org/mailman/listinfo/ros-users Unsubscribe: