ROS 2 Has a Nondeterminism Problem. Two New Papers Want to Fix It.
The middleware that powers most research robots can't guarantee the same input produces the same output. That's a problem when you're shipping AI-controlled machines into the real world.
By
Why does your robot do something different every time you run the same code?
If you've spent any time with ROS 2, you've probably asked yourself this question. Maybe you've blamed the network, or your sensor drivers, or that one callback that seems to fire whenever it feels like it. But the truth is simpler and more uncomfortable: the middleware itself is fundamentally nondeterministic. The order callbacks execute isn't guaranteed. Distributed deployments add more chaos from message interleaving and network latency. Run the same program twice, get different behavior twice.
For research prototypes, this is annoying. For safety-critical deployed systems, it's potentially catastrophic. And now that we're shoving large AI models into the control loop (vision-language-action models, learned policies, the whole Physical AI menagerie), the problem is getting worse, not better.
Two papers dropped on arXiv this week that tackle this head-on, and they're worth reading together because they represent two different philosophies for solving what is essentially the same problem.
The determinism problem
The first paper, from researchers working with Lingua Franca, a coordination language developed at UC Berkeley, presents a framework that can take an unmodified ROS 2 application and run it under their system to guarantee deterministic execution. Same input, same execution order, every time.
The key insight is that ROS 2's publish-subscribe pattern, for all its flexibility, is the source of the chaos. Callbacks get dispatched by executors in whatever order the scheduler decides, and when you distribute across nodes, you're adding network timing jitter on top of that. The Lingua Franca approach uses logical time (a concept that's been around in distributed systems for decades, by the way) to impose order on this mess.
Cobertura relacionada
More in Autonomy
A startup called REO says it will sell a pickup truck for $21,500. The price is striking. The evidence for it is less so.
Aisha Patel · 24 Jun · 9 min
Researchers are patching the 'trajectory scoring gap' in sidewalk robots with VLMs and human attention modeling. The ideas are clever. The caveats are real.
Mark Kowalski · 20 Jun · 6 min
Two new papers tackle one of robotics' most stubborn problems: getting a robot to figure out its location using LiDAR, without needing to have visited the place before.
Sarah Williams · 19 Jun · 5 min
The defense tech startup is moving from drones to full autonomous fighters, and it raises questions about where the line between AI autonomy and human oversight actually sits.

