ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You are declaring in your package manifest that your project depends on std_msgs, sensor_msgs and roscpp but you forgot to tell cmake about it.
In your CMakeLists.txt file replace the line:
find_package(catkin REQUIRED)
for:
find_package(catking REQUIRED COMPONENTS std_msgs sensor_msgs roscpp)
That way catkin can find the appropriate headers and libraries for your project.