Map the world with custom mobile robot in Gazebo Built mapping node to set the parameters frame_id, odom_frame_id. Loop closure detection is accomplished by driving the robot around using the teleop package. Visualized 2D, 3D maps and loop closures by RTABMAP-Database viewer.