cartographer安装_cartographer的一些学习笔记(1)--配置cartographer所需环境与安装
发布日期:2021-10-31 18:34:45
浏览次数:27
分类:技术文章
本文共 1601 字,大约阅读时间需要 5 分钟。
参考文献:Compiling Cartographer ROS
目前cartographer官方支持Ubuntu的以下四个版本,我用的是Ubuntu 18.04,Melodic.
- Indigo
- Kinetic
- Lunar
- Melodic
cartographer官方推荐使用wstool和rosdep构建其ROS运行环境,为了提高构建速度,推荐使用Ninja系统:
$ sudo apt-get update $ sudo apt-get install -y python-wstool python-rosdep ninja-build
构建新的空间:
$ cd ~ $ mkdir catkin_cartographer_ws $ cd catkin_cartographer_ws $ wstool init src $ wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall $ wstool update -t src
至此,我们发现仅能安装cartographer,cartographer_ros这两个包,ceres-solver这个包不能安装。究其原因,应该是在“software&updates”里面选择的源不恰当造成的。不要紧,我们去全球最大的同性交友网站github上来下载。下面是链接:
[ceres-solver]:
https://github.com/ceres-solver/ceres-solvergithub.com拷贝至与cartographer,cartographer_ros这两个文件夹同等的地址下。
插播1:对于某些证书问题导致的下载指令不能执行的解决办法:
同时,下面这句指令死活不能执行。
wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall
报错如下:
content.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstallERROR in config: Unable to download URL [https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall]:
这里卡住我很久,查阅各种资料依然不能解决。
后来通过将linux系统连接了手机热点轻松解决。爽的飞起。
下面我们开始安装cartographer_ros的依赖项 (proto3 and deb packages)。
src/cartographer/scripts/install_proto3.shsudo rosdep initrosdep updaterosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y
插播2:这里面的sudo rosdep init指令遇到了和上面插播1类似的问题
依然通过将linux系统连接了手机热点轻松解决。再次爽的飞起。
构建与安装
catkin_make_isolated --install --use-ninja
转载地址:https://blog.csdn.net/weixin_40006779/article/details/110597307 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!
发表评论
最新留言
不错!
[***.144.177.141]2024年04月24日 08时02分19秒
关于作者
喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!
推荐文章
依赖注入框架Dagger2详解(五),中级篇
2019-04-28
依赖注入框架Dagger2详解(六),高级篇
2019-04-28
喜迎Java诞生24周年,写了几幅字,以示纪念
2019-04-28
三次技术转型的我在帝都的北漂奋斗史
2019-04-28
2019年端午节书法作品集
2019-04-28
Android车辆运动轨迹平滑移动(高仿滴滴打车)最佳实践
2019-04-28
CSDN成立20周年书法作品集
2019-04-28
开发杂谈:说说数据结构和算法的那点事儿
2019-04-28
关于 Pytorch 学习的一些小困惑的理解
2019-04-28
关于loss.backward()以及其参数retain_graph的一些坑
2019-04-28
pytorch神经网络模型会自动初始化嘛?
2019-04-28
关于pytorch网络模型可视化函数make_dot的一些问题
2019-04-28
关于nn.embedding的维度的定义,函数的理解,一些需要注意的点
2019-04-28
one of the variables needed for gradient computation has been modified by an inplace operation:
2019-04-28
ubuntu16.04安装iNode客户端心得总结
2019-04-28
Codeup小白掉坑经验总结之 Shortest Distance id=6116
2019-04-28