One Behavior, Out of Order: Deterministic Execution and Parallel Simulation of ROS 2 Applications

Chengzi Huang、Behnam Khodabandeloo、Duc Anh Nguyen、Chuanchao Gao、Wang Yi · arXiv:2611.26676 · 2026-11-19 · cs.RO

论文自动收录 · 未精读PDF ↗arXiv 原文 ↗
壹摘要

System-level simulation is widely used to validate robotic applications before hardware deployment. However, Robot Operating System 2 (ROS 2), a popular middleware for such applications, uses asynchronous publish-subscribe communication, which can make application behavior depend on scheduling and the platform. The behavior can then vary across runs and machines even with the same inputs. This nondeterminism makes faults hard to reproduce and tests unreliable. In this paper, we first give ROS 2 applications a lightweight coordination scheme in which every component, including event-driven ones, reads its inputs and writes its outputs at predefined time instants. By decoupling computation and communication, the scheme makes an application deterministic, that is, it always has one behavior for given inputs. Tests are thus repeatable, but for large applications they still take a long time.…

English abstract

System-level simulation is widely used to validate robotic applications before hardware deployment. However, Robot Operating System 2 (ROS 2), a popular middleware for such applications, uses asynchronous publish-subscribe communication, which can make application behavior depend on scheduling and the platform. The behavior can then vary across runs and machines even with the same inputs. This nondeterminism makes faults hard to reproduce and tests unreliable. In this paper, we first give ROS 2 applications a lightweight coordination scheme in which every component, including event-driven ones, reads its inputs and writes its outputs at predefined time instants. By decoupling computation and communication, the scheme makes an application deterministic, that is, it always has one behavior for given inputs. Tests are thus repeatable, but for large applications they still take a long time.…

贰引用
Chengzi Huang、Behnam Khodabandeloo、Duc Anh Nguyen 等 5 人. One Behavior, Out of Order: Deterministic Execution and Parallel Simulation of ROS 2 Applications. arXiv:2611.26676 (2026-11-19). https://arxiv.org/abs/2611.26676v1
叁同分类新篇