RGB-D SLAM on the Edge: Benchmarking and Profiling RTAB-Map and ORB-SLAM3 on the Raspberry Pi 5

Himanshu Patil, Jaideep Joshi, Rohit Saluja, Ganesh RamakrishnanarXiv 2026 · arXiv

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.
Wall-clock time per frame comparison across different resolutions.
  • 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.
Fig. 3. CPU time per frame by component, D4 on fr2 desk. ORB-SLAM3 runs local mapping and loop closing (included in map optimization and other SLAM) concurrently with tracking, so its time per frame is 26.7 ms. RTAB- Map’s components run in sequence in the dataset tool.
  • 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:

  1. 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.
  2. 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.
  3. 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

Abstract

Micro aerial vehicles that operate without GPS often run SLAM on ARM-based edge boards, yet there is little published data on how standard RGB-D SLAM systems behave on such hardware. We benchmark RTAB-Map and ORB-SLAM3 on the Raspberry Pi 5 using six TUM RGB-D sequences at three image resolutions, recording tracking coverage, trajectory error, time per frame, memory, CPU load and temperature for every run, and we profile both systems at the stage and function level. RTAB-Map was configured to process and keep every frame, so its back end runs on every frame rather than at its default rate of 1 Hz. On the sequences that every configuration tracked, its front end takes 38-74 ms per frame and its full pipeline 150-462 ms, compared with 13-45 ms and 26-62 ms for ORB-SLAM3. RTAB-Map's main cost is optimizing a pose graph that keeps growing, because its working memory is unbounded by default; ORB-SLAM3's local bundle adjustment costs about as much as its tracking but runs in a parallel thread. At quarter resolution, both systems lose tracking on most sequences, and runs that lose tracking finish sooner and report lower error on the poses they keep, so time and accuracy must be read alongside coverage. Timing is repeatable to within 1-5%, but trajectory error varies by up to 27% between identical runs, so the accuracy differences between the two systems are inconclusive. No thermal throttling occurred.
BibTeX
@misc{patil2026rgb,
  author = {Himanshu Patil and Jaideep Joshi and Rohit Saluja and Ganesh Ramakrishnan},
  title = {{RGB-D SLAM on the Edge: Benchmarking and Profiling RTAB-Map and ORB-SLAM3 on the Raspberry Pi 5}},
  year = {2026},
  eprint = {2611.16472},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.16472},
}
Figure