在ROS-SLAM navigation子產品的學習過程中,編譯程式過程中報錯,如下:
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package):
Could not find a package configuration file provided by "move_base_msgs"
with any of the following names:
move_base_msgsConfig.cmake
move_base_msgs-config.cmake
Add the installation prefix of "move_base_msgs" to CMAKE_PREFIX_PATH or set
"move_base_msgs_DIR" to a directory containing one of the above files. If
"move_base_msgs" provides a separate development package or SDK, be sure it
has been installed.
打開一個新的終端,輸入
rospack find move_base_msgs
缺啥補啥,查詢了要安裝的包,開始安裝,繼續輸入指令:
sudo apt-get install ros-kinetic-navigation