MikeZhu92 / css_loam_velodyne

css_loam_velodyne

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CSS-LOAM

This repository contains the code of the ROS Indigo version of loam_velodyne written by J. Zhang in 2014, but with the feature extraction algorithm changed by the Curvature Scale Space (CSS) algorithm. CSS features only replace sharp features, planar features extraction is maintained as the original code.

This code was tested with the Raw KITTI Dataset and consequently it works with the Velodyne HDL-64. To make it work with other Velodyne LiDARs it is important to consider the number of features CSS extracts, because with few features the trajectory may diverge.

Dependency

  • ROS (tested with melodic)
  • PCL (tested with version 1.8)

How to build with catkin:

$ cd ~/catkin_ws/src/
$ git https://github.com/claydergc/css_loam_velodyne.git
$ cd ~/catkin_ws
$ catkin_make -DCMAKE_BUILD_TYPE=Release 
$ source ~/catkin_ws/devel/setup.bash

Running:

roslaunch css_loam_velodyne css_loam_velodyne.launch

In second terminal play a sample velodyne from the Raw KITTI Dataset, but with a lower rate because CSS is more computationally expensive than the original LOAM's feature extractor.

rosbag play -r 0.5 ~/Downloads/00.bag 

About

css_loam_velodyne


Languages

Language:C++ 99.1%Language:C 0.3%Language:Python 0.3%Language:CMake 0.3%