Skip to main content
QUICK REVIEW

[Paper Review] TagSLAM: Robust SLAM with Fiducial Markers

Bernd Pfrommer, Kostas Daniilidis|arXiv (Cornell University)|Oct 1, 2019
Robotics and Sensor-Based LocalizationEngineering11 references13 citations
TL;DR

TagSLAM is an open-source ROS framework that enables robust Simultaneous Localization and Mapping (SLAM) using AprilTag fiducial markers by leveraging GTSAM's factor graph optimization. It achieves reliable initialization and loop closure through a subgraph-based, error-validated optimization pipeline, significantly reducing trajectory drift in visual-inertial odometry systems by anchoring poses to known marker locations.

ABSTRACT

TagSLAM provides a convenient, flexible, and robust way of performing Simultaneous Localization and Mapping (SLAM) with AprilTag fiducial markers. By leveraging a few simple abstractions (bodies, tags, cameras), TagSLAM provides a front end to the GTSAM factor graph optimizer that makes it possible to rapidly design a range of experiments that are based on tags: full SLAM, extrinsic camera calibration with non-overlapping views, visual localization for ground truth, loop closure for odometry, pose estimation etc. We discuss in detail how TagSLAM initializes the factor graph in a robust way, and present loop closure as an application example. TagSLAM is a ROS based open source package and can be found at https://berndpfrommer.github.io/tagslam_web.

Motivation & Objective

  • To provide a flexible, robust, and easy-to-deploy SLAM solution for robotics research using fiducial markers.
  • To address the challenge of poor initialization in graph-based SLAM, which can lead to convergence to local minima or failure.
  • To enable loop closure and trajectory correction in visual-inertial odometry (VIO) by leveraging known AprilTag poses.
  • To support diverse robotics tasks such as extrinsic camera calibration, object pose estimation, and ground truth localization using fiducial markers.
  • To make advanced SLAM techniques accessible to researchers through a well-documented, open-source ROS package.

Proposed method

  • Uses a modular front-end abstraction with bodies (e.g., lab, rig, block), tags (AprilTags), and cameras to model dynamic and static scene elements.
  • Employs a subgraph-based initialization strategy where candidate pose solutions are generated from detected tags and validated via error thresholds.
  • Applies a multi-ordering initialization heuristic: rotates the factor ordering in subgraphs to prioritize larger tags first and progressively smaller ones, improving robustness.
  • Performs non-incremental optimization on each subgraph to validate initial estimates before merging into the main graph, mimicking RANSAC model selection.
  • Uses iSAM2 for incremental optimization of the full graph after successful subgraph validation, enabling efficient online updates.
  • Incorporates projection factors (camera-to-tag) and relative pose factors (from odometry) into the factor graph to jointly optimize camera and tag poses.

Experimental results

Research questions

  • RQ1How can a robust initialization strategy be designed for factor graph-based SLAM using fiducial markers to avoid local minima?
  • RQ2Can AprilTag-based SLAM reliably enable loop closure in visual-inertial odometry systems with minimal drift?
  • RQ3How does the use of known marker poses improve trajectory accuracy in dynamic or challenging environments?
  • RQ4To what extent can TagSLAM support diverse robotics tasks such as extrinsic calibration and object pose estimation beyond standard SLAM?
  • RQ5What is the computational performance and real-time feasibility of TagSLAM when scaling to longer trajectories with many frames?

Key findings

  • TagSLAM successfully closes loops in a 13-minute, 630m trajectory through an abandoned lab, correcting significant drift in VIO that otherwise caused the trajectory to fail to return to the start.
  • The TagSLAM trajectory returned precisely to the starting point, while VIO and ORB-SLAM2 exhibited substantial drift, demonstrating the effectiveness of tag-based loop closure.
  • Processing time averaged 12ms per frame on an Intel i9-9900K CPU, with full non-incremental optimization adding 4.3s, indicating strong real-time feasibility for offline processing.
  • Individual frame processing times could reach up to 260ms due to iSAM2 relinearization, but the system remains viable for real-time use when configured to retain only the last two time steps.
  • The subgraph initialization strategy with iterative reordering of factor ordering successfully rejected outlier measurements, preventing contamination of the optimized graph.
  • TagSLAM enables deployment in scenarios with static cameras and moving tags—such as in the Smart Aviary project—where traditional SLAM packages fail due to lack of explicit object tracking.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.