ser94mor / lidar-obstacle-detection

Project: Lidar Obstacle Detection || Udacity: Sensor Fusion Engineer Nanodegree
MIT License
27 stars 9 forks source link
cpp cpp17 lidar lidar-point-cloud obstacle-detection pcl point-cloud

Lidar Obstacle Detection

Sensor Fusion Engineer Nanodegree

This project contains code that demonstrates techniques of working with the real point cloud data collected with the Lidar sensor. The code extensively utilizes the Point Cloud Library (PCL).

Dependencies

Build

$> mkdir build
$> cd build
$> cmake ..
$> make
$> cd ..

Run

$> build/lidar_obstacle_detection

or

$> lidar_obstacle_detection data/pcd/data_<num> <use_pcl>

where <num> can be 1 or 2 and <use_pcl> can be true or false. By default, <num> is set to 1 and <use_pcl> is set to false, meaning that implementations of RANSAC, Euclidean clustering, and k-d tree algorithms presented in this repository will be used.

Demo

First set of point clouds

ANIMATION ANIMATION

Second set of point clouds

ANIMATION ANIMATION

Results Description

On the upper side in the Demo section, the initial (unprocessed) point clouds are presented. On the lower side, there are processed point clouds, with identified and clustered points belonging to obstacles (cars, road signs, bicyclists). Bounding boxes illustrate this separation.