Giter Club home page Giter Club logo

livox_relocalization's Introduction

Livox_Relocalization Noted

Livox-Relocalization is a relocalization package for Livox LiDARs. This package load the map which create by mid40 and then use this map to relocate itself.

This is the noted version.

在代码关键位置添加了中文注释。

  • Example map points:
  • Relocalization:

1. Prerequisites

1.1 Ubuntu and ROS

Ubuntu 64-bit 16.04 or 18.04. ROS Kinetic or Melodic. ROS Installation

1.2. PCL && Eigen && openCV

Follow PCL Installation. Follow Eigen Installation. Follow openCV Installation.

1.3. livox_ros_driver

Follow livox_ros_driver Installation.

2. Build

Clone the repository and catkin_make:

    cd ~/catkin_ws/src
    git clone https://github.com/Livox-SDK/livox_relocalization.git
    cd ../
    catkin_make
    source ~/catkin_ws/devel/setup.bash

3. Get lidar map

Download map_example or use your own mid40 to create a map and save it to pcd file. You can use our mapping package livox_mapping to create this map.

The map_example.zip include four files {all_points.pcd corner.pcd surf.pcd key_frame.txt}.

Move these files{all_points.pcd corner.pcd surf.pcd key_frame.txt} to .../livox_relocalization/map Change the 'map_file_path' in livox_relocalization.launch to your own path.

4. Rosbag example

Download mid40_re_example and then

roslaunch livox_relocalization livox_relocalization.launch
rosbag play YOUR_DOWNLOADED.bag

5. Directly run

First you should get your own map and load it,then connect to your PC to Livox LiDAR (mid40) by following Livox-ros-driver installation, then

    ....
    roslaunch livox_relocalization livox_relocalization.launch
    

Remarks:

  • In this version, the initial pose still needs to be close to the original trajectory, especially the rotation.

6.AMR(Automated Mobile Robot) example

With the control algorithm, you can DIY an automated mobile car as shown below.

  • Line track example:

7.Acknowledgments

Thanks for LOAM(J. Zhang and S. Singh. LOAM: Lidar Odometry and Mapping in Real-time), LOAM_NOTED.

livox_relocalization's People

Contributors

livox-sdk avatar hviktortsoi avatar

Stargazers

 avatar A sad joker avatar superidiot avatar

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.