Skip to content

A project demonstrating how to use the libs of CUDA-PCL.

License

Notifications You must be signed in to change notification settings

FannyDuan/cuda-pcl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cuda-pcl

cuda-pcl has some libraries used to process points cloud with CUDA and some samples for their usage. The are several subfolders in the project and every subfolder has:

  1. lib for segmentation implemented by CUDA
  2. Sample code can show the lib usage and also be used to check perf and accuracy by comparing its output with PCL

To get started, follow the instructions below. If you run into any issues please let us know.

Getting Started

To get started, follow these steps.

Step 1 - Install Dependencies

  1. Install Jetpack4.4.1 by SDKManager
  2. install PCL (Eigen included)
$sudo apt-get update
$sudo apt-get install libpcl-dev

Step 2 - Build

Enter any subfolder and then

$ make

Step 3 - Run

  1. Please boost CPU and GPU firstly
$ sudo nvpmodel -m 0
$ sudo jetson_clocks
  1. Usage:
$ ./demo [*.pcd]

How to check the Version of the Lib

$ strings lib* | grep version | grep lib
lib* version: 1.0 Jun  2 2019 09:30:19

Test Enviroment

Jetson Xavier AGX 8GB
Jetpack 4.4.1
CUDA 10.2
PCL 1.8
Eigen 3

Functions List

CUDA-ICP

This project provides:

  1. lib implement ICP by CUDA
  2. Sample code can show the lib usage and also be used to check perf and accuracy by comparing its output with PCL
  3. two point clound: test_P.pcd and test_Q.pcd both have 7000 points

CUDA-Filter

The are two folders in the package

  1. lib for segmentation implemented by CUDA
  2. Sample code can show the lib usage and also be used to check perf and accuracy by comparing its output with PCL
  3. A point clound: sample.pcd which has 119978 points

CUDA-Segmentation

This package provides:

  1. Segmentation lib implemented by CUDA
  2. Sample code can show the lib usage and also be used to check perf and accuracy by comparing its output with PCL
  3. A point clound: sample.pcd which has 119978 points

NOTE: Now Just support: SAC_RANSAC SACMODEL_PLANE

CUDA-Octree

The are two folders in the package

  1. lib for segmentation implemented by CUDA
  2. Sample code can show the lib usage and also be used to check perf and accuracy by comparing its output with PCL
  3. A point clound: sample.pcd which has 119978 points

CUDA-Cluster

This package provides:

  1. Cluster lib implemented by CUDA
  2. Sample code can show the lib usage and also be used to check perf and accuracy by comparing its output with PCL

NOTE: Cluster can be used to extract objects from points cloud after road plane was removed by Segmentation. The sample will use a PCD(sample.pcd) file which had been removed road plane.

Official Blog

https://developer.nvidia.com/blog/accelerating-lidar-for-robotics-with-cuda-based-pcl/

About

A project demonstrating how to use the libs of CUDA-PCL.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 69.9%
  • Makefile 30.1%