ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
Hi Kansai, for this to work within a class you need to bind your callback and its argument:
entry = menu_handler.insert(entry, "menu", boost::bind(&MyClass::deepCb, this, _1));
Here, _1 is a placeholder to bind the only parameter your callback takes in, namely &feedback.