ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Instead of creating move_group within the callback make it and the callback a member of a C++ class. http://wiki.ros.org/roscpp_tutorials/Tutorials/UsingClassMethodsAsCallbacks shows how to use class methods as callbacks.