错误

    CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake: (find_package):
Could not find a configuration file for package move_base_msgs. 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 Call Stack (most recent call first):
simple_navigation_goals/CMakeLists.txt: (find_package) -- Configuring incomplete, errors occurred!
Invoking "cmake" failed

这个问题是由于move_base_msgs功能包缺失引起的,我们可以用rospack find命令尝试去寻找这个功能包

zn@zn-ThinkPad-R480:~$ rospack find move_base_msgs 
/opt/ros/kinetic/share/move_base_msgs
zn@zn-ThinkPad-R480:~$

因为我已经安装,所以会输出功能包的路径

如果你搜索不到,需要安装此功能包

sudo apt-get install ros-kinetic-navigation
04-24 20:45