interactivemarker processfeedback callback as a class method
Hello
I wanted to make a class that contains an interactivemarker server
Something like this http://wiki.ros.org/rviz/Tutorials/Interactive%20Markers%3A%20Basic%20Controls
Problem is, I want to do this in a class. Thus I need to set the processFeedback callback as a class method.
I cannot compile the instruction
interactive_markers::InteractiveMarkerServer server->setCallback(int_marker.name, &ClassName::processFeedback);
or
interactive_markers::InteractiveMarkerServer server->setCallback(int_marker.name, &ClassName::processFeedback, this);
A similar issue for ros subscribers and service servers has been solved here http://wiki.ros.org/rviz/Tutorials/Interactive%20Markers%3A%20Basic%20Controls
Does anybody know of something similar for interactivemarker servers?
Thanks
Miguel