Based on ROS move_base structure and gmapping to implement exploration and mapping under unknown conditions.
There is src reference which includes all the functional packages.
This project is based on ubuntu 18.04 and ros-melodic!
Here is a demo vedio link: https://www.youtube.com/watch?v=XDccWt9EmdI !