ROS 2 Agnocast: Supporting Unsized Message Types for True Zero-Copy Publish/Subscribe IPC
Takahiro Ishikawa-Aso, Shinpei Kato

TL;DR
Agnocast is a zero-copy IPC framework for ROS 2 that supports all message types, including unsized ones, enabling efficient real-time communication with minimal code modifications.
Contribution
It introduces Agnocast, the first zero-copy IPC solution for ROS 2 that supports unsized message types and allows selective zero-copy communication.
Findings
Maintains constant IPC overhead regardless of message size.
Achieves 16% faster average response time in Autoware.
Achieves 25% faster worst-case response time in Autoware.
Abstract
Robot applications, comprising independent components that mutually publish/subscribe messages, are built on inter-process communication (IPC) middleware such as Robot Operating System 2 (ROS 2). In large-scale ROS 2 systems like autonomous driving platforms, true zero-copy communication -- eliminating serialization and deserialization -- is crucial for efficiency and real-time performance. However, existing true zero-copy middleware solutions lack widespread adoption as they fail to meet three essential requirements: 1) Support for all ROS 2 message types including unsized ones; 2) Minimal modifications to existing application code; 3) Selective implementation of zero-copy communication between specific nodes while maintaining conventional communication mechanisms for other inter-node communications including inter-host node communications. This first requirement is critical, as…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsRobotics and Automated Systems · Real-Time Systems Scheduling · Robotics and Sensor-Based Localization
