Noureddine RAMDI / MR.ScaleMaster: heterogeneous multi-robot monocular SLAM fusion via Sim(3) optimization

Created Mon, 04 May 2026 10:23:01 +0000 Modified Sat, 23 May 2026 20:41:27 +0000

team-aprl/MR.ScaleMaster

MR.ScaleMaster tackles a common challenge in multi-robot mapping: monocular SLAM systems run independently on each robot produce trajectories and maps with ambiguous scale. Without a mechanism to align and scale these independent results, combining them into a consistent global map is tricky. This repo cuts through that problem by accepting outputs from different monocular SLAM frontends running on multiple robots and fusing them using a Sim(3) graph optimization backend to get a single metrically consistent map.

multi-robot monocular slam fusion with scale ambiguity resolution

At its core, MR.ScaleMaster is a collaborative mapping system designed to resolve scale ambiguity inherent in monocular SLAM setups across multiple robots. Each robot runs its own SLAM frontend which can be one of several supported systems: MASt3R-SLAM, VGGT-SLAM 2.0, Pi3, or LoGeR. These frontends produce pose trajectories and point clouds, but each is scale-ambiguous because monocular SLAM cannot determine absolute scale alone.

The system ingests these heterogeneous SLAM outputs and performs loop closure detection across robots. By identifying overlapping or revisited areas from different robots, it establishes Sim(3) constraints — transformations that include scale, rotation, and translation — between robot maps.

These constraints feed into a backend optimizer implemented in C++ using the g2o graph optimization library. The optimizer refines the poses and scales simultaneously to produce a global, single-scale consistent map.

Architecturally, this repo is built in Python 3.11+ with CUDA support, which indicates GPU acceleration is leveraged possibly for frontend or loop closure computations. The backend optimizer remains in C++ for performance.

Importantly, the design is flexible in robot count and SLAM frontend choice. It requires no camera calibration and supports custom video inputs, which the system processes through an automated pipeline that splits videos, runs per-robot SLAM frontend, and fuses results.

heterogeneous slam frontend abstraction and sim(3) graph optimization

What really distinguishes MR.ScaleMaster is its heterogeneous frontend architecture. It doesn’t mandate a single SLAM algorithm running on all robots. Instead, it accepts pose and point cloud outputs from a variety of monocular SLAM systems, treating them as black boxes.

This abstraction is clever because in real-world multi-robot deployments, hardware capabilities and SLAM algorithm preferences vary. Some robots might have MASt3R-SLAM tuned for their sensors, others VGGT-SLAM or LoGeR. MR.ScaleMaster’s design lets you mix and match without rewriting integration code.

The tradeoff is in complexity: the system must handle different data formats, noise characteristics, and coordinate frames from these frontends. The fusion depends heavily on robust loop closure detection across robots, which can be challenging with heterogeneous data.

The backend uses g2o for Sim(3) graph optimization, solving for scale, rotation, and translation simultaneously. This is a well-understood approach in SLAM literature but the integration with multiple SLAM frontends adds an engineering layer. The optimizer is implemented in C++ for speed, while the orchestration and data flow are in Python, which balances performance and developer agility.

The codebase supports CUDA-capable GPUs (tested on RTX 5090), indicating some GPU-accelerated components, likely in deep learning-based loop closure detection or frontend processing.

Overall, the code quality appears thoughtful with scripts automating environment setup, dependencies, and checkpoint downloads. The inclusion of multiple SLAM frontends as submodules or dependencies also speaks to a modular design.

quick start with environment setup and checkpoint download

Getting MR.ScaleMaster running involves cloning the repo and running two scripts in parallel — one to setup the environment and build dependencies, the other to download model checkpoints. The README provides exact commands:

git clone git@github.com:team-aprl/MR.ScaleMaster.git
cd MR.ScaleMaster

Then in two separate terminals:

Terminal 1 — Environment & Build

./scripts/setup.bash

Terminal 2 — Checkpoint Download

./scripts/download_checkpoint.sh

The setup script installs the required Python 3.11 virtual environment, detects your CUDA version to install a matching PyTorch, clones and installs MASt3R-SLAM, downloads about 3 GB of model checkpoints, installs Python dependencies, and builds the C++ Sim(3) optimizer.

Running the download script in parallel saves setup time.

This installation process implies a fairly heavy dependency on GPU and external SLAM software, which is expected given the problem domain.

verdict: a flexible platform for multi-robot collaborative monocular slam with scale consistency

MR.ScaleMaster is a solid codebase for anyone exploring multi-robot collaborative mapping using monocular SLAM. Its heterogeneous frontend abstraction is the standout feature, enabling fusion of disparate SLAM outputs to resolve scale ambiguity.

The tradeoff is complexity and hardware requirements: you need CUDA-capable GPUs and to manage different SLAM frontends. The system also relies on robust cross-robot loop closure detection, which can be sensitive to environment and sensor noise.

This repo is most relevant for robotics researchers and developers working on multi-robot SLAM fusion, especially when deploying heterogeneous robot fleets with varying SLAM algorithms. The modular design and automation scripts improve developer experience, though expect a learning curve integrating your own video inputs or SLAM frontends.

If your project demands scale-consistent global maps from monocular multi-robot setups and you want to mix SLAM systems, MR.ScaleMaster is worth understanding and trying. For single-robot or stereo/LiDAR-based SLAM, this might be overkill.

In sum, MR.ScaleMaster’s approach to scale-ambiguous monocular SLAM fusion via Sim(3) optimization is practical and technically sound, reflecting a mature engineering effort in multi-robot mapping.


→ GitHub Repo: team-aprl/MR.ScaleMaster ⭐ 83 · Python