Aurora-Zhou / LTSLAM

lean slam step by step

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LTSLAM

1 Introduction

I hope you can lean slam step by step, you will can learn online LTSLAM documents tutorial

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....

project directory:

  • xlsam
  • xlsam_ros

download LTSLAM source:

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

2 Install dependency

2.1 Generate study documents

  • 安装Sphinx

    pip install -U sphinx
  • 安装主题

    pip install sphinx_rtd_theme
  • 安装markdown插件

    pip install recommonmark
    pip install sphinx_markdown_tables

2.2 Third party library

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

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

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

  • 安装Eigen

    git clone https://gitlab.com/libeigen/eigen.git
    cd eigen
    git checkout 3.3.8
    mkdir build && cd build
    cmake ..
    make -j6 
    sudo make install
    
  • 安装Sophus

    git clone https://github.com/strasdat/Sophus.git
    cd Sophus
    mkdir build && cd build
    cmake ..
    make -j6 
    sudo make install
  • 安装abseil

    在abseil项目的CMakeLists.txt的project(absl LANGUAGES CXX) 下添加以下命令:

    add_compile_options(-fPIC)

    git clone https://github.com/abseil/abseil-cpp.git
    cd abseil-cpp
    mkdir build && cd build
    cmake ..
    make -j6 
    sudo make install
  • 安装 DBow3

    git clone https://github.com/rmsalinas/DBow3.git
    cd abseil-cpp
    mkdir build && cd build
    cmake ..
    make -j6 
    sudo make install  
    
  • 安装googletest

    git clone https://github.com/google/googletest.git
    cd googletest
    mkdir build && cd build
    cmake ..
    make -j6 
    sudo make install  
    
  • 安装g2o

    git clone https://github.com/rmsalinas/DBow3.git
    cd abseil-cpp
    git checkout 9b41a4ea
    mkdir build && cd build
    cmake ..
    make -j6 
    sudo make install  
    
  • 安装opencv & opencv_contrib (4.5-x)

    git clone https://github.com/opencv/opencv.git
    git clone https://github.com/opencv/opencv_contrib.git
    
    cd opencv
    mkdir build && cd build
    cmake-gui .. # 选择extra module opencv_contrib
    make -j6 
    sudo make install
    

3 工程编译

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

4 如何运行工程demo

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

Let ‘s run xslam.opencv.KLT_test shell command

# KLT 光流跟踪算法
./xslam.opencv.KLT_test

5 Contact Me

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

email : quandy2020@126.com

加入我们吧!!!

About

lean slam step by step


Languages

Language:Jupyter Notebook 56.1%Language:C++ 35.5%Language:C 2.7%Language:Fortran 2.0%Language:CMake 1.6%Language:Python 1.3%Language:Cuda 0.2%Language:Shell 0.1%Language:TeX 0.1%Language:M4 0.1%Language:Starlark 0.1%Language:HTML 0.1%Language:Makefile 0.1%Language:Objective-C++ 0.0%Language:CSS 0.0%Language:JavaScript 0.0%Language:Yacc 0.0%Language:Objective-C 0.0%Language:Lua 0.0%Language:Lex 0.0%Language:Batchfile 0.0%Language:Roff 0.0%