Giter VIP home page Giter VIP logo

carto_ws's Introduction

google 开源的 cartographer 学习版本

运行环境

Ubuntu 16.04 ros-kinetic

项目结构

--- src
 |- cartographer
 |- cartographer_ros
 |- ceres-solver
 └- my_robot

项目说明

目前 cartographercartographer_rosceres-solver都为google远程分支上最新代码,部分注释为自己添加。

my_robot为学习用的节点。

编译说明

由于网络、依赖、重复安装等原因,官方编译会出问题;

可按照以下步骤:

# 下载代码
$ git clone https://github.com/NOT-old-wang/carto_ws.git
$ cd carto_ws
# 下载代码下子模块 -- cartographer cartographer_ros ceres-solver 三个仓库
$ git submodule update --init --recursive
$ sudo apt-get update
$ sudo apt-get install -y python-wstool python-rosdep ninja-build
# 安装protobuf
$ src/cartographer/scripts/install_proto3.sh

# 以下三步如果报错 可不理会
$ sudo rosdep init
$ rosdep update
$ rosdep install --from-paths src --ignore-src --rosdistro=${ROS_DISTRO} -y

# 编译 build
$ catkin_make_isolated --use-ninja

如果编译失败,用find命令找到编译失败的相关文件(源码除外)删除,重新编译即可。

# find 命令示例
$ sudo find / -name "*ceres*" 

my_robot 节点说明

# 自己的机器人节点,有部分学习资料
--- my_robot
 |- configuration_ros
 |- launch
 └- urdf
  • 建图
$ roslaunch my_robot mapping.launch bag_filename:= "自己录的数据包绝对地址"
  • 定位
$ roslaunch my_robot localizer.launch

carto_ws's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.