Understanding Misconfigurations in ROS: An Empirical Study and Current Approaches
Paulo Canelas, Bradley Schmerl, Alcides Fonseca, Christopher S. Timperley
TL;DR
This study targets misconfigurations in ROS, which arise when components rely on unspoken assumptions about hardware, environment, and interactions. By empirically mining ROS Answers and conducting a literature review, the authors derive a taxonomy of 12 high-level misconfiguration categories and 50 subcategories, and assemble a dataset to guide future work. They find that 27 of the subcategories are not covered by existing techniques, while 23 are partially addressed, highlighting significant gaps in tooling for ROS configurations. The work emphasizes the need for DSL-aware, context-aware, and runtime-enabled analysis to improve the reliability and safety of ROS-based robotic systems, offering concrete directions for future research and tool development.
Abstract
The Robot Operating System (ROS) is a popular framework and ecosystem that allows developers to build robot software systems from reusable, off-the-shelf components. Systems are often built by customizing and connecting components via configuration files. While reusable components theoretically allow rapid prototyping, ensuring proper configuration and connection is challenging, as evidenced by numerous questions on developer forums. Developers must abide to the often unchecked and unstated assumptions of individual components. Failure to do so can result in misconfigurations that are only discovered during field deployment, at which point errors may lead to unpredictable and dangerous behavior. Despite misconfigurations having been studied in the broader context of software engineering, robotics software (and ROS in particular) poses domain-specific challenges with potentially disastrous consequences. To understand and improve the reliability of ROS projects, it is critical to identify the types of misconfigurations faced by developers. To that end, we perform a study of ROS Answers, a Q&A platform, to identify and categorize misconfigurations that occur during ROS development. We then conduct a literature review to assess the coverage of these misconfigurations by existing detection techniques. In total, we find 12 high-level categories and 50 sub-categories of misconfigurations. Of these categories, 27 are not covered by existing techniques. To conclude, we discuss how to tackle those misconfigurations in future work.
