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.
cd /home/workspace/c3-project
cmake .
make
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.
2) ICP: Vehicle touring the map.
4) ICP: Zoom at the end position.
6) NDT: Vehicle touring the map.
8) NDT: Zoom at the end position.
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.