AS2FM: Enabling Statistical Model Checking of ROS 2 Systems for Robust Autonomy
Christian Henkel, Marco Lampacrescia, Michaela Klauck, Matteo Morelli @ IROS 2025
📄 pdf 🔗 doi: 10.48550/arXiv.2508.18820
Abstract
Designing robotic systems to act autonomously in unforeseen environments is a challenging task. This work presents a novel approach to use formal verification, specifically Statistical Model Checking (SMC), to verify system properties of autonomous robots at design-time. We introduce an extension of the SCXML format, designed to model system components including both Robot Operating System 2 (ROS 2) and Behavior Tree (BT) features. Further, we contribute Autonomous Systems to Formal Models (AS2FM), a tool to translate the full system model into JANI. The use of JANI, a standard format for quantitative model checking, enables verification of system properties with off-the-shelf SMC tools. We demonstrate the practical usability of AS2FM both in terms of applicability to real-world autonomous robotic control systems, and in terms of verification runtime scaling. We provide a case study, where we successfully identify problems in a ROS 2-based robotic manipulation use case that is verifiable in less than one second using consumer hardware. Additionally, we compare to the state of the art and demonstrate that our method is more comprehensive in system feature support, and that the verification runtime scales linearly with the size of the model, instead of exponentially.
Links
BibTeX
@misc{henkelAS2FMEnablingStatistical2025,
title = {{{AS2FM}}: {{Enabling Statistical Model Checking}} of {{ROS}} 2 {{Systems}} for {{Robust Autonomy}}},
shorttitle = {{{AS2FM}}},
author = {Henkel, Christian and Lampacrescia, Marco and Klauck, Michaela and Morelli, Matteo},
year = {2025},
number = {arXiv:2508.18820},
eprint = {2508.18820},
primaryclass = {cs},
publisher = {arXiv},
doi = {10.48550/arXiv.2508.18820},
url = {http://arxiv.org/abs/2508.18820},
archiveprefix = {arXiv},
keywords = {Computer Science - Formal Languages and Automata Theory,Computer Science - Robotics}
}