We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Robotics & Automation/ROS2 Real-time Performance Optimization and Evaluation
PeriodicalsRobotics & Automation

ROS2 Real-time Performance Optimization and Evaluation

Checking your access to this record.

Abstract & Overview

Real-time interaction with uncertain and dynamic environments is essential for robotic systems to achieve functions such as visual perception, force interaction, spatial obstacle avoidance, and motion planning. To ensure the reliability and determinism of system execution, a flexible real-time control system architecture and interaction algorithm are required. The ROS framework was designed to improve the reusability of robotic software development by providing a distributed structure, hardware abstraction, message-passing mechanism, and application prototypes. Rich ecosystems for robotic development have been built around ROS1 and ROS2 architectures based on the Linux system. However, because of the fairness scheduling principle of the default Linux system design and the complexity of the kernel, the system does not have real-time computing. To achieve a balance between real-time and non-real-time computing, this paper uses the transmission mechanism of ROS2, combines it with the scheduling mechanism of the Linux operating system, and uses Preempt_RT to enhance the real-time computing of ROS1 and ROS2. The real-time performance evaluation of ROS1 and ROS2 is conducted from multiple perspectives, including throughput, transmission mode, QoS service quality, frequency, number of subscription nodes and EtherCAT master. This paper makes two significant contributions: firstly, it employs Preempt_RT to optimize the native ROS2 system, effectively enhancing the real-time performance of native ROS2 message transmission; secondly, it conducts a comprehensive evaluation of the real-time performance of both native and optimized ROS2 systems. This comparison elucidates the benefits of the optimized ROS2 architecture regarding real-time performance, with results vividly demonstrated through illustrative figures.

Cite this record

Yanlei Ye, Zhenguo Nie, Xin-Jun Liu, Fugui Xie, Zihao Li, Peng Li (2023). ROS2 Real-time Performance Optimization and Evaluation. Chinese Journal of Mechanical Engineering, 36(1), 144. https://doi.org/10.1186/s10033-023-00976-5

Copy in another style

Ye, Y., Nie, Z., Liu, X., Xie, F., Li, Z., & Li, P. (2023). ROS2 Real-time Performance Optimization and Evaluation. Chinese Journal of Mechanical Engineering, 36(1), 144. https://doi.org/10.1186/s10033-023-00976-5
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.