Ask Your Question
0

SendingSimpleGoals tutorial: CMaker error

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

BP gravatar image

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

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

catkin_make

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:

  move_base_msgsConfig.cmake
  move_base_msgs-config.cmake

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
1

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

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

Comments

So there is no walk around, right?

BP gravatar imageBP ( 2014-03-27 22:25:33 -0600 )edit
0

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

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

Comments

I also do this :)

BP gravatar imageBP ( 2014-03-27 22:22:02 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 154 times

Last updated: Mar 27 '14