This document describes research on using an omni-directional mobile robot equipped with a LiDAR sensor to perform 2D mapping of indoor environments. The robot uses a Raspberry Pi single board computer to process LiDAR data from a YDLiDAR X4 sensor and send it wirelessly to another computer running ROS. The Hector SLAM algorithm is used to determine the robot's position through scan matching and represent obstacles in an occupancy grid map. Experimental results showed the robot could follow walls using PID control and autonomously construct an accurate map of a room with an error rate of 4.59%.