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

Revision history [back]

click to hide/show revision 1
initial version

I've met the similar problem before.

I tried following 2 methods,

  1. not to add "&" for callback function and make it static member function.
  2. use boost::bind, it may be like dynamic_reconfigure_client_->setDescriptionCallback(boost::bind(&NameSpace::setDescriptionCallback, this, _1));

both solved the problem.

I've met the similar problem before.before, this perhaps relates to "setting callback functions".

I tried following 2 methods,

  1. not to add "&" for callback function and make it static member function.
  2. use boost::bind, it may be like dynamic_reconfigure_client_->setDescriptionCallback(boost::bind(&NameSpace::setDescriptionCallback, this, _1));

both solved the problem.