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

Revision history [back]

From what I understand you want several classes of your program to use ros-node functionality. You can just pass them the node handle in their constructor and store it in a member variable. See here for such a constructor definition.