Worst-Case Time Disparity Analysis of Message Synchronization in ROS

被引:8
作者
Li, Ruoxiang [1 ]
Guan, Nan [1 ]
Jiang, Xu [2 ]
Guo, Zhishan [3 ]
Dong, Zheng [4 ]
Lv, Mingsong [2 ]
机构
[1] City Univ Hong Kong, Hong Kong, Peoples R China
[2] Northeastern Univ, Boston, MA 02115 USA
[3] North Carolina State Univ, Raleigh, NC USA
[4] Wayne State Univ, Detroit, MI 48202 USA
来源
2022 IEEE 43RD REAL-TIME SYSTEMS SYMPOSIUM (RTSS 2022) | 2022年
基金
中国国家自然科学基金;
关键词
D O I
10.1109/RTSS55097.2022.00014
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Multi-sensor data fusion is essential in autonomous systems to support accurate perception and intelligent decisions. To perform meaningful data fusion, input data from different sensors must be sampled at time points in close propinquity to each other, otherwise the result cannot accurately reflect the status of the physical environment. ROS (Robotic Operating System), a popular software framework for autonomous systems, provides message synchronization mechanisms to address the above problem, by buffering messages carrying data from different sensors and grouping those with similar timestamps. Although message synchronization is widely used in applications developed based on ROS, little knowledge is known about its actual behavior and performance, so it is hard to guarantee the quality of data fusion. In this paper, we model the message synchronization policy in ROS and formally analyze its worst-case time disparity (maximal difference among the timestamps of the messages grouped into the same output set). We conduct experiments to evaluate the precision of the proposed time disparity upper bound against the maximal observed time disparity in real execution, and compare it with the synchronization policy in Apollo Cyber RT, another popular software framework for autonomous driving systems. Experiment results show that our analysis has good precision and ROS outperforms Apollo Cyber RT in terms of both observed worst-case time disparity and the theoretical bound.
引用
收藏
页码:40 / 52
页数:13
相关论文
共 34 条
[1]  
[Anonymous], ROS Introduction
[2]  
[Anonymous], 2010, ISER
[3]  
Bedard C, 2022, Arxiv, DOI [arXiv:2201.00393, 10.1109/LRA.2022.3174346, DOI 10.1109/LRA.2022.3174346]
[4]  
Blass T., 2021, RTSS, P41
[5]   Automatic Latency Management for ROS 2: Benefits, Challenges, and Open Problems [J].
Blass, Tobias ;
Hamann, Arne ;
Lange, Ralph ;
Ziegenbein, Dirk ;
Brandenburg, Bjoern B. .
2021 IEEE 27TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2021), 2021, :264-277
[6]  
Casini D., 2019, LEIBNIZ INT P INFORM, P1
[7]   PiCAS: New Design of Priority-Driven Chain-Aware Scheduling for ROS2 [J].
Choi, Hyunjong ;
Xiang, Yecheng ;
Kim, Hyoseung .
2021 IEEE 27TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2021), 2021, :251-263
[8]  
cyber, APOLLO CYBER RT
[9]  
Devi UC, 2005, REAL TIM SYST SYMP P, P330
[10]   Timing Analysis of Asynchronized Distributed Cause-Effect Chains [J].
Gunzel, Mario ;
Chen, Kuan-Hsun ;
Ueter, Niklas ;
von der Brueggen, Georg ;
Duerr, Marco ;
Chen, Jian-Jia .
2021 IEEE 27TH REAL-TIME AND EMBEDDED TECHNOLOGY AND APPLICATIONS SYMPOSIUM (RTAS 2021), 2021, :40-52