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

passing a reference to the camera as an additional argument works fine. This is because the result of bind(function, _1 , _2, camera_ptr) is a two parameter function pointer which can be accepted by setCallback().