X-SLAM

1 Introduction

I hope you can learn slam step by step, you will can learn online X-SLAM documents tutorial. What you choose today determines your tomorrow's life path. Diligence will not make up for your indecision.

You can learn slam knowledge by 哔哩哔哩 bilibili . This video website has a detailed explanation of the code and the corresponding SLAM technology principle. Let's start a happy journey. enjoy....

X-SLAM is an open source C++ demo for learn vision slam and lidar slam. Through open source engineering, we can learn the following knowledge content:

开源社区文档

哔哩哔哩 bilibili 视频教程

1.1 Download LTSLAM source:

git clone https://github.com/quanduyong/LTSLAM.git

1.2 Project directory:

xlsam_ros (2D lidar SLAM)

# step 1 下载 rosbag 数据集
# https://github.com/cartographer-project/cartographer_ros/blob/master/docs/source/data.rst

wget https://storage.googleapis.com/cartographer-public-data/bags/backpack_2d/b2-2015-05-26-13-15-25.bag

# step 2 run
roslaunch xslam_ros demo_slam2d.launch
# step 3 rosbag play

rosbag play b2-2015-05-26-13-15-25.bag

xslam_ros_2d

2 安装x-slam

2.1 推荐:docker方式安装

2.1.1 docker安装

cd docker
./scripts/install_docker.sh

2.1.2 X-SLAM环境部署和安装

cd docker
./build_dev.sh standalone.x86_64.dockerfile

2.1.3 运行X-SLAM的demos案例

X-SLAM的demo有很多,一下简单运行几个demo

docker run -it xslam/ltslam

运行每个模块的demo

2.2 源码安装(不推荐)

2.2.1 Generate study documents

主要目的实现本地帮助文档doc下,以html网页的格式方便查看

2.2.2 Third party library

(推荐)我已经提供了第三方库源码文件3rdparty目录下,执行以下命令安装,不然会出现版本不匹配问题:

mkdir build && cd build
cmake ..
make -j6 
sudo make install

​ (不推荐)如果你想自己源码安装第三方库请使用以下步骤:

3 工程编译

cd LTSLAM
mkdir build
cd build 
cmake ..
make -j6

4 如何运行工程demo

在工程的build/bin目录中,你可以看到对应的每个可执行二进制文件

如何运行参考如下:

[bin] ./xslam.opencv.camera_calibration.perspective_correction_test

运行结果如下:

5 Contact Me

我们有微信群和QQ群: 710288823 ,你可以加入我们一起成长,所有代码和教学视频免费。

email : quandy2020@126.com

加入我们吧!!!

6 Github贡献者

github_gxz