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

Revision history [back]

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]);