Modeling and Verification of ROS 2 Callback Concurrency Using UPPAAL Model Checker
International Journal of Software Engineering and Knowledge Engineering · 15.12.2026 · 36 (15) · 2251-2273
DOI: 10.1142/s0218194026500439 ↗Kurz gefasst
Fachartikel in der Zeitschrift International Journal of Software Engineering and Knowledge Engineering, online erschienen am 30.06.2026. Verfasst von Yong-Jun Shin. Die Arbeit nennt 23 Literaturangaben. Gefördert von: Institute of Information & Communications Technology Planning & Evaluation, Development of Proprietary Physical AI-based Small-scale Computers and Integrated Soft Suits.
Abstract (Originalsprache)
Robot Operating System 2 (ROS 2) has become the de facto standard middleware for developing robotic applications. The execution of ROS 2 applications heavily relies on callback functions, which execute concurrently within a ROS 2 node. The concurrency of these callbacks significantly impacts application behavior, yet its thorough analysis remains challenging due to the complex interaction of multiple system components. To address the need for an exhaustive analysis of ROS 2 callback concurrency behavior, this paper presents a novel and practical approach for modeling and verification using the UPPAAL model checker. We introduce a set of callback concurrency models, incorporating key elements such as callbacks, callback groups, threads, and executors, alongside model checking queries. Furthermore, we present a tool that automates the generation of UPPAAL model code from high-level specifications, offering a streamlined solution for practitioners. To demonstrate the validity and effectiveness of our approach, we model three representative cases of callback concurrency configurations in ROS 2 and verify four notable concurrency behaviors. Our results accurately capture callback concurrency behavior compared to the execution logs of real ROS 2 applications, making the proposed models and queries reusable and extendible for analyzing ROS 2. The verification reports on recent ROS 2 versions also reveal issues such as callback starvation and unfairly overloaded threads, providing valuable insights for developers and practitioners working with ROS 2 in the industry.
Förderung
- Institute of Information & Communications Technology Planning & Evaluation
- Development of Proprietary Physical AI-based Small-scale Computers and Integrated Soft Suits
Zitieren
APA
Shin, Y. (2026). Modeling and Verification of ROS 2 Callback Concurrency Using UPPAAL Model Checker. International Journal of Software Engineering and Knowledge Engineering, 36(15), 2251-2273. https://doi.org/10.1142/s0218194026500439
Vancouver
Shin Y. Modeling and Verification of ROS 2 Callback Concurrency Using UPPAAL Model Checker. International Journal of Software Engineering and Knowledge Engineering. 2026;36(15):2251-2273. doi:10.1142/s0218194026500439
BibTeX
@article{Shin2026,
author = {Shin, Yong-Jun},
title = {Modeling and Verification of ROS 2 Callback Concurrency Using UPPAAL Model Checker},
journal = {International Journal of Software Engineering and Knowledge Engineering},
year = {2026},
volume = {36},
number = {15},
pages = {2251--2273},
doi = {10.1142/s0218194026500439}
}
EUVIMED