ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You need to use the class member version of subscribe -- the doxygen for it is here.
Basically, it would be:
(sNode[j])->subscribe(eventName, 1000, &myCallback::generic_callback, callbackList[j]);