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

SendingSimpleGoals tutorial: CMaker error

asked 2014-03-27 01:03:07 -0500

BP gravatar image

updated 2016-10-24 09:03:07 -0500

ngrennan gravatar image

I am trying to do Sending simple goal tutorial. I did

catkin_create_pkg simple_navigation_goals move_base_msgs actionlib roscpp

I didn't do anything else (because I'm checking this tutorial only to learn how to include costmap_2d that I was trying to do but i couldn't manage to complete) so I did


but there is an error

CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a configuration file for package move_base_msgs.

there is some explanation how to fix it under an error

Set move_base_msgs_DIR to the directory containing a CMake configuration
file for move_base_msgs.  The file will have one of the following names:


why I have to set sth, shouldn't it work? Do i have some system variables wrong or sth?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2014-03-27 21:09:22 -0500

mgruhler gravatar image

I guess you are running ROS Groovy. There, move_base_msgs is not catkinized yet and thus cannot be find_packaged. This is due to the fact that you cannot have dependencies from a catking pkg to a rosbuild pkg.

Either update to hydro or try the tutorial with rosbuild.

edit flag offensive delete link more


So there is no walk around, right?

BP gravatar image BP  ( 2014-03-27 22:25:33 -0500 )edit

answered 2014-03-27 21:52:55 -0500

Ken_in_JAPAN gravatar image

Excuse me. Did you install package "navigation" that includes move_base_msgs? CMake Error just says that there isn't a move_base_msgs. I think so. When **.cmake is shown on a terminal, I always check if there is the package in my PC.

edit flag offensive delete link more


I also do this :)

BP gravatar image BP  ( 2014-03-27 22:22:02 -0500 )edit

Question Tools

1 follower


Asked: 2014-03-27 01:03:07 -0500

Seen: 262 times

Last updated: Mar 27 '14