Git Product home page Git Product logo

lab_slam's Introduction

LAB_SLAM

该仓库是知乎文章 从零开始手写激光SLAM 随堂源码,欢迎关注!

This lab_slam is an exercise for me, both in SLAM theory and programing skills, thus it may be naive for some experts.

Currently, it completed a lidar odometry, loop clousre detecion based on pose, and pose graph optimization after a clousre is found successfully.

top view

In the above picture, the blue line shows the pose path of purely scan-to-scan matching odometry, and comparatively the red one means the result after scan-to-map matching refinement, which is obviously better.

loop clousre

A loop clousre is indicated by a green line, which links the current pose with a historical one, and the the pose graph is optimized using gtsam, leading to a jump of current scan-to-map pose path(in red).

Please refer to /img directory for more demos.

Dependency

  • ROS(tested with ROS melodic 1.14.10)
  • Eigen(tested with eigen-3.2.10)
  • PCL(tested with pcl-1.8)
  • Glog
  • GTSAM(tested with gtsam-4.0.2)
  • Ceres(tested with ceres-1.14.0)
  • #OpenCV(just for visualization)

Compile

cd ~/catkin_ws/src
git clone [email protected]:TongxingJin/lab_slam.git
cd ..
catkin_make

Usage

source devel/setup.bash
roslaunch lab_slam run.launch

Test Data

I use rosbag data provided in LIO-SAM to debug this lab_slam.

It's also avaliable from Baidu Netdisk at:
link:https://pan.baidu.com/s/1MqQD22d4sA3iUszlWg3C8Q password:2eyj

lab_slam's People

Contributors

mactarvish avatar tongxingjin 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.