使用catkin_make进行编译时,出现如下错误:
CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package):
Could not find a package configuration file provided by “move_base_msgs”
如下图所示:
- 解决方法
出现以上错误是因为缺少相应的package,在工作空间的src路径下,使用以下指令下载navigation_msgs功能包,然后重新编译。
git clone https://github.com/ros-planning/navigation_msgs.git
文章不妥之处还望指正