Skip to content

Software

Hydra (3D scene graphs)

By MIT-SPARK, United States (checked on github.com/MIT-SPARK/Hydra/blob/HEAD/LICENSE (opens in a new tab)), from github.com/MIT-SPARK/Hydra (opens in a new tab)

  • Navigation and mapping
  • Library
  • BSD-2-Clause

Hydra incrementally builds 3D scene graphs in real time, a layered map of a robot's surroundings from geometry to objects and rooms. It is research code tied to papers by MIT SPARK.

Facts

GitHub stars
1,210read on 28 Nov 2026
Last update
14 Jan 2026Newest commit on main
Maintenance
Maintaineda commit in the last 12 months
Difficulty
Advanced

Checked on GitHub on 28 Nov 2026.

Licenses

Code
BSD-2-Clause (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (BSD-2-Clause) at commit 2e58a35 (opens in a new tab), on 16 Oct 2026.

Commercial use
Yes

At a glance

What it is
  • Builds 3D scene graphs incrementally and in real time from a robot's sensor data.
  • Based on the authors' RSS 2022 paper and a 2024 IJRR paper on spatial perception.
  • Provides Python bindings around Hydra for use outside the core C++ system.
  • Includes an evaluation suite for measuring scene graph results.
  • Supports open-set semantics and separates semantic labels from colors, which the visualizer assigns.
  • Room category classification networks are available in a separate repository, Hydra-GNN.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
BSD-2-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Maintained, last commit on 14 Jan 2026.

Use it

How to install it, in the creator's words: The project's README (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 2e58a35

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by MIT-SPARK, at commit 2e58a35, under BSD-2-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here
Hydra

Picture: hydra.GIF

This repository contains code to incrementally build 3D Scene Graphs in real-time and is based on the papers:

If you find this code relevant for your work, please consider citing one or both of these papers. A bibtex entry is provided below:

@article{hughes2022hydra,
    title={Hydra: A Real-time Spatial Perception System for {3D} Scene Graph Construction and Optimization},
    fullauthor={Nathan Hughes, Yun Chang, and Luca Carlone},
    author={N. Hughes and Y. Chang and L. Carlone},
    booktitle={Robotics: Science and Systems (RSS)},
    pdf={http://www.roboticsproceedings.org/rss18/p050.pdf},
    year={2022},
}

@article{hughes2024foundations,
    title={Foundations of Spatial Perception for Robotics: Hierarchical Representations and Real-time Systems},
    fullauthor={Nathan Hughes and Yun Chang and Siyi Hu and Rajat Talak and Rumaisa Abdulhai and Jared Strader and Luca Carlone},
    author={N. Hughes and Y. Chang and S. Hu and R. Talak and R. Abdulhai and J. Strader and L. Carlone},
    journal={The International Journal of Robotics Research},
    doi={10.1177/02783649241229725},
    url={https://doi.org/10.1177/02783649241229725},
    year={2024},
}
Table of Contents
News

Update (07/09/25): We've archived the ROS1 version of Hydra and switched to the ROS2 version by default. See this branch (opens in a new tab) for the pinned version of the code if you need the ROS1 version for any reason. We are unlikely to support any issues that come up with the archived ROS1 version.

Update (01/28/25): We've released a new version of Hydra. This involves the following changes:

Node

We've updated our rosinstall file to point to the main branch of Kimera-PGMO. Please make sure you have the right branch checked out!

Update (06/26/24): We've released the latest version of Hydra. This release also includes the following features:

Note

We've changed (and simplified) the dependencies required to build Hydra. This includes moving towards the ROS packaged version of GTSAM, dropping Kimera-Semantics and replacing voxblox with spatial_hash (opens in a new tab). Please make sure to double-check the rosinstall files to make sure you have all new dependencies (and feel free to remove unused old dependencies).

Update (06/26/23): We've released initial changes from the our newest paper. We also plan to release additional code, most notably for training the room classification networks and GNN-based descriptors as described in the above paper. We will link to the new repository once this is done.

Note

As part of the this release, we have moved ROS related code to a new repository located here (opens in a new tab). This code (and our installation process) still do rely on the ROS ecosystem.

Installation and Running

Hydra has been tested on Ubuntu 24.04 and ROS2 Jazzy. Please refer to our guide here (opens in a new tab) for installation instructions.

Hydra Python Bindings

See here (opens in a new tab) for information

Hydra Evaluation

See here (opens in a new tab) for information

Filing Issues

Please understand that this is research code maintained by busy graduate students, which comes with some caveats:

  1. We do our best to maintain and keep the code up-to-date, but things may break or change occasionally
  2. We do not have bandwidth to help adapt the code to new applications
  3. The documentation, code-base and installation instructions are geared towards practitioners familiar with ROS and 3D scene graph research.

:warning: Warning

We don't support other platforms. Issues requesting support on other platforms (e.g., Ubuntu 18.04, Windows) will be summarily closed.

Depending on the nature of the issue, it may be helpful to browse this (opens in a new tab) page about debugging Hydra first.

Thank you in advance for your understanding!

Acknowledgements

This work was partially funded by the AIA CRA FA8750-19-2-1000, ARL DCIST CRA W911NF-17-2-0181, and ONR RAIDER N00014-18-1-2828.

Disclaimer

Research was sponsored by the United States Air Force Research Laboratory and the United States Air Force Artificial Intelligence Accelerator and was accomplished under Cooperative Agreement Number FA8750-19-2-1000. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the United States Air Force or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for Government purposes notwithstanding any copyright notation herein.

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.