RTAMT -- Runtime Robustness Monitors with Application to CPS and Robotics
Tomoya Yamaguchi, Bardh Hoxha, Dejan Nickovic
TL;DR
The paper tackles scalable runtime verification for CPS and robotics by introducing RTAMT, a tool that computes real-valued robustness of STL specifications at runtime. It presents a modular architecture with a Python front-end and optional C++ back-end, supporting offline and online monitoring in both discrete-time and dense-time interpretations, including bfSTL, pSTL, and IA-STL, with pastification to enable online monitoring. Key contributions include the architectural design, ROS and MATLAB/Simulink integrations, an IA-STL extension with relative robustness and input vacuity, and demonstrations on HSR (ROS) and AECS (Simulink). Results show real-time performance (e.g., online monitoring around 0.5 ms per sample in Python and faster in C++) and practical utility for runtime fault localization and V&V in CPS, motivating further extensions to distributed monitoring and additional specification languages.
Abstract
In this paper, we present Real-Time Analog Monitoring Tool (RTAMT), a tool for quantitative monitoring of Signal Temporal Logic (STL) specifications. The library implements a flexible architecture that supports: (1) various environments connected by an Application Programming Interface (API) in Python, (2) various flavors of temporal logic specification and robustness notion such as STL, including an interface-aware variant that distinguishes between input and output variables, and (3) discrete-time and dense-time interpretation of STL with generation of online and offline monitors. We specifically focus on robotics and Cyber-Physical Systems (CPSs) applications, showing how to integrate RTAMT with (1) the Robot Operating System (ROS) and (2) MATLAB/Simulink environments. We evaluate the tool by demonstrating several use scenarios involving service robotic and avionic applications.
