To understand the navigation part, see this tutorial: http://wiki.ros.org/navigation/Tutorials/RobotSetup (note that you don't need the map_server if you are using rtabmap, rtabmap already sends the 2D occupancy grid).
For more navigation/ROS related questions, you may ask them on ROS answer.