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

Revision history [back]

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.