Lune

ICSE2024Top-tier venue

ROSInfer: Statically Inferring Behavioral Component Models for ROS-based Robotics Systems

Tobias Dürschmid, Christopher Steven Timperley, David Garlan, Claire Le Goues

Abstract

Robotics systems are complex, safety-critical systems that can consist of hundreds of software components that interact with each other dynamically during run time. Software components of robotics systems often exhibit reactive, periodic, and state-dependent behavior. Incorrect component composition can lead to unexpected behavior, such as components passively waiting for initiation messages that never arrive. Model-based software analysis is a common technique to identify incorrect behavioral composition by checking desired properties of given behavioral models that are based on component state machines. However, writing state machine models for hundreds of software components manually is a labor-intensive process. This motivates work on automated model inference. In this paper, we present an approach to infer behavioral models for systems based on the Robot Operating System (ROS) using static analysis by exploiting assumptions about the usage of the ROS API and ecosystem. Our approach is based on searching for common behavioral patterns that ROS developers use for implementing reactive, periodic, and state-dependent behavior using the ROS framework API. We evaluate our approach and our tool ROSInfer on five complex real-world ROS systems with a total of 534 components. For this purpose we manually created 155 models of components from the source code to be used as a ground truth and available data set for other researchers. ROSInfer can infer causal triggers for 87 % of component architectural behaviors in the 534 components.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding Misconfigurations in ROS: An Empirical Study and Current Approaches cites Swarmbug: debugging configuration bugs in swarm robotics
  • Understanding Misconfigurations in ROS: An Empirical Study and Current Approaches cites PHYSFRAME: type checking physical frames of reference for robotic systems
  • ROSpec: A Domain-Specific Language for ROS-Based Robot Software cites Understanding Misconfigurations in ROS: An Empirical Study and Current Approaches
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Understanding Misconfigurations in ROS: An Empirical Study and Current ApproachesPaulo Canelas, Bradley R. Schmerl, Alcides Fonseca, Christopher Steven TimperleyISSTA 2024 · 2 citations
  2. ROSpec: A Domain-Specific Language for ROS-Based Robot SoftwarePaulo Canelas, Bradley R. Schmerl, Alcides Fonseca, Christopher Steven TimperleyOOPSLA 2025 · 2 citations

Builds on2

  1. Swarmbug: debugging configuration bugs in swarm roboticsChijung Jung, Ali Ahad, Jinho Jung, Sebastian G. Elbaum et al.FSE 2021 · 20 citations
  2. PHYSFRAME: type checking physical frames of reference for robotic systemsSayali Kate, Michael Chinn, Hongjun Choi, Xiangyu Zhang et al.FSE 2021 · 5 citations

Related papers

  1. ROSCallBaX: Statically Detecting Inconsistencies in Callback Function Setup of Robotic SystemsSayali Kate, Yifei Gao, Shiwei Feng, Xiangyu ZhangFSE 2025 · 2 citations
  2. 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
  3. 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
  4. Response time analysis for dynamic priority scheduling in ROS2Abdullah Al Arafat, Sudharsan Vaidhun, Kurt M. Wilson, Jinghao Sun et al.DAC 2022 · 38 citations
  5. Robust and Accurate Period Inference using Regression-Based TechniquesSerban Vadineanu, Mitra NasriRTSS 2020 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines