lubancatRK3588S ubuntu20.04 noetic 安装cartographer

1.sudo apt-get install python3-pip

2.pip3 install sphinx

3.sudo apt-get update

4.sudo apt-get install -y python3-wstool python3-rosdep ninja-build stow

5.mkdir carto_ws

6.cd carto_ws

7.wstool init src

8.wstool merge -t src https://raw.githubusercontent.com/cartographer-project/cartographer_ros/master/cartographer_ros.rosinstall

9.wstool update -t src

10.wget http://fishros.com/install -O fishros&&. fishros

使用小鱼儿进行rosdepc

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

这步会报错,打开carto_ws/src/cartographer/package.xml文件, 将第46行 <depend>libabsl-dev</depend> 进行注释

12.src/cartographer/scripts/install_abseil.sh

这步会出现clone失败的情况,首先尝试将install_abseil.sh文件的第20行执行的clone地址的https改成git,如果报错 unable to connect to github.com: github.com[0: 20.205.243.166]: errno=连接超时

则执行git config --global url."https://github.com".insteadOf git://github.com

13.catkin_make_isolated --install --use-ninja

安装成功后运行bag包测试

14.roslaunch cartographer_ros demo_backpack_2d.launch bag_filename:='/home/cat/Downloads/cartographer_paper_deutsches_museum.bag'

  • 11
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值