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 think your registerCallback() looks odd; this is what I use on Foxy:

  syncApproximate.registerCallback(std::bind(&MultiSubscriber::disparityCb,
                                             this,
                                             std::placeholders::_1,
                                             std::placeholders::_2));

Also, my callback uses ConstSharedPtr, but the compiler should catch a mismatch.