hi,there: i am following "kobuki/Tutorials/Write your own controller for Kobuki" to write an nodelet,In CMakelists.txt,it called function:find_package(catkin REQUIRED COMPONENTS kobuki_msgs nodelet roscpp std_msgs yocs_controllers),But it comes a ERROR: Could not find a configuration file for package kobuki_msgs. Set kobuki_msgs_DIR to the directory containing a CMake configuration file for kobuki_msgs. The file will have one of the following names: kobuki_msgsConfig.cmake kobuki_msgs-config.cmake. but the question is that in kobuki_msgs, there is no .camke file. And i also found that packages in ros/groovy/share all contains a corresponding .cmake file, while in ros/groovy/stacks did not. but the kobuki_msgs package is located in ros/groovy/stacks. so what can i do? is anyone else encounter this ERROR?
Originally posted by zhongjin616 on ROS Answers with karma: 1 on 2013-11-06
Post score: 0
Original comments
Comment by Tirjen on 2013-11-06:
The error should be that you are asking catkin to find a rosbuild package (in fact kobuki_msgs is in the /stacks folder). You should remove kobuki_msgs from the line find_package() in your CMakeLists.txt, but I don't know if this will be enough to solve the problem. Let me know!
Comment by zhongjin616 on 2013-11-07:
thanks for your advise. I do remove kobuki_msgs from the find_package(), and truely the CMake did not warn me that cannot find a configuration file for package kobuki_msgs. but it does not fix my problem , as i do need kobuki_msgs.today ,i download a catkin_version of kobuki_msgs,problem solved.ThX