'no matching function for call to ‘get_pointer(const turtlebot3_gazebo::TutorialsConfig&)’' at: '333,28' source: '' [closed]
file: 'file:///usr/include/boost/bind/mem_fn.hpp' severity: 'Error' message: 'no matching function for call to ‘get_pointer(const turtlebot3_gazebo::TutorialsConfig&)’' at: '333,28' source: ''
dynamic_reconfigure::Server<turtlebot3_gazebo::tutorialsconfig> server; dynamic_reconfigure::Server<turtlebot3_gazebo::tutorialsconfig>::CallbackType f; f = boost::bind(&Potential_four::callback, _1); server.setCallback(f); bool Potential_four::callback(turtlebot3_gazebo::TutorialsConfig &config) {
goal.x=config.goal_x;
goal.y=config.goal_y;
// ROS_INFO("Reconfigure Request: %d,%d",a,b);
return true;
}
This is not a question, but a straight dump of an error and some code.
Please provide more context and tell us what you are trying to do.
I've closed it for now. Use the
edit
button/link to fix your question, then we can re-open.