Published September 26, 2026 | Version v1.1.0

rslcpp - ROS Simulation Library for C++

  • 1. Technical University of Munich, Germany; School of Engineering & Design, Department of Mobility Systems Engineering, Institute of Automotive Technology

Description

rslcpp - the ROS simulation library for C++ - lets you turn a set of existing ROS 2 nodes into a deterministic simulation. Instead of the asynchronous, multi-process default execution of ROS 2, rslcpp aggregates all participating nodes in a single process and drives them through a custom executor under an explicit simulation clock. A simulation run therefore produces identical results across machines, CPUs, and architectures. Standard rclcpp::Node classes are supported without any source code changes, either via a small Job interface or by dynamically loading composable nodes from the command line. Simulation time can be decoupled from wall-clock time to run faster or slower than realtime, and an optional delay backend injects deterministic fixed or measured communication delays to model network latency and processing jitter. Typical applications are scientific benchmarking, reinforcement learning environments, system-level debugging, and continuous integration testing.

Notes

If you use this software, please cite it using the metadata from this file.

Files

TUMFTM/rslcpp-v1.1.0.zip

Files (96.8 kB)

Name Size Download all
md5:7e4389571bfd30309339f4415ec8ba66
96.8 kB Preview Download

Additional details

Related works

Is supplement to
Software: https://github.com/TUMFTM/rslcpp/tree/v1.1.0 (URL)

Software