ASebastianRodriguez / SDCE_Scan-Matching-Localization

Scan matching localization project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Udacity Self Driving Car Engineer Course

Project Nº 4: Scan Matching Localization

Project Workspace:

The project workspace is included further below; we have also copied the compile and run commands below to make usage easier. You will likely want to "Expand" the workspace window with the option in the bottom left of the workspace while writing and running your code.

Compile:

cd /home/workspace/c3-project
cmake .
make

Run:

su - student // Ignore Permission Denied, if you see student@ you are good
cd /home/workspace/c3-project
./run_carla.sh

// Create new tab
cd /home/workspace/c3-project

// To run ICP method:
./cloud_loc ict // Might have core dump on start up, just rerun if so. Crash doesn't happen more than a couple of times

// To run NDT method:
./cloud_loc ndt // Might have core dump on start up, just rerun if so. Crash doesn't happen more than a couple of times

Note that any visualizations will appear only the remote desktop; if you work in the workspace IDE you will need to click on the "Desktop" button in the bottom right, and only run the executable from the terminal within the remote desktop to view them.

Results:

ICP Method Results:

1) ICP: Start position.
alt text

2) ICP: Vehicle touring the map.
alt text

3) ICP: Vehicle achieve 170m.
alt text

4) ICP: Zoom at the end position.
alt text

NDT Method Results:

5) NDT: Start position.
alt text

6) NDT: Vehicle touring the map.
alt text

7) NDT: Vehicle achieve 170m.
alt text

8) NDT: Zoom at the end position.
alt text

End Notes:

Comparing the results, it is seen that the ICP method has a greater error than the NDT method. An important point is that the ICP method uses less computational resources than the NDT method.

About

Scan matching localization project.


Languages

Language:C++ 89.5%Language:CMake 10.5%