No order minimums | Exclusive pricing | Dedicated support
Light Detection And Ranging (LiDAR) plays a crucial role in SLAM (Simultaneous Localization and Mapping) and is considered one of the most important perception devices. While mechanical LiDAR was considered mainstream several years ago, recently MEMS (Micro-Electro-Mechanical Systems) type LiDAR has gained popularity as a cost-effective, lightweight solution, accelerating its adoption in small-scale robots.
This article introduces program source code for SLAM using the RealSense L515, a solid-state LiDAR camera that incorporates Intel's proprietary MEMS mirror scanning technology. The program source code recently published on GitHub has been demonstrated to provide more accurate localization and higher-quality mapping compared to using Intel's standard programs, offering improved precision and efficiency. We hope this serves as a valuable reference for those utilizing SLAM.
This article references information from RealSense GitHub SSL_SLAM / SSL_SLAM2
Lightweight 3-D Localization and Mapping for Solid-State LiDAR (Intel Realsense L515 as an example)
https://github.com/wh200720041/ssl_slam
https://github.com/wh200720041/ssl_slam2(update information)
Compared to mechanical LiDAR, solid-state LiDAR offers higher scanning frequency and angular resolution but has a limited field of view (FoV), which can create uncertainty when using existing LiDAR SLAM algorithms. This new sensing device requires more robust and computationally efficient SLAM methods.
To address this need, this program source code proposes a new SLAM framework for solid-state LiDAR that includes feature point extraction, odometry estimation (movement distance and rotation angles), and map building. The proposed method has been evaluated on warehouse robots and handheld devices.
The ultra-compact, high-resolution LiDAR depth camera "Intel RealSense LiDAR Camera L515" (hereinafter L515) is a small, highly versatile depth camera that incorporates Intel's proprietary MEMS (Micro-Electro-Mechanical Systems) mirror scanning technology, one type of solid-state technology. It is ideal for developing indoor applications that require high-resolution, high-precision depth data. Since its release, it has been incorporated into various research and development projects to leverage its characteristics.
For example, it has been used in telepresence robots, automated guided vehicles (AGVs) specialized for automated transportation and carrying tasks, and as introduced in our "DIM Weight software for easily measuring box sizes," it shows promise for use in warehouse storage of goods and products, as well as logistics.
youtu.be
In addition to its functionality, the L515's compact size (about the size of a tennis ball) and weight of only 100g (about the weight of a convenience store rice ball) make it less constrained by weight limitations when mounted on mobile robots, and it rarely causes issues where the camera itself becomes an obstacle. Furthermore, its refined design has received high praise for not spoiling the aesthetics of installation locations.
The MEMS technology installed in the L515 stands for Micro-Electro-Mechanical System. It refers to devices and systems such as sensors, actuators, and microelectronics that are manufactured using microfabrication technology to achieve miniaturization and high performance, integrating small electrical and mechanical components on a single substrate. MEMS' microscopic three-dimensional structures can handle a wide variety of input/output signals while consuming low power, drawing significant attention.

AGV (automatic guided vehicle) is an unmanned transport cart that automatically travels along designated routes to carry objects. In contrast, AMR (autonomous mobile robot) is a transport robot capable of autonomous navigation that can automatically avoid obstacles such as people and objects. Both are gaining attention for automating transport tasks to address social challenges like labor shortages and workload reduction.
The code we introduce implements the paper "Lightweight 3-D Localization and Mapping for Solid-State LiDAR" published in IEEE Robotics and Automation Letters, 2021.
If you wish to enable save map (map saving) and test localization (localization test) separately, please refer to SSL_SLAM2 (extended work of SSL-SLAM) and separate the mapping and localization modules.
Supported languages: C++, CMake
Modifier: Wang Han, Nanyang Technological University (NTU), Singapore
Ubuntu 64-bit 18.04 with ROS Melodic installation*
*The compatible Ubuntu version for ROS packages varies by version.
※For installation of the open-source Robot Operating System (ROS), see here
For installation of the efficient nonlinear optimization library Ceres, see here
For installation of the Point Cloud Library (PCL), see here
※Tested with version 1.8.1
For installation of OctoMap for SLAM map representation for robots and autonomous vehicles, see here
sudo apt-get install ros-melodic-octomap*
For visualization purposes, this package uses the hector trajectory server. You can install the package with:
sudo apt-get install ros-melodic-hector-trajectory-server
Alternatively, if you don't need trajectory visualization, you can remove the hector trajectory server node.
cd ~/catkin_ws/src git clone https://github.com/wh200720041/ssl_slam.git cd .. catkin_make source ~/catkin_ws/devel/setup.bash
If you don't have an L515, you can download recorded test data (approx. 5GB).
Extract the file directly under [home/user/Downloads (default)].
cd ~/Downloads unzip ~/Downloads/L515_test.zip
You can run this when you want to create a map simultaneously:
roslaunch ssl_slam ssl_slam_mapping.launch
Or to create position estimation (environment map probability):
roslaunch ssl_slam ssl_slam_octo_mapping.launch
If you only need localization, you can run:
roslaunch ssl_slam ssl_slam.launch
If you have an L515, please follow these setup steps.
For installation of Librealsense, see here
Copy the realsense_ros package to your catkin folder:
cd ~/catkin_ws/src git clone https://github.com/IntelRealSense/realsense-ros.git cd .. catkin_make
roslaunch ssl_slam ssl_slam_L515.launch
This will run ssl_slam_mapping.launch with live data from the L515.
If you use this work (SSL_SLAM/SSL-SLAM) in your research, we recommend citing the following papers. We would appreciate your citation.
@article{wang2021lightweight,
author={H. {Wang} and C. {Wang} and L. {Xie}},
journal={IEEE Robotics and Automation Letters},
title={Lightweight 3-D Localization and Mapping for Solid-State LiDAR},
year={2021},
volume={6},
number={2},
pages={1801-1807},
doi={10.1109/LRA.2021.3060392}}@article{wang2021lightweight,
author={H. {Wang} and C. {Wang} and L. {Xie}},
journal={IEEE Robotics and Automation Letters},
title={Lightweight 3-D Localization and Mapping for Solid-State LiDAR},
year={2021},
volume={6},
number={2},
pages={1801-1807},
doi={10.1109/LRA.2021.3060392}}The Intel LiDAR Camera L515 mentioned in this article is available through our company.