ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
The pattern I tend to use is to just implement the core processing in another class whose constructor takes a NodeHandle as an argument. Then I build that class into a library and implement very thin wrappers for the node and nodelet that instantiate that class.