Cartographer ROS for Turtlebots 初探

今天抽了会时间安装了Cartographer  ROS for Turtlebots

系统版本: Ubuntu 14.04 (Trusty) with ROS Indigo,系统是用的TurtleBot ISO with the following link and create startup USB disk using Startup Disk Creator or similar tools.

1. 安装

安装过程在https://github.com/googlecartographer/cartographer_turtlebot/blob/master/docs/source/index.rst都有详细的描述。

# 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_turtlebot.rosinstall file and fetch code for dependencies.
wstool merge -t src https://raw.githubusercontent.com/googlecartographer/cartographer_turtlebot/master/cartographer_turtlebot.rosinstall
wstool update -t src

# 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

  但是问题一般都会处在catkin_make_isolated --install --use-ninja,因为这个时候需要翻一下墙,装个包,FQ的方法我就不多说了我用的是greenvpn,在ubuntu上也很好用,效果很好。

然后就能很顺利的装好。

2 测试

测试包有4GB多,可以通过迅雷下载比较快  https://storage.googleapis.com/cartographer-public-data/bags/turtlebot/cartographer_turtlebot_demo.bag

2D LIDAR demo.
roslaunch cartographer_turtlebot demo_lidar_2d.launch bag_filename:=${HOME}/Downloads/cartographer_turtlebot_demo.bag

# Launch the 2D depth camera demo.
roslaunch cartographer_turtlebot demo_depth_camera_2d.launch bag_filename:=${HOME}/Downloads/cartographer_turtlebot_demo.bag

# Launch the 3D depth camera demo.
roslaunch cartographer_turtlebot demo_depth_camera_3d.launch bag_filename:=${HOME}/Downloads/cartographer_turtlebot_demo.bag

  当然,谷歌的demo跑起来也是很爽的。我做了前两个

接下来,要用Turltebot实际做个实验,还没来得及呢

 

 

时间: 2024-12-19 13:25:22

Cartographer ROS for Turtlebots 初探的相关文章

implement Google's Open Source Slam "Cartographer" in Gazebo

1. Platform Dell PC installed Ubuntu 14.4 and ROS Indigo. 2. Building & Installation We recommend using wstool and rosdep. For faster builds, we also recommend using Ninja. # Install wstool and rosdep. sudo apt-get update sudo apt-get install -y pyth

Google's Open Source SLAM Library ---- Cartographer

What is Cartographer? Google announce the open source release of Cartographer, a real-time simultaneous localization and mapping (SLAM) library in 2D and 3D with ROS support, in October 2016. As Robotics Trends said, "Google wants to democratize the

cartographer和ROS的坐标系关系

参考定义见:backpack_3d.lua    Local map frame是一次slam过程中的原点.但是现在cartographer支持Incremental mapping.global map是整个地图的原点,local map是每一次建图的原点.    map_frame = “map”:cartographer中使用的全局坐标系,最好保持默认,否则ROS的Rviz不认识其它的定义,导致无法可视化建图过程.    tracking_frame=”base_link”:机器人中心坐标

ROS初探:(一)ROS架构

一.ROS架构 ROS架构上分为三个层级: 计算图级(Computation Graph level):体现进程与系统的关系,描述系统怎么运行. 文件系统级(Filesystem level):组织构建程序文件. 社区级(Community level):开源社区,共享知识.算法和代码等. 1.1 计算图级 计算图级包含:节点.节点管理器.参数服务器.消息.服务.主题和消息记录包. 节点(node):主要的计算执行进程,可自行创建节点,加入网络. 节点管理器(master):是节点通信的基础,用

ubuntu16.04安装ROS+cartographer

1.安装依赖性: sudo apt-get install -y google-mock libboost-all-dev  libeigen3-dev libgflags-dev libgoogle-glog-dev liblua5.2-dev libprotobuf-dev  libsuitesparse-dev libwebp-dev ninja-build protobuf-compiler python-sphinx  ros-kinetic-tf2-eigen libatlas-ba

【转】【泡泡机器人原创专栏-Cartographer】Cartographer理论及实现浅析

转自[泡泡机器人SLAM]公众号原创专栏:http://mp.weixin.qq.com/s/LdbFp-Zvkr02-_25ILb16g [作者博客]http://remyspot.blog.51cto.com/ 本文概述了Cartographer的理论及简要的梳理了其开源实现代码的逻辑,目的在于起到抛砖引玉的作用,为选择性的研究相关理论及实现提供参考. 1.Cartographer理论概述 Cartographer主要理论是通过闭环检测来消除构图过程中产生的累积误差[1].用于闭环检测的基本

ROS学习笔记(一)——软件版本的选择

下面是Google的SLAM系统Cartographer对系统的要求: Cartographer对ROS版本要求: ROS Indigo 对Ubantu 的版本要求: 所以,综上所述: Ubantu 版本:Trusty (14.04) ROS 版本:ROS Indigo Igloo PS:ROS 网站:http://wiki.ros.org/  Cartographyer网站:https://github.com/googlecartographer

ROS(indigo) turtlebot2 + android一些有趣应用

ROS和Android配合使用非常有趣,这里推荐,ROSClinet,使用rosbridge让android和ROS通信: 具体参考奥斯卡的个人剧场:http://xxhong.net/ turtlebot示例非常全面,也给出了Android的Apk,今天尝试一下.实际机器人已测. 考虑到通用性,这里选用仿真环境: ~$ roslaunch turtlebot_gazebo turtlebot_world.launch ~$ roslaunch turtlebot_gazebo gmapping

Cartographer系列之四——地图文件导出

个人能力有限,若有错误请批评指正!转载请标明出处:http://www.cnblogs.com/wenhust/ 一.目的 Cartographer是google的开源2D Laser-based SLAM方案,可以直接在ROS上运行并建图(可参考之前的文章).不过到目前为止,还没有提供可以直接保存导出已完成的地图文件的功能,但一些如路径规划等后续工作有赖于地图文件得以进行,因此在这里提供一个简便方法可以将cartographer的地图文件保存出来. 二.方法 在cartographer_ros