frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

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

https://github.com/cerulion-inc/cerulion
5•lakshays•3h ago
Hey HN! I'm Lakshay. 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. 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. Installation and quickstart (with a one-shot prompt for your favorite coding agent) here at the repo README: https://github.com/cerulion-inc/cerulion

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. 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.

This is what we fix. 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. Exit 0 is a match, 1 shows the first topic/frame that diverges, 6 shows schedule divergence and --report gives an optional CI verdict. Eligible ROS2 processes can replay deterministically as well.

Here's the data loop:

1. Run: Dependency-ordered level-based DAG scheduler with periodic/data/sync triggers, I/O deadlines, backpressure, and automatic profiling for process partitioning. Each node by default free-runs in its own process while preserving deterministic replay. Live runs pause/resume, and UMWAIT/WFE parks idle consumers on CPUs that support it. Wall-clock reads and runtime thread spawns in user code rejected at compile time by macros.

ROS 2 is supported with rmw_cerulion for Foxy, Humble, Jazzy and Lyrical, that lets you run ROS2 nodes/launch files unmodified in the same graph as native Cerulion nodes. LD_PRELOAD gives ROS2 code shared memory loans through std::vector/std::string. cerulion ros2 attach folds in already-running ROS2 robots, and cerulion ros2 run/launch lets you run existing ROS2 workspaces on Cerulion without any additional setup (with an optional automatic migrate suggested that rewrites C++ publish sites).

2. 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. Round trip latency for a 1MiB sensor_msgs/Image between two processes is 4.08µs p50, with a tight tail of 7.38µs p99 (under 2x p50), with recording on. This is default Cerulion, against 10.95 ms for default ROS 2 Jazzy. Cerulion's p50 and p99 stay flat from 64B to 16 MiB.

3. Capture: With this round-trip latency, there are no tradeoffs, not for process isolation and not for bagging. We can afford always-on or event-based logging. Flashback is our robot dashcam: keeps ~30s of all logs and message contents in memory and saves it automatically on process crashes, topic stalls or declared incidents/manual triggers.

4. Reach: A free account lets you pair robots and desks, letting all your devices find each other with no config, IP addresses or discovery chatter. Pubsub is authenticated and on-demand, with signed grants that the robot verifies offline. We use Iroh to hole-punch or relay over WAN, and mDNS over LAN to transmit data using QUIC. Remote topics mirror into local shared memory, and each device has a single network gateway.

5. Diagnose: cerulion doctor scans for compile/run-time issues (better than Windows Troubleshooter I promise) and suggests fixes. Hindsight is an early access MCP to let agents analyze your bags.

To get started: go to the repo, install Cerulion with the curl one-liner, and paste the prompt in Claude Code/Codex: https://github.com/cerulion-inc/cerulion#quickstart-run-reco.... Or shift your own gears, it's all in the repo that you should star!

The CLI needs a free account, which we use to make device pairing as easy as AirDrop USED to be ;) Everything runs on Linux (x86_64/ARM64), macOS and Android (JNI), with more platforms coming.

We'd love to hear your feedback! If you run ROS 2 on a real robot, point this at your stack and tell us what breaks.

Docs: https://docs.cerulion.com

Site: https://cerulion.com

Show HN: My $300 embroidery machine needed a subscription, so I built my own app

https://github.com/simpsoka/zigzag
287•simpsoka•7h ago•123 comments

Show HN: Kapso – Iterative learning from enterprise data

37•alirezamshi•6h ago•9 comments

Show HN: AgentRun – open-source, Self-improving Managed Agents

https://github.com/Parcha-ai/agentrun/blob/main/README.md
73•miguelrios•6h ago•12 comments

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

https://github.com/cerulion-inc/cerulion
5•lakshays•3h ago•0 comments

Show HN: Apron Chat Protocol

https://apron.chat/
25•shazow•7h ago•0 comments

Show HN: ActiveDNS, a free DNS search service

https://activedns.net/
2•elnerd•1h ago•0 comments

Show HN: Animate4Me – The first prompt-to-Spine 2D animation tool

https://animate4me.com/
2•AxiDev•1h ago•0 comments

Show HN: Build a PC in 3D in the Browser

https://www.buildcores.com
50•ozaiworld•4d ago•20 comments

Show HN: Neon and Mubit: an agent that cuts its own frontier-model tokens by 73%

https://neon.com/blog/mubit-neon-ai-gateway
3•aperi•2h ago•0 comments

Show HN: DRS-VPT. Localize a photo in a 3D point cloud without an initial pose

https://github.com/ori-drs/drs-vpt
9•seasponge•5h ago•0 comments

Show HN: Yogurt – Free, private, open-source alternative to Granola

https://github.com/FrigadeHQ/yogurt
285•brownrout•1d ago•111 comments

Show HN: RealtimeVAD – trading false positives for 110ms earlier end-of-speech

https://github.com/KoljaB/RealtimeVAD
5•koljab•2h ago•0 comments

Show HN: I built a calendar app that gives each event its own to-do list

https://apps.apple.com/ph/app/daily-planner-tasks-zesfy/id6479947874
10•whereinside•8h ago•1 comments

Show HN: Kiln – A WebGPU alternative to transformers.js, 2.2× faster (median)

https://github.com/erdemozkan/kiln
4•serdemozkan•3h ago•0 comments

Show HN: Telltale Bot, detecting agentic web traffic

https://telltale.bot
3•jhpacker•3h ago•0 comments

Show HN: AI Red Lines – write down what would make you act on AI

https://yourairedlines.com
31•ap11071•9h ago•28 comments

Show HN: Aircad – Professional drafting and 3D modeling in the browser

https://aircad.com
86•peetle•2d ago•41 comments

Show HN: I recreated Papers Please but you're deciding which YC startups to fund

https://termsheetplease.com/
238•bolau•1d ago•94 comments

Show HN: Fable52.games – Play and inspect Fable 5.2 single-file HTML games

https://fable52.games
61•felixne•8h ago•54 comments

Show HN: Incremendle, a new number-go-up game every day

https://incremendle.com/
3•nickdirienzo•5h ago•0 comments

Show HN: Black Ops II statically recompiled to native ARM64 macOS

https://github.com/adrbn/bo2-mac
148•adrbn•1d ago•65 comments

Show HN: Godbolt-in-a-floating-window for Neovim (C, C++, Rust)

https://github.com/0xdeadf1sh/AssemblyForNeovim
104•0xdeadf1sh•1d ago•20 comments

Show HN: Valencia, Spain in Sim City/Isometric View

https://tinyvalencia.com/
250•leugim•2d ago•62 comments

Show HN: Tatane, a 2-player card game where you build hands on a shared grid

https://playtatane.com/
3•dezmou•6h ago•1 comments

Show HN: Klad, a paint app your coding agent can drive (source-available)

https://github.com/klad-app/klad
83•ambewas•1d ago•32 comments

Show HN: Rain Mail Multi Domain Temporary Email

https://rainmail.xyz/
2•BadBoyBubby•7h ago•0 comments

Show HN: Mela Tycoon

https://mela-tycoon.darshanpania.me/
4•darshanpania•7h ago•0 comments

Show HN: Micron – Oberon with the Power of C

https://github.com/rochus-keller/Micron
65•Rochus•4d ago•23 comments

Show HN: Every satellite that passed over any place this week, and its photos

https://www.watched.earth
485•a585gupt•3d ago•84 comments

Show HN: Flight Itinerary – plan multi-stop flight trips on a map

https://flightitinerary.app/
3•WebSpyder•8h ago•0 comments