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

The error actually tells you the problem pretty clearly: "‘scan’ was not declared in this scope".

The callback function scanCallback receives messages available through the argument input. Change all scan-> to input->.