ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

rosrun does not find anything, because you do not build anything. I.e. there is no executable.

In the CMakelists.txt, you need to tell CMake, which is called by catkin_make, which source files you want to compile into which executable. This is what the add_executable and add_library calls are for. Check the book, this should be explained therein and you probably just need to uncomment the respective lines, together with the target_link_libraries calls for the respective targets. Or check the wiki tutorials.