Coder Social home page Coder Social logo

kiwicampus / liorf_localization Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yjzluckyboy/liorf_localization

1.0 1.0 0.0 72.73 MB

A simple location system based on a priori map, which is based on the lio-sam framework

License: MIT License

C++ 85.12% Python 13.30% CMake 1.58%

liorf_localization's Introduction

liorf_localization

This repo is a simple location system based on a priori map, which is based on the lio-sam framework. The current version only supports small scene maps, large scene maps may have some problems.

------------------- Update Date: 2022-11-20 -------------------

  • First verison

------------------- Update Date: 2022-12-13 -------------------

  • Re-derivation the LM optimization, don't need coordinate transformation.

------------------- Update Date: 2023-03-18 -------------------

  • Fixed a bug and was more robust for large scene maps.

------------------- Update Date: 2024-04-30 -------------------

Video: 基于LIO-SAM框架SLAM算法开发(三):定位之小场景定位算法

Prepare priori map

  • You can get a priori map by running liorf or lviorf or liorf-ros2 or any open source SLAM algorithm(e.g. A-LOAM or LOAM or LIO-SAM);

- Make sure the priori map name is "GlobalMap.pcd";
- Change the "savePCDDirectory" parameter in "localization.yaml" to your priori map path.

Dependency

  • gtsam(Georgia Tech Smoothing and Mapping library)
      sudo add-apt-repository ppa:borglab/gtsam-release-4.0
      sudo apt install libgtsam-dev libgtsam-unstable-dev
    

Install

  1. Use the following commands to download and compile the package. (The available ROS2 implementation see branch liorf_localization-ros2)
  mkdir -p ~/liorf_localization/src && cd ~/liorf_localization/src
  git clone https://github.com/YJZLuckyBoy/liorf_localization.git
  cd ../
  catkin_make

How to use

  1. Run the launch file
  roslaunch liorf_localization run_localization.launch
  1. Use "2D Pose Estimate" on rviz to set the initial pose

  2. Play bag files

  rosbag play your_localization.bag

Examples

  1. Urban

drawing

Scalable Examples

  1. Building(Avia)

drawing

  1. Underground Parking(Avia)

drawing

Acknowledgments

Thanks for LIO-SAM, MulRan and UrbanNavDataset.

liorf_localization's People

Contributors

yjzluckyboy avatar

Stargazers

WangNing avatar

Watchers

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