Debian 8 Jessie 一顿操作梦如虎,最后不知道咋装上的.

参考:https://www.jianshu.com/p/9922a51ce38f

https://blog.csdn.net/passball/article/details/53701795

前面几步没什么好说的,看官网https://google-cartographer-ros.readthedocs.io/en/latest/中部分,也可参考http://blog.exbot.net/archives/2852k中记录,这里主要记录一下FQ关于引用库Ceres的步骤,都知道XX的原因,可苦了国内做研究的众人员,其实FQ部分也相当简单,如果从谷歌git中的库下载有问题,可以自己另外从源码网址下载。

一、在安装cartographer前,需要系统满足如下的要求:

  • 64-bit, modern CPU (e.g. 3rd generation i7)
  • 16 GB RAM
  • Ubuntu 14.04 (Trusty)
  • gcc version 4.8.4
  • ROS Indigo
     我用的是Debian 8 Jessie  ROS kinetic上
 
1. 首先安装ceres-slover
 
2. 如果protobuf存在版本问题,可以去这里下载新的,版本要求3.0.0以上.
 
 
3. 然后安装cartographer
git clone https://github.com/googlecartographer/cartographer
cd cartographer
mkdir build
cd build
cmake .. -G Ninja
ninja
ninja test
sudo ninja install

二、安装过程及命令:

# Install wstool and rosdep.

sudo apt-get update

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

# Create a new workspace in 'catkin_ws'.

mkdir catkin_ws

cd catkin_ws

wstool init src

# Merge the cartographer_ros.rosinstall file and fetch code for dependencies.

wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_ros/master/cartographer_ros.rosinstall

wstool update -t src

主要在上面这步,由于源码中引用库Ceres,我用的FQ软件为Lantern(使用步骤http://www.cnblogs.com/ikuyka/p/5647880.html),但仍提示

fatal: unable to access 'https://ceres-solver.googlesource.com/ceres-solver.git/': Failed to connect to ceres-solver.googlesource.com 

port 443: 连接超时
       Exception caught during install: Error processing 'ceres-solver' :
[ceres-solver] Checkout of https://ceres-solver.googlesource.com/ceres  
    -solver.git version 1.12.0rc4 into
/home/jack/catkin_ws/src/ceres-solver failed.


解决办法,到提示这些错误之前,cartographer与cartographer_ros部分已经配置完成,关于这个引用库可以用命令 

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

上面这步也不行,因为太慢了,我直接DownLoad下来了

# Install deb dependencies.

rosdep update

rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y

上面这一步也没有成功....继续执行下面的

# Build and install.

catkin_make_isolated --install --use-ninja

source install_isolated/setup.bash

成功了!

cartographer 安装的更多相关文章

  1. Cartographer安装

    安装过程: 官方安装教程: https://google-cartographer-ros.readthedocs.io/en/latest/index.html # Install wstool a ...

  2. cartographer 安装问题

    安装主要参考hitcm教程: http://www.cnblogs.com/hitcm/p/5939507.html 这里只说安装过程中遇到的问题, ceres-solver 与 eigen3 版本不 ...

  3. cartographer安装--Ubuntu14.04--indigo

    0.安装所有依赖项 sudo apt-get install -y google-mock libboost-all-dev  libeigen3-dev libgflags-dev libgoogl ...

  4. cartographer 安装修改

    装置:VLP16+IMU+单板机 目的:利用传感器数据,实现real time 的建模 结果:失败,但之前的步骤都正常,出问题的地方可能是imu出错. 稍后附上 launch文件,lua文件,urdf ...

  5. 谷歌Cartographer学习(1)-快速安装测试

    谷歌自己提供了安装方法,但是安装比较繁琐,我做了一定的修改,代码放到个人github上,https://github.com/hitcm/. ros下面的安装非常快捷,只需要catkin_make即可 ...

  6. 谷歌Cartographer学习(1)-快速安装测试(转载)

    转载自谷歌Cartographer学习(1)-快速安装测试 代码放到个人github上,https://github.com/hitcm/ 如下,需要安装3个软件包,ceres solver.cart ...

  7. cartographer 最新版安装测试

    在官网的基础上稍加修改,但保证代码都是最新的 我的系统配置: Debian9 strech,  ROS lunar 该方法对 ubuntu 系列操作系统以及其他ROS版本同样适用. 1.  安装依赖库 ...

  8. Ubuntu 14.04 indigo 安装 cartographer 1.0.0

    安装依赖(cmake 版本为2.8,我的是自带的)sudo apt-get updatesudo apt-get install -y g++ git google-mock libboost-all ...

  9. 安装cartographer

    # Build and install Cartographer. git clone https://github.com/hitcm/cartographer.git cd cartographe ...

随机推荐

  1. 获取日k数据

    http://web.ifzq.gtimg.cn/appstock/app/fqkline/get?_var=kline_dayqfq&param=sz002921,day,,,320,qfq ...

  2. OS + RedHat 6.3 x64 NFS / mount.nfs: access denied by server while mounting

    s Linux mount/unmount命令(转) https://www.cnblogs.com/xd502djj/p/3809375.html 问题2:NFS配置项no_root_squash和 ...

  3. Kafka技术内幕 读书笔记之(六) 存储层——日志的读写

    -Kafka是一个分布式的( distributed ).分区的( partitioned ).复制的( replicated )提交日志( commitlog )服务 . “分布式”是所有分布式系统 ...

  4. 在.NET程序中实现HttpServer功能

    亲爱的下午茶   博客园 首页 新随笔 联系 订阅 管理 随笔-6  文章-0  评论-10  在.NET程序中实现HttpServer功能   最近在实现一个可视化数据解析工具,需要在Wpf程序中实 ...

  5. 基于CentOS6.8版本配置真实域名的方法

    前言:审核了15天的时间终于审核下来了,但是结果发现配置域名掉坑了,记录一下 (一)首先配置域名三步走 1.先到域名商网站解析你你的域名(我的是百度云) 2.接着修改linux的host指向 例如: ...

  6. windows批量修改文件后缀名

    有时候需要批量修改一些文件的后缀名,下面介绍批量修改的方法. 1.在文件夹内新建一个.txt文本文档. 2.在文本文档内写:ren *    *.mp3 (意思是把没有后缀名的全部改成.mp3的格式, ...

  7. golang 缓冲区的终端输入

    bufio包实现了有缓冲的I/O.它包装一个io.Reader或io.Writer接口对象,os.stdin就是实现了这个接口 package main import ( "bufio&qu ...

  8. HTML第三耍 图像标签

    复习一下第二耍: <!doctype html> <html> <head> <meta charset="utf-8"> < ...

  9. 关于Ant脚本

    在开发中,一个项目要经历单元测试l,集成测试,系统测试,测试过程中可能要不断修改代码,Ant脚本,通过一个xml文件,封装一系列繁琐又常用的操作,通过Ant指令执行xml脚本来批处理创建删除任务,编译 ...

  10. jquery 控制 video 视频播放和暂停

    $('video').trigger('play'); $('video').trigger('pause'); 参考:https://blog.csdn.net/arvin0/article/det ...