← All projects
Project record1 mention
Originally shared on Hacker News

Cerulion

Cerulion is a ROS2-compatible robotics runtime written in Rust that lowers IPC transport latencies without single-process tradeoffs or forcing POD message types. It uses iceoryx2 shared memory for zero-copy multi-process messaging, records per-input reads and scheduler traces in standard MCAP bags for deterministic re-simulation and byte-level verification, and runs existing ROS 2 nodes/launch files unmodified alongside native Cerulion Rust/Python code.

Last shared For Developers running ROS 2 on real robots
01 / The problem

What it addresses

ROS-based robot stacks suffer inter-process latency, loaned messages require POD types that exclude standard Image/PointCloud2 messages, hot paths get consolidated into brittle single processes that make debugging painful, and runtime failures produce heisenbugs that cannot be deterministically reproduced.

02 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Cerulion

    Cerulion is a ROS2-compatible robotics runtime written in Rust that lowers IPC transport latencies without single-process tradeoffs or forcing POD message types. It uses iceoryx2 shared memory for zero-copy multi-process messaging, records per-input reads and scheduler traces in standard MCAP bags for deterministic re-simulation and byte-level verification, and runs existing ROS 2 nodes/launch files unmodified alongside native Cerulion Rust/Python code.

    Problem: ROS-based robot stacks suffer inter-process latency, loaned messages require POD types that exclude standard Image/PointCloud2 messages, hot paths get consolidated into brittle single processes that make debugging painful, and runtime failures produce heisenbugs that cannot be deterministically reproduced.

    Audience: Developers running ROS 2 on real robots

    Posted by @lakshays · Original source ↗

    Story title · @lakshays · · Source ↗

    Show HN: Cerulion – ROS 2-compatible robotics runtime with multi-process replay

    Submitted URL · @lakshays · · Source ↗

    https://github.com/cerulion-inc/cerulion

    Source text · @lakshays · · Source ↗

    Raveen and I have built Cerulion, a ROS2-compatible robotics runtime written in Rust. We've worked hard on lowering IPC transport latencies without making the single process tradeoff or forcing POD message types.

    Source text · @lakshays · · Source ↗

    These fast multi-process graphs can then be resimmed deterministically, and existing ROS2 nodes/launch files can run unmodified alongside native Cerulion Rust/Python code.

    Source text · @lakshays · · Source ↗

    Cerulion bags record per-input reads and scheduler traces alongside message content in standard MCAPs. cerulion bag play --resim all --verify re-executes node code on the recorded schedule and compares each byte for exact matches or within defined tolerances.

    Source text · @lakshays · · Source ↗

    Move: iceoryx2 shared memory with no serialization, no payload copy and no payload-sized allocation, including for variable-length messages like sensor_msgs/Image and PointCloud2.

    Source text · @lakshays · · Source ↗

    I worked on off-road autonomy during my PhD at MIT, and we kept running into inter-process latency in ROS (2 lidars and 6 cameras). Loaned messages need POD types, which nukes standard, vendor-agnostic Image/PointCloud2. We ended up running some hot paths in a brittle single process, which made debugging a nightmare.

    Source text · @lakshays · · Source ↗

    I'm sure you've seen the heisenbugs ROS-based stacks can produce, with no way to easily reproduce the consumption order or interleaving of callbacks. Valuable data of runtime failures on the robot was hard to use effectively without deterministic reproducibility.

    Source text · @lakshays · · Source ↗

    If you run ROS 2 on a real robot, point this at your stack and tell us what breaks.

    Source text · @lakshays · · Source ↗

    Docs: https://docs.cerulion.com

    Source text · @lakshays · · Source ↗

    Site: https://cerulion.com