Visualize the mapped environment through the generated image
Check out this link for more information on the matplotlib
C++ library. For information regarding the plot color and shape refer to the LineSpec and LineColor section of the MATLAB documentation.
$ git clone https://github.com/navinrahim/RoboND-Occupancy-Grid-Mapping-Algorithm
$ cd RoboND-Occupancy-Grid-Mapping-Algorithm/
$ rm -rf Images/* #Delete the folder content and not the folder itself!
$ g++ main.cpp -o app -std=c++11 -I/usr/include/python2.7 -lpython2.7
$ ./app
Now, wait for the program to generate the map in the Images folder!