One Behavior, Out of Order: Deterministic Execution and Parallel Simulation of ROS 2 Applications
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.