get ROS 2 nodehandle in case of composed nodes
Hello All,
Suppose I am using a Composed node as mentioned in this example(https://github.com/ros2/demos/blob/master/composition/src/talker_component.cpp). Now I need to pass a rclcpp::Node::SharedPtr
of this composed Node to another class. In case of ROS 1 nodeletes, this can be done using getNodeHandle()
. Is there any similar way of doing this in ROS 2 ?