Skip to content

YuehChuan/gpu_computing_in_robotics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPU Computing in Robotics

environment:

Ubuntu 18.04.2

cuda-10.0

Nvidia 1080ti

pcl-1.8 binary installed

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl

sudo apt install libpcl-dev

ref: https://github.com/JanuszBedkowski/gpu_computing_in_robotics

This tutorial concerns robotic data processing with CUDA. Content of the tutorial:

Lessons

Lesson 0: basic transformations

Lesson 0 - basic transformations

Lesson 1: down-sampling

Lesson 1 - down-sampling

Lesson 2: noise removal (naive)

Lesson 2 - noise removal (naive)

Lesson 3: nearest neighborhood search

Lesson 3 - nearest neighborhood search

Lesson 4: noise removal

Lesson 4 - noise removal

Lesson 5: normal vector computation

Lesson 5 - normal vector computation

Lesson 6: projections

Lesson 6 - projections

Lesson 7: basic semantics

Lesson 7 - basic semantics

Lesson 8: semantic nearest neighborhood search

Lesson 8 - semantic nearest neighborhood search

Lesson 9: data registration Iterative Closest Point

Lesson 9 - data registration Iterative Closest Point

Lesson 10: data registration semantic Iterative Closest Point

Lesson 10 - data registration semantic Iterative Closest Point

Lesson 11: data registration point to projection Iterative Closest Point

Lesson 11 - data registration point to projection Iterative Closest Point

Lesson 12: data registration Least Square Surface Matching (Ax=B solver on GPU)

Lesson 12 - data registration Least Square Surface Matching (Ax=B solver on GPU)

Lesson 13: data registration Plane To Plane (Ax=B solver on GPU)

Lesson 13 - data registration Plane To Plane (Ax=B solver on GPU)

Lesson 14: multi scan registration Point To Point (Ax=B solver on GPU)

Lesson 14 - multi scan registration Point To Point (Ax=B solver on GPU)

Lesson 15: multi scan registration (LS3D Least Square Surface Matching, Ax=B solver on GPU)

Lesson 15 - multi scan registration (LS3D Least Square Surface Matching, Ax=B solver on GPU)

Lesson 16: multi scan registration semantic Point To Point (Ax=B solver on GPU)

Lesson 16 - multi scan registration semantic Point To Point (Ax=B solver on GPU)

Lesson 17: path planning (via diffusion process)

Lesson 17 - path planning (via diffusion process)

Lesson 18: image matching (BFROST: Binary Features from Robust Orientation Segment Tests)

Lesson 18 - image matching (BFROST: Binary Features from Robust Orientation Segment Tests)

Lesson 19: laser range finder simulation

Lesson 19 - laser range finder simulation

Requirements

Software was developed and tested on LINUX UBUNTU 14.04, 16.04 with following libraries OpenGL, GLUT, PCL 1.5, CUDA>=7.5

Build

Each lesson is an independent software package, thus the following steps should be performed:

cd lesson_X
mkdir BUILD
cd BUILD
cmake -DCMAKE_BUILD_TYPE=Release ..
make
./lesson_X

Use Cases

fastSLAM

fastSLAM

This DEMO shows the parallel computing for fastSLAM. Each particle containes 3D map built based on registered Velodyne VLP16 3D semantic data. The result is corrected trajectory.

Execute

Run ./fastSLAM and read instructions in console

to run example

./fastSLAM ../dataset/model_reduced_pointXYZIRNL.xml

(check help in console, e.g. type c to start computations, software was tested on GF1050Ti, thus for this example the single scan calculation takes up to 40ms)

Particle filter localization

Particle filter localization

This DEMO shows the use of GPU for robust robot localization based on 3D semantic data.

Execute

Run ./particle_filter_localization_fast and read instructions in console

to run example

Run ./particle_filter_localization_fast ../dataset/metascan_pointXYZL.pcd ../dataset/odom_and_pointXYZL.xml

(check help in console, e.g. type i to start computations, software was tested on GF1050Ti, thus for this example the single particle filter calculation takes up to 50ms)

Robotic arm collision detection

Robotic arm collision detection

About

ubuntu 18.04.2 cuda-10.0

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published