ROS中安装使用cartographer - Something TO DO

ROS中安装使用cartographer

Something TO DO posted @ 2018年3月11日 21:39 in SLAM with tags ROS slam cartographer , 1850 阅读

因为下载cere-solver需要链接外网,所以需要翻墙。

一、准备工作

Ubuntu翻墙

工具(lantern)

下载链接:https://github.com/getlantern/lantern

在Readme文档内下载相应版本(32或64位)的lantern,

即可得到相应的安装文件:

比如 lantern-installer-beta-64-bit.deb

在文件所在目录执行:

sudo dpkg -i lantern-installer-beta-64-bit.deb

安装完成后启动Lantern:

$lantern

二、安装过程及命令

# 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

 

# Install proto3.

src/cartographer/scripts/install_proto3.sh

 

# 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

 

三、运行google提供的demo,显示google采集到的一个房间的地图

# Download the 2D backpack example bag.

wget -P ~/Downloads https://storage.googleapis.com/cartographer-public-data/bags/backpack_2d/cartographer_paper_deutsches_museum.bag

# Launch the 2D backpack demo.

roslaunch cartographer_ros demo_backpack_2d.launch bag_filename:=${HOME}/Downloads/cartographer_paper_deutsches_museum.bag

Avatar_small
MIS Login Haryana 说:
2022年8月07日 18:40

Haryana state government has brought the Management Information system into their education system to help the higher education of the state to get services through the MIS system. The DSC MIS Haryana Education portal has been launched with the Management Information system and has been provided access to the students, teachers, officers, and other senior education admins. MIS Login Haryana This is a one stop for every detail of the education such that the students date along with their education curriculum will be available. As well the teacher’s information with their education type will be available by providing enough information for officers to reach out to everyone based on their requirements.

Avatar_small
Kar PUC Biology Ques 说:
2022年9月20日 21:59

PUC Question Paper 2023 for Kar 1st & 2nd PUC Biology Model Paper 2023 Pdf Download with Answer Solutions for Theory, Objective type Multiple Choice Questions for Kannada Medium & English Medium students with important Questions. Kar PUC Biology Question Paper Biology is one of the most important subjects to Pre University Education (PUE) 1st and 2nd year Science stream students, and biology is a related subject of natural science, every student of PUC I & PUC II Science group Kannada medium and English medium student can download Karnataka 1st & 2nd Year PUC Biology Model Paper 2023.


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee