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

When passing a class to boost::bind, it needs an instance too. Try this.

sync->registerCallback(boost::bind(&myclass::callback, this, _1, _2, _3));