Worst-Case Time Disparity Analysis of Message Synchronization in ROS
Ruoxiang Li, Nan Guan, Xu Jiang, Zhishan Guo, Zheng Dong, Mingsong Lv
Abstract
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 2022 IEEE Real-Time Systems Symposium (RTSS)
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 3d61efab-05bd-4dde-8607-3d00155b024aCited by top-tier papers3
- Worst-Case Latency Analysis of Message Synchronization in ROSRuoxiang Li, Xu Jiang, Zheng Dong, Jen-Ming Wu et al.RTSS 2023 · 10 citations
- : On-Device Real-Time Deep Reinforcement Learning for Autonomous RoboticsZexin Li, Aritra Samanta, Yufei Li, Andrea Soltoggio et al.RTSS 2023 · 9 citations
- RED: A Systematic Real-Time Scheduling Approach for Robotic Environmental DynamicsZexin Li, Tao Ren, Xiaoxi He, Cong LiuRTSS 2023 · 8 citations
Builds on2
- Response Time Analysis and Priority Assignment of Processing Chains on ROS2 ExecutorsYue Tang, Zhiwei Feng, Nan Guan, Xu Jiang et al.RTSS 2020 · 81 citations
- A ROS 2 Response-Time Analysis Exploiting Starvation Freedom and Execution-Time VarianceTobias Blaß, Daniel Casini, Sergey Bozhko, Björn B. BrandenburgRTSS 2021 · 64 citations
Related papers
- SEAM: An Optimal Message Synchronizer in ROS with Well-Bounded Time DisparityJinghao Sun, Tianyi Wang, Yang Li, Nan Guan et al.RTSS 2023 · 8 citations
- End-To-End Timing Analysis in ROS2Harun Teper, Mario Günzel, Niklas Ueter, Georg von der Brüggen et al.RTSS 2022 · 56 citations
- Response time analysis for dynamic priority scheduling in ROS2Abdullah Al Arafat, Sudharsan Vaidhun, Kurt M. Wilson, Jinghao Sun et al.DAC 2022 · 38 citations
- Modeling and Analysis of Inter-Process Communication Delay in ROS 2Xiantong Luo, Xu Jiang, Nan Guan, Haochun Liang et al.RTSS 2023 · 10 citations
- Real-Time Scheduling and Analysis of Processing Chains on Multi-threaded Executor in ROS 2Xu Jiang, Dong Ji, Nan Guan, Ruoxiang Li et al.RTSS 2022 · 39 citations
