Ask Your Question

homalm's profile - activity

2015-10-08 04:44:52 -0600 answered a question can't locate node in package

I have created two ROS nodes and have compiled them using add_executable command in the "CMakeLists.txt". I have also added them to the launch file that I am running using roslaunch. But when running roslaunch, I get the same ERROR: cannot launch node of type [r/r2_detect]: can't locate node [r2_detect] in package [r]

I tried adding catkin_package() to the "CMakeLists.txt" as suggested here: http://answers.ros.org/question/14580... , but it did not work. Where should I add catkin_package() ?