ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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->
.