Skip to main navigation Skip to search Skip to main content

Flexible Zero-Copy IPC for Processing Chains in ROS 2

  • Xiantong Luo
  • , Xu Jiang*
  • , Haochun Liang
  • , Yue Tang
  • , Nan Guan
  • , Wang Yi
  • *Corresponding author for this work

Research output: Journal Publications and ReviewsRGC 21 - Publication in refereed journalpeer-review

Abstract

As ROS 2 becomes increasingly adopted in safety-critical real-time systems, the performance of its communication layer, especially inter-process communication (IPC), has emerged as a key bottleneck. While intra-process communication benefits from zero-copy transmission, IPC suffers from significant latency due to serialization and memory copying. Existing shared memory approaches offer limited support for ROS 2 applications, as they impose strict constraints on message formats (e.g., requiring statically sized, POD-compatible types) and overlook end-to-end communication across multi-stage pipelines. In this work, we propose a novel and flexible architecture for enabling zero-copy IPC in ROS 2. Our design supports dynamically structured and non-POD message types, integrates seamlessly with the existing communication framework, and requires no modification to application logic. It consists of a Mini Memory Management System (MMS) for shared memory handling and a Message Propagation Adapter (MPA) that ensures compatibility with the ROS 2 communication framework. Our experimental results show that our method significantly reduces communication latency and supports efficient end-to-end message propagation.

© 2025 IEEE. All rights reserved, including rights for text and data mining and training of artificial intelligence and similar technologies. Personal use is permitted, but republication/redistribution requires IEEE permission.
Original languageEnglish
Number of pages14
JournalIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
DOIs
Publication statusOnline published - 15 Dec 2025

Funding

This work was supported by the National Natural Science Foundation of China (NSFC) under Grants U24B20145 and 62402095.

Research Keywords

  • Communication Latency
  • Inter-process Communication (IPC)
  • Real-Time
  • ROS 2

Fingerprint

Dive into the research topics of 'Flexible Zero-Copy IPC for Processing Chains in ROS 2'. Together they form a unique fingerprint.

Cite this