ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Another way is to have a member function set the node as a member variable.

auto node_handle = std::make_shared<...>...); node_handle->setNode(node_handle);