Google has released Cartographer: an open source, real-time, simultaneous localization and mapping library for 2D and 3D spaces. It can combine data from various sensors like LIDAR, IMU, and cameras. The program is intended primarily for robots to map local facilities.
To learn more, read the post on the Google Open Source Blog.