Generic middleware support for coordinating robot software components: The Task-State-Pattern
2011 (English)In: Journal of Software Engineering for Robotics, ISSN 2035-3928, Vol. 2, no 1, 20-39 p.Article in journal (Refereed) Published
Robot software systems are (again) reaching levels of size and complexity that makes them difficult to construct, evolve, and maintain. One current issue is that systems are increasingly built to perform many different tasks in parallel, each of which must be coordinated and monitored to achieve a goal. If all components were to require different interfaces, system complexity would rapidly grow. General interfaces partially exist on the conceptual level, but their implementations are typically strongly linked to particular architectural proposals, thus reducing re-use and comparability. This paper presents an architecture-agnostic design pattern for the coordination-related component interaction. It results in a simple and clean component interface to invoke specific functionality, monitor task progress, and update the goals of running tasks. It provides an abstract coordination interface with high observability for the development of coordination and architecture. It thus provides value to all stakeholders in the design and implementation of robot software systems: component developers, coordination developers, and system architects. We trace the convergence of concepts and approaches from early coordination systems and through various abstraction proposals. Recently, two very similar realizations were developed independently by the authors. This paper presents the underlying insights and practical experience as a generic software engineering method which we named the Task-State-Pattern. We describe the functionality it provides to component developers and detail the technical steps necessary to implement it in a distributed event-based toolkit for specific application domains. We provide empirical evidence for the relevance and utility of our approach by presenting case studies and discussing how the proposed pattern leads to a flexible system structure with reduced integration effort.
Place, publisher, year, edition, pages
Bergamo, Italy: The University of Bergamo , 2011. Vol. 2, no 1, 20-39 p.
coordination, software architecture, design pattern, event-based systems, component-based software, robotics
Computer Vision and Robotics (Autonomous Systems)
IdentifiersURN: urn:nbn:se:hh:diva-16727OAI: oai:DiVA.org:hh-16727DiVA: diva2:464818