首页 > 移动平台 > 详细

Ubuntu18.04环境下melodic安装gmapping

时间:2019-03-18 16:18:22      阅读:1100      评论:0      收藏:0      [点我收藏+]

Ubuntu18.04 环境下melodic中很多包没有提供sudo apt install的安装方式,需要通过源代码安装,安装方法如下:

1、先安装依赖库: 

sudo apt-get install libsdl1.2-dev
sudo apt install libsdl-image1.2-dev

2、进入工作空间:

cd ~/catkin_ws/src/

3、git clone以下源代码编译安装:(一定要全部下载,否则会依赖包报错)

git clone https://github.com/ros-perception/openslam_gmapping.git
git clone https://github.com/ros-perception/slam_gmapping.git
git clone https://github.com/ros-planning/navigation.git
git clone https://github.com/ros/geometry2.git
git clone https://github.com/ros-planning/navigation_msgs.git

4、编译安装:

cd ..
catkin_make

5、然后可能会报一大堆错误,解决方法:

 https://www.cnblogs.com/darklights/p/10552687.html

Ubuntu18.04环境下melodic安装gmapping

原文:https://www.cnblogs.com/darklights/p/10552559.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!