ubuntu 18.04+melodic版本ros安装问题
(1)问题Cannot locate rosdep definition for [openslam_gmapping]
原因是在melodic 版本中还没有加入openslam_gmapping包.
解决方法如下:
cd your_work_space/src
git clone https://github.com/ros-perception/slam_gmapping.git
git clone https://github.com/ros-perception/openslam_gmapping.git
安装参考链接: https://blog.csdn.net/qq_32115419/article/details/81585942
(2)问题Cannot locate rosdep definition for [hector_mapping]
同样melodic里缺了这个包.
解决方法如下:
cd your_work_space/src
git clone https://github.com/tu-darmstadt-ros-pkg/hector_slam.git
安装链接参考:https://blog.csdn.net/feixin620/article/details/78556580
(3)待以上两个都安装好以后
返回到你的workspace里,运行:
rosdep install --from-paths src --ignore-src 即可