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

Revision history [back]

I don't think so. Have you tried adding "this" to the boost::bind function call? That's what they usually require for binding member functions. That might be the only thing missing.

I don't think so. Have you tried adding "this" to the boost::bind function call? That's what they usually require for binding member functions. That might be the only thing missing.

Citing Boris' comment, this is how you would do it:

sync.registerCallback(boost::bind(&PublishOdometry::handelerOdometry, this, _1, _2));

I don't think so. Have you tried adding "this" this to the boost::bind boost::bind function call? That's what they usually require for binding member functions. That might be the only thing missing.

Citing Boris' comment, this is how you would do it:

sync.registerCallback(boost::bind(&PublishOdometry::handelerOdometry, this, _1, _2));

I don't think so. Have you tried adding this to the boost::bind function call? That's what they usually require for binding member functions. That might be the only thing missing.

Citing Boris' comment, this is how you would do it:

sync.registerCallback(boost::bind(&PublishOdometry::handelerOdometry, this, _1, _2));