SLAM with Vertical Plane Segmentation for Lifelong Indoor Mapping
Project Overview
This project develops an innovative indoor SLAM system that utilizes vertical plane segmentation algorithms to extract permanent structures (primarily walls) from the environment, creating clean and long-lasting indoor maps. The system automatically filters out temporary obstacles (such as chairs and trash bins), retaining only the building’s permanent structures to provide reliable references for indoor navigation.


Core Technologies
- 3D LiDAR Point Cloud Processing
- RANSAC-based Vertical Plane Segmentation
- Point Cloud to LaserScan Projection
- ROS1 Noetic Framework
- Gmapping 2D SLAM Algorithm
- PCL (Point Cloud Library)
System Architecture
The system integrates various hardware and software components:
- Hardware:
- Simulation: Differential Drive Robot Model with Velodyne LiDAR
- Real-world: Mobile Platform equipped with Hesai PandarQT LiDAR
- Software:
- ROS1 Noetic Framework
- Custom Vertical Plane Segmentation ROS Node
- Pointcloud2laserscan Package for Point Cloud Projection
- Gmapping Package for 2D SLAM
- Gazebo Simulation Environment
Key Features
- Vertical Plane Extraction: Identify and extract vertical planes (mainly walls) from the environment
- Point Cloud Projection: Project 3D point clouds onto horizontal plane to form 2D line segments
- Temporary Obstacle Filtering: Automatically filter out non-permanent obstacles
- Clean Map Generation: Create maps containing only permanent structures
- Real-time Processing: Efficient implementation based on C++ and PCL library
Workflow


- Acquire point cloud data from LiDAR
- Perform vertical plane segmentation:
- Voxel grid downsampling
- Apply RANSAC algorithm to extract planes iteratively
- Determine plane verticality and retain vertical plane point clouds
- Project vertical plane point clouds onto horizontal plane to form line segments
- Use Gmapping for line segment matching and registration to generate 2D grid maps
Experimental Results


Simulation Experiments
- Built indoor environment in Gazebo with walls and temporary obstacles
- Successfully filtered out movable objects on the ground (e.g., cans, bottles)
- Generated clean maps containing only wall structures
Real-world Testing
- Conducted tests in laboratory corridors with chairs and trash bins as obstacles
- Algorithm successfully identified and retained wall structures while filtering out temporary obstacles
- Achieved real-time processing and map building
Applications
- Creation of long-term indoor maps
- Global path planning for indoor navigation
- Modeling of building permanent structures
Project Member
- Jiajie Zhang (zhangjj2023@shanghaitech.edu.cn)