跳到主要导航 跳到搜索 跳到主要内容

Flexible Zero-Copy IPC for Processing Chains in ROS 2

  • Xiantong Luo
  • , Xu Jiang*
  • , Haochun Liang
  • , Yue Tang
  • , Nan Guan
  • , Wang Yi
  • *此作品的通讯作者
  • University of Electronic Science and Technology of China
  • Northeastern University China
  • City University of Hong Kong
  • Uppsala University

科研成果: 期刊稿件文章同行评审

摘要

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.

指纹

探究 'Flexible Zero-Copy IPC for Processing Chains in ROS 2' 的科研主题。它们共同构成独一无二的指纹。

引用此