谷歌Cartographer源码安装及测试

主要参考博客:https://blog.csdn.net/m0_37964922/article/details/84958835
谷歌官方安装教程:https://google-cartographer-ros.readthedocs.io/en/latest/compilation.html#building-installation

系统环境:Ubuntu 16.04
ROS : Kinetic

首先安装wstool,rosdep 和 Ninja用于编译Cartographer ROS。

sudo apt-get update
sudo apt-get install -y python-wstool python-rosdep ninja-build

给Cartographer新建一个工作空间,这里命名为 catkin_google_ws

mkdir catkin_google_ws // 创建工作空间
cd catkin_google_ws //进入工作空间
wstool init src //初始化
wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall //合并其他ros安装文件

修改ceres-solver的源地址(否则需要翻墙才能下载),其他两个不用修改。

gedit src/.rosinstall

将ceres-solver的地址改为

uri: https://github.com/ceres-solver/ceres-solver.git

修改完保存退出回到工作空间下。

wstool 
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值