ROSCallBaX: Statically Detecting Inconsistencies in Callback Function Setup of Robotic Systems
Year: 2025
Type: article
Abstract: Increasingly popular Robot Operating System (ROS) framework allows building robotic systems by integrating newly developed and/or reused modules, where the modules can use different versions of the framework (e.g., ROS1 or ROS2) and programming language (e.g. C++ or Python). The majority of such robotic systems’ work happens in callbacks. The framework provides various elements for initializing callbacks and for setting up the execution of callbacks. It is the responsibility of developers to compose callbacks and their execution setup elements, and hence can lead to inconsistencies related to the setup of callback execution due to developer’s incomplete knowledge of the semantics of elements in various versions of the framework. Some of these inconsistencies do not throw errors at runtime, making their detection difficult for developers. We propose a static approach to detecting such inconsistencies by extracting a static view of the composition of robotic system’s callbacks and their execution setup, and then checking it against the composition conventions based on the elements’ semantics. We evaluate our ROSCallBaX prototype on the dataset created from the posts on developer forums and ROS projects that are publicly available. The evaluation results show that our approach can detect real inconsistencies.
DOI: 10.1145/3715748
Authors: Sayali Kate, Yifei Gao, Shiwei Feng, Xiangyu Zhang
Institution: Purdue University West Lafayette
Language: English
Subfield: Information Systems
Field: Computer Science
Domain: Physical Sciences
Open Access status: hybrid
Awards: G1089718580, G1448401626, SHF: Small: AI Model Debugging by Analyzing Model Internals with Python Program Analysis, G4168209923, Proto-OKN Theme 1: Knowledge Graph Construction for Resilient, Trustworthy, and Secure Software Supply Chains, G608057831, SLES: Whitebox Testing, Debugging, and Repairing for Multi-module Autonomous Vehicles in Near-Collision Traffic Scenarios, SHF: Medium: Principled Co-Reasoning of Software and Natural-Language Artifacts, G8595151890
OpenAlex ID: W4411450193
