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

In your header you declare three methods. But in their definitions only one of them has a WebCam:: prefix. Which makes your imageCallback method no real instance member, so what give as the callback cannot work.

If after fixing it still does not work, check your syntax with the wiki: roscpp/Overview -> Publishing