ROSDiscover: Statically Detecting Run-Time Architecture Misconfigurations in Robotics Systems
Authors:
- 1 March 2022
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 112-123
Abstract
Robot systems are growing in importance and complexity. Ecosystems for robot software, such as the Robot Operating System (ROS), provide libraries of reusable software components that can be configured and composed into larger systems. To support compositionality, ROS uses late binding and architecture configuration via “launch files” that describe how to initialize the components in a system. However, late binding often leads to systems failing silently due to misconfiguration, for example by misrouting or dropping messages entirely.In this paper we present ROSDiscover, which statically recovers the run-time architecture of ROS systems to find such architecture misconfiguration bugs. First, ROSDiscover constructs component level architectural models (ports, parameters) from source code. Second, architecture configuration files are analyzed to compose the system from these component models and derive the connections in the system. Finally, the reconstructed architecture is checked against architectural rules described in first-order logic to identify potential misconfigurations.We present an evaluation of ROSDiscover on real world, off-the-shelf robotic systems, measuring the accuracy, effectiveness, and practicality of our approach. To that end, we collected the first data set of architecture configuration bugs in ROS from popular open-source systems and measure how effective our approach is for detecting configuration bugs in that set.Keywords
This publication has 48 references indexed in Scilit:
- Reverse Engineering Software-Models of Component-Based Systems2008
- Development environments for autonomous mobile robots: A surveyAutonomous Robots, 2006
- The weighted combined algorithm: a linkage algorithm for software clustering2004
- LIMBO: Scalable Clustering of Categorical Data2004
- Automatic clustering of software systems using a genetic algorithm2003
- Recognizers for extracting architectural features from source code2002
- Understanding distributed systems via execution trace data2001
- E-CARES research project: understanding complex legacy telecommunication systems2000
- System partitioning and its measureJournal of Systems and Software, 1981
- A technique for computer detection and correction of spelling errorsCommunications of the ACM, 1964