TL;DR
This paper provides a rigorous performance breakdown of RTAB-Map and ORB-SLAM3 on the Raspberry Pi 5, revealing that while the Pi 5's Cortex-A76 cores are a significant leap forward, real-time RGB-D SLAM remains a challenge. The study highlights that ORB-SLAM3’s parallelized architecture makes it substantially faster than RTAB-Map in sequential configurations, but both systems face a steep reliability "cliff" when reducing image resolution to save compute.
What Problem Does This Paper Address?
For indoor micro-aerial vehicles (MAVs) operating without GPS, Simultaneous Localization and Mapping (SLAM) is a mission-critical requirement. However, these robots are often constrained by tight payload and power budgets, forcing them to rely on ARM-based edge boards rather than beefy desktop GPUs.
While the Raspberry Pi 5 represents a major performance upgrade over its predecessors, there has been little peer-reviewed data on how standard, open-source RGB-D SLAM systems actually behave on this hardware. Developers need to know: Can these systems run in real-time? Where are the computational bottlenecks? And how much accuracy do we sacrifice when we downsample images to save time?
Methods
The authors benchmarked two heavyweights of the SLAM world:
- RTAB-Map: A graph-based system known for its robust loop closure and memory management.
- ORB-SLAM3: A feature-based system widely regarded for its high accuracy and efficient multi-threaded design.
The systems were tested on a Raspberry Pi 5 (16GB RAM) with active cooling. To understand the performance-accuracy trade-off, they tested three image decimation levels: D1 (640x480), D2 (320x240), and D4 (160x120).
Crucially, the authors didn't just look at final error; they performed stage-level and function-level profiling using perf to see exactly which parts of the code (e.g., feature extraction, pose-graph optimization, bundle adjustment) were eating up CPU cycles.
Datasets
The evaluation used six sequences from the TUM RGB-D benchmark, a standard dataset for indoor SLAM. These sequences cover a variety of challenging conditions, including:
- fr1_xyz / fr1_desk: Fast motion in textured environments.
- fr2_desk: A long trajectory to test map growth and memory.
- fr3_nstx / fr3_stx: Degraded visual conditions (textureless or structureless scenes).
Key Insights and Ideas
- Parallelism is the Secret Sauce: ORB-SLAM3’s architecture—which runs tracking, local mapping, and loop closing in separate threads—allows it to be significantly more responsive. In contrast, the RTAB-Map standalone tool used in this study runs these stages sequentially, creating a massive bottleneck in end-to-end "wall-clock" time.
- The "Accuracy Trap": A surprising finding was that runs that lost tracking often reported lower trajectory error. This is because they only successfully estimated poses for the "easy" parts of the flight before failing. The authors argue that tracking coverage must always be reported alongside accuracy to give a true picture of performance.
- The Resolution Cliff: While "decimating" (downsampling) images by a factor of 4 (D4) provides a ~3x speedup, it causes both systems to lose tracking on most sequences. The loss of fine-grained feature detail makes the SLAM systems far more fragile.
- Non-Deterministic Accuracy: Trajectory error varied by up to 27% between identical runs of the same system on the same data. This suggests that small differences in accuracy reported in many SLAM papers might just be "noise" caused by the stochastic nature of RANSAC and multi-threaded optimization.
Key Results
- Processing Speed: ORB-SLAM3 was the clear winner in throughput. At full resolution (D1), its tracking took 13–45 ms per frame, compared to RTAB-Map’s 38–74 ms for its front end.
- End-to-End Latency: In the tested configurations, ORB-SLAM3 completed its pipeline in 26–62 ms, whereas RTAB-Map took 150–462 ms.
- Bottlenecks: For RTAB-Map, the biggest cost was pose-graph optimization, which grew as the map expanded. For ORB-SLAM3, descriptor matching against the local map was more expensive than the actual feature extraction.
- Thermal Performance: Despite the heavy load, the Raspberry Pi 5 with an active cooler maintained a peak temperature below 59°C, and no thermal throttling occurred.
Limitations and Future Work
The authors acknowledge several limitations:
- Sequential RTAB-Map: The RTAB-Map results represent a "worst-case" sequential processing scenario. In a real-world ROS 2 deployment, its front and back ends would likely run concurrently, improving throughput.
- Unbounded Memory: RTAB-Map was tested with its default "unbounded" memory. Testing its unique "Working Memory" vs. "Long-Term Memory" management could show how it handles even longer missions.
- Hardware Scope: The study focused on CPU-only SLAM. Future work should evaluate GPU-accelerated pipelines on boards like the NVIDIA Jetson Orin Nano to see if the extra hardware cost translates to meaningful gains in edge robotics.
Summary updated