ROSMonitoring in Action: Runtime Monitoring and Enforcement for ROS 2 Actions
Giacomo Paltrinieri (University of Modena, Reggio Emilia), Angelo Ferrando (University of Modena, Reggio Emilia)
Key points
From the paper's conclusion- The results show approximately linear growth in monitoring cost with repeated action invocations under a fixed workload, while larger action workloads and a greater number of configured client–server pairs introduce additional overhead.
Abstract
Robotic applications often rely on long-running operations, such as navigation, manipulation, and inspection, which in ROS~2 are commonly implemented as actions. Unlike topics and services, actions involve a structured lifecycle comprising goal submission and acceptance, feedback, status updates, result retrieval, and cancellation. Existing versions of ROSMonitoring support topics and services, but do not reconstruct this lifecycle or expose action-level events to a runtime-verification oracle. In this paper, we extend ROSMonitoring with runtime monitoring and enforcement for ROS~2 actions. Actions are declared directly in the monitoring configuration and automatically instrumented through the underlying ROS~2 communication endpoints. The generated monitor reconstructs action-level events, correlates them through goal identifiers, maintains the state of active goals, and translates violations into protocol-aware enforcement operations. These include goal rejection, cancellation, message suppression, and protocol-compliant responses generated directly by the monitor when the original communication cannot be forwarded. We evaluate the implementation through controlled stress tests that vary the number of action invocations, workload size, and client–server topology. The results show approximately linear growth in monitoring cost with repeated action invocations under a fixed workload, while larger action workloads and a greater number of configured client–server pairs introduce additional overhead. These results characterise the scaling behaviour of the current implementation under the tested sequential workloads while highlighting the main performance limitations of the current synchronous implementation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- One Monitor Does Not Fit All: Formalism-Agnostic Runtime Verification for Agentic AIarXiv · 2026
- Runtime Control for AI Agents: Closing the Evaluation--Execution Gap in Operational WorkflowsarXiv · 2026
- RESCUE: Is This Alarm Worth Acting On? Counterfactual Evaluation of VLA Runtime MonitorsarXiv · 2026
- guardscope: Measuring Which Actions Runtime Controls Check in LLM Agent SystemsarXiv · 2026
- SafeInferCom: Safe Inference-Time Compute via Verifier-Guided Mid-Generation Intervention for Robotic Task PlanningarXiv · 2026
- A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper)Proceedings of the ACM on Software Engineering · 2026