AGLoc++: WiFi-Fused Global Localization and Monte Carlo Enhanced Tracking
Extension of indoor LiDAR localization system based on hierarchical area graphs, integrating WiFi-aided kidnap recovery and Nav2 navigation stack
Project Overview
AGLoc++ is a significant extension of the AGLoc system previously published in RAL 2023. The original AGLoc system proposed a robust indoor localization method using 3D LiDAR and hierarchical topo-semantic Area Graphs, achieving long-term stable performance in office environments by filtering dynamic clutter and matching architectural features (e.g., walls/doors), outperforming traditional SLAM approaches.
This project enhances the previous work in the following key aspects:
Major Improvements
-
ROS1 to ROS2 Migration ✅ Completed
- Complete system architecture migration
- Compatible with ROS2 Humble distribution
- Optimized message passing mechanisms
-
WiFi-aided Kidnap Recovery ✅ Completed
- Integrated WiFi signal strength fingerprinting
- Provides coarse position estimates for global localization initialization
- Significantly improves system robustness
-
Nav2 Navigation Stack Integration ✅ Completed
- Replaces traditional AMCL localizer
- Seamless integration into Nav2 ecosystem
- Supports standard navigation interfaces
-
Indoor Cross-level Localization ✅ Completed
- Multi-floor building environment support
- Automatic floor identification and switching
- Hierarchical map management
-
Odometry-fused Monte Carlo Tracking 🔄 In Progress
- Improved particle filter algorithms
- Multi-sensor data fusion
- More stable pose tracking
-
Re-localization when Losing Tracking 🔄 In Progress
- Automatic tracking failure detection
- Intelligent re-localization strategies
- Fast recovery mechanisms


Key Technologies
1. Long-term LiDAR Localization Framework
Global and local localization framework based on hierarchical Area Graph, enabling robust localization in dynamic indoor environments.
2. Clutter-adaptive Subsampling
Filters transient objects (e.g., furniture, pedestrians) from 3D LiDAR point clouds, preserving structural features (walls, doors).
3. Hypothesis-scoring Global Localization
Addresses the kidnapped robot problem: samples candidate poses, ranks via novel Area Graph match metric, and refines for reliability.
4. Weighted Point-to-line ICP
Weighted point-to-line ICP with clutter-aware weight function, ensuring pose tracking relies solely on lifelong architectural features.
5. Corridorness-aware Downsampling
Optimizes point cloud registration in corridor-dominated spaces, improving ICP accuracy.
System Architecture

Technology Stack
- Programming Languages: C++17, Python 3.8+
- Robotics Framework: ROS2 Humble
- Navigation System: Nav2 Navigation Stack
- Point Cloud Processing: PCL (Point Cloud Library)
- Mathematical Libraries: Eigen3, GTSAM
- Visualization: RViz2, Matplotlib
- Hardware Platform: Agile X HUNTER SE, Hesai PandarQT64
Experimental Results
Localization Accuracy
- Average Localization Error: < 0.15m
- Angular Error: < 3°
- Success Rate: > 95% (in test environments)
System Performance
- Real-time Performance: 10Hz localization update frequency
- Memory Usage: < 500MB
- CPU Usage: < 30% (Intel i7-8700K)
Future Work
- Complete odometry-fused Monte Carlo tracking module
- Implement intelligent re-localization when tracking is lost
- Extend to indoor cross-level re-localization functionality
- Optimize system real-time performance
- Test and validate in more diverse environments
Project Team
- Current Work: Jiajie Zhang (zhangjj2023@shanghaitech.edu.cn)
- Previous Work: Fujing Xie (xiefj@shanghaitech.edu.cn)
- Advisor: Professor Sören Schwertfeger
Related Resources
- Original Paper: AGLoc: Robust Lifelong Indoor LiDAR Localization using the Area Graph
- Code Repository: GitHub Repository
- Demo Video: Project Demo
This project is supported by the MARS Lab at ShanghaiTech University and is an important component of mobile robotics research.