Skip to content

Software

Khronos

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

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

Khronos is an online metric-semantic SLAM system that tracks both short-term dynamics and long-term changes in dynamic environments, building a spatio-temporal map of the scene.

  • Stale. No commit in 12 months: the newest is from 10 Nov 2025.

Facts

GitHub stars
563read on 28 Nov 2026
Last update
10 Nov 2025Newest commit on main
Maintenance
Staleno commit in 12 months
Difficulty
Advanced
Hardware it needs, as the project states it
Running semantic_inference without TensorRT is possible but limits segmentation to open-set only.

Checked on GitHub on 28 Nov 2026.

Licenses

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

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

Commercial use
Yes

At a glance

What it is
  • Performs simultaneous mapping and localization while reasoning about short-term motion and long-term scene changes.
  • Detects both humans and inanimate objects, and compares short-term dynamics against observed human actions.
  • Detects long-term changes, such as objects being removed or placed, when the robot revisits an area.
  • Builds an incremental background mesh and generates object nodes during playback.
  • Can run on simulated datasets or real robot data, using ground-truth, pre-recorded or live segmentation labels.
  • Includes a ROS2 launch setup, an open-set segmentation option through semantic_inference, and a 4D map visualizer.

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-3-Clause. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's README (opens in a new tab)
Maintenance
Stale, last commit on 10 Nov 2025.

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 63faadd

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 63faadd, under BSD-3-Clause (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Khronos

Image: Khronos (opens in a new tab)

Khronos is a unified approach that can reason about short-term dynamics and long-term changes when performing online metric-semantic simultaneous mapping and localization (SLAM) in dynamic environments. A few instances from Khronos’ spatio-temporal map, representing the scene state at all times, are shown above. Short-term dynamics (left) are shown in magenta and compared against observed human actions over the corresponding time interval. Both humans and inanimate objects (the cart) are detected. Long-term changes (right) are shown for three time instances of the same scene. The earliest instance is at time 0:20 (top right). While the robot is moving through the hallways, a chair is removed and a red cooler is placed on top of the table; these changes are detected as the robot revisits and closes the loop at time 1:52 (bottom right). Lastly, the cooler is removed again, which is detected by the robot at time 3:35.

This project was supported by Amazon, the ARL DCIST program, the ONR RAPID program, and the Swiss National Science Foundation (SNSF) grant No. 214489.

Table of Contents

Credits

Setup

Examples

Contributing

News

  • [10/2025] We've released the ROS2 version of Khronos!
  • [07/2025] We've released several new updates, including Open-set datasets and real-time setups!
  • [07/2024] Khronos won the Outstanding Systems Paper Award at RSS in Delft!

Paper

If you use this code in your work, please cite the following paper:

Lukas Schmid, Marcus Abate, Yun Chang, and Luca Carlone, "Khronos: A Unified Approach for Spatio-Temporal Metric-Semantic SLAM in Dynamic Environments", in Robotics: Science and Systems (RSS), Delft, the Netherlands, July, 2024. [ RSS (opens in a new tab) | ArXiv (opens in a new tab) | Video (opens in a new tab) ]

@inproceedings{Schmid-RSS24-Khronos,
title     = {Khronos: A Unified Approach for Spatio-Temporal Metric-Semantic SLAM in Dynamic Environments},
author    = {Lukas Schmid and Marcus Abate and Yun Chang and Luca Carlone},
booktitle = {Proc. of Robotics: Science and Systems (RSS)},
year      = {2024},
month     = {July},
address   = {Delft, Netherlands}, 
doi       = {10.15607/RSS.2024.XX.081}
}

Video

An overview of Khronos is available on YouTube (opens in a new tab):

(opens in a new tab)

Setup

:warning: Warning

The ROS2 version of Khronos is in active development and is unstable and may not fully be feature-complete.

Khronos has been tested on Ubuntu 24.04 & ROS2 Jazzy. It should build on newer distributions. It will not build on older ROS2 distributions than Iron.

Installation

Setup a ROS2 workspace:

sudo apt install python3-vcstool python3-tk
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src

Install system dependencies:

sudo apt install ros-$ROS_DISTRO-gtsam libgoogle-glog-dev nlohmann-json3-dev

Get Khronos and all source dependencies:

cd ~/ros2_ws/src
git clone git@github.com:MIT-SPARK/Khronos.git khronos
# Use `https.rosinstall` if you do not have ssh key setup with github.com.
vcs import . < khronos/install/ssh.rosinstall

Build:

cd ~/ros2_ws
colcon build --symlink-install --cmake-args -DCMAKE_BUILD_TYPE=Release
Semantic Inference (Optional)

By default, Khronos will use ground-truth semantic labels for simulated datasets or pre-recorded segmentation topics for real datasets. To run Khronos with semantic_inference for closed-set or open-set online segmentation, use semantic_inference (opens in a new tab), which is included in the rosinstall files. Follow the instructions in the README (opens in a new tab) to build the package without TensorRT if necessary. Note that if you do not have TensorRT, you can only use open-set segmentation.

Make sure to source the virtual environment for semantic_inference before running Khronos with the open-set segmentation.

Note that the first time you run semantic_inference, it will download the pre-trained model weights. This may take a while.

Download datasets

Download the simulated datsets used in our paper here (opens in a new tab) under tesse_cd. For the real dataset, download the mezzanine rosbag (with pre-recorded semantic labels) under khronos_real.

The tesse_cd_office dataset is the longer of the two simulated datasets and contains the most changes and dynamic objects.

Note: ROS2 bags are directories, not single files. The downloaded datasets should be extracted to their respective directories.

Examples

Run Khronos

Open uhumans2_khronos.launch.yaml (opens in a new tab) and modify the bag path to the tesse_cd office rosbag directory.

Run the following in commandline:

source ~/ros2_ws/install/setup.bash
ros2 launch khronos_ros uhumans2_khronos.launch.yaml

RVIZ will launch automatically for real-time visualization. You should see the method build an incremental background mesh, detect and segment static and dynamic objects, and generate object nodes. Output will look like this:

Khronos Beginning

Use the right side panel of rviz to toggle different visualization options to see each component of the method, including inpus, object/motion detection, factor graph, scene graph, and backend visuals. Most of these are disabled by default.

At the end of rosbag playback, Khronos will have a fully completed scene reconstruction with objects, dynamics, and changes:

Image: Khronos End (opens in a new tab)

After the rosbag has completed playback and the method is finished, call the following service to guarantee that output is saved before termination:

ros2 service call /khronos_node/experiment/finish_mapping_and_save std_srvs/srv/Empty

You can now terminate Khronos.

To run Khronos with the apartment dataset, change the dataset from tesse_cd_office to tesse_cd_apartment and change the rosbag path accordingly. You can then run the launch file as before.

Run Khronos on Real Data

Download the mezzanine rosbag here (opens in a new tab).

To run Khronos on real data, use the jackal_khronos.launch.yaml file. To use pre-recorded semantic labels, set use_prerecorded_semantics to true:

ros2 launch khronos_ros jackal_khronos.launch.yaml bag_path:=PATH_TO_BAG_DIR use_prerecorded_semantics:=true

Note: The ROS2 version uses ianvs for bag playback. Kimera-VIO is not yet ported to ROS2, so odometry transforms are published from recorded odometry messages via the odom_to_tf.py node.

Your ouptut will look something like this:

Khronos on Real Data

Open-Set Segmentation

To run Khronos with semantic_inference, change the use_gt_semantics parameter in the launch file from true to false. Set use_openset_semantics to true for open-set segmentation.

For example:

ros2 launch khronos_ros uhumans2_khronos.launch.yaml use_gt_semantics:=false use_openset_semantics:=true
Visualize 4D map

To visualize the spatio-temporal map of the scene after running Khronos, run the following in commandline:

ros2 launch khronos_ros 4d_visualizer.launch.yaml

The visualizer will load the map located (by default) in output/tmp (opens in a new tab). If you save the map elsewhere, be sure to modify the path in 4d_visualizer.launch.yaml (opens in a new tab).

Khronos 4D Map

You can play forward or backward, and see Khronos' estimate of the state of the scene at each timestamp, with current or future knowledge. As an example, fix the query time to 0 and play forward on robot time mode to see how Khronos' understanding of the initial state of the scene evolves over time.

Evaluation

For more information on how to perform evaluation, see this readme (opens in a new tab).

Contributing

This is an open-source project and pull requests for features and fixes are very welcome! We follow the Feature-Branch-Workflow (opens in a new tab) and the google C++ style guide (opens in a new tab). To adhere to this, please setup the auto formatter and linter for khronos as follows:

cd ~/ros2_ws/src/khronos
pip install pre-commit
pre-commit install

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