@inproceedings{6fc2e7abfc994670bede50f3dd300460,
title = "TZC: Efficient Inter-Process Communication for Robotics Middleware with Partial Serialization",
abstract = "Inter-process communication (IPC) is one of the core functions of modern robotics middleware. We propose an efficient IPC technique called TZC (Towards Zero-Copy). As a core component of TZC, we design a novel algorithm called partial serialization. Our formulation can generate messages that can be divided into two parts. During message transmission, one part is transmitted through a socket and the other part uses shared memory. The part within shared memory is never copied or serialized during its lifetime. We have integrated TZC with ROS and ROS2 and find that TZC can be easily combined with current open-source platforms. By using TZC, the overhead of IPC remains constant when the message size grows. In particular, when the message size is 4MB (less than the size of a full HD image), TZC can reduce the overhead of ROS IPC from tens of milliseconds to hundreds of microseconds and can reduce the overhead of ROS2 IPC from hundreds of milliseconds to less than 1 millisecond. We also demonstrate the benefits of TZC by integrating it with TurtleBot2 to be used in autonomous driving scenarios. We show that by using TZC, the braking distance can be 16% shorter than with ROS.",
author = "Wang, {Yu Ping} and Wende Tan and Hu, {Xu Qiang} and DInesh Manocha and Hu, {Shi Min}",
note = "Publisher Copyright: {\textcopyright} 2019 IEEE.; 2019 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2019 ; Conference date: 03-11-2019 Through 08-11-2019",
year = "2019",
month = nov,
doi = "10.1109/IROS40897.2019.8968462",
language = "English",
series = "IEEE International Conference on Intelligent Robots and Systems",
publisher = "Institute of Electrical and Electronics Engineers Inc.",
pages = "7805--7812",
booktitle = "2019 IEEE/RSJ International Conference on Intelligent Robots and Systems, IROS 2019",
address = "United States",
}