An ROS-based Shared Communication Middleware for Plug & Play Modular Intelligent Design of Smart Systems

Tathagata Chakraborti, Siddharth Srivastava, Alessandro Pinto, Subbarao KambhampatiarXiv 2017

Abstract

Modern smart environments, such as smart offices and homes, often rely on rigid, centralized architectures that require manual reconfiguration when hardware changes or fails. This paper proposes a framework built on the Robot Operating System (ROS) that enables "semantic plug-and-play" functionality. By utilizing a multi-agent architecture and automated planning, the system can dynamically integrate heterogeneous devices, reason about environmental states, and autonomously recover from hardware failures by re-routing tasks to available assets.

Introduction

The development of truly "smart" systems requires moving beyond simple "if-this-then-that" logic toward high-level reasoning and autonomy. Current architectures are typically limited by their inability to adapt to dynamic environments. When a sensor is added or a device malfunctions, these systems often fail or require manual logic updates. The authors address this challenge by introducing a middleware that facilitates dynamic integration and autonomy, allowing a system to understand its own capabilities and achieve long-term goals through automated planning.

Proposed Architecture

The framework is built upon a multi-agent architecture using ROS as the communication backbone. A key innovation is the use of abstraction layers to bridge the gap between high-level reasoning and diverse hardware components.

The layered architecture of the proposed ROS-based middleware, showing the abstraction from agent classes to the shared communication substrate.

The architecture consists of several critical layers:

  1. Shared Communication Substrate: A central ROS-based layer facilitating all inter-agent communication.
  2. Communication Agents (CA): These serve as wrappers for hardware, translating device-specific data into abstract message classes based on the FIPA-ACL standard. This allows the system to treat a simple thermometer and a complex mobile robot as generic "capability providers."
  3. Reasoning Engine: A suite of specialized agents including a Domain Maintainer (which tracks system capabilities in PDDL), a Plan Requester, a Planner (using solvers like Fast-Downward), and a Plan Executor.

Operational Flow and Resilience

The system's intelligence is demonstrated through its ability to handle complex task sequences and recover from failures without human intervention. The Domain Maintainer continuously monitors "heartbeats" from all active devices. If a device stops communicating, the system automatically updates its internal model of the world.

Sequence diagram showing the interaction between agents during goal formulation, plan execution, and autonomous recovery after a sensor failure.

As shown in the sequence diagram, when a user requests a goal (e.g., "monitor temperature in Room B"), the Planner generates a sequence of actions. If a stationary sensor in that room fails (indicated by a failed heartbeat at $t_7$), the system detects the loss of capability and triggers a re-planning phase. In the authors' testbed, this resulted in the autonomous dispatch of a TurtleBot mobile robot to the affected area to fulfill the original data request.

Experimental Evaluation

The framework was validated using a custom Smart Office Testbed consisting of two office rooms and a conference room. The environment was equipped with stationary sensors (temperature, humidity, CO2, motion), PTZ cameras, and a TurtleBot. The experiments confirmed that the system could successfully deploy mobile assets to cover gaps in stationary sensing and maintain operational continuity despite simulated hardware failures.

Conclusion and Future Work

The ROS-based middleware successfully demonstrates semantic plug-and-play capabilities, providing a resilient and extensible foundation for smart systems. While the current implementation proves the viability of the approach, future work will address scalability concerns related to the ROS master bottleneck and explore more sophisticated decentralized auctioning algorithms for complex multi-robot coordination. Additionally, incorporating security protocols for the plug-and-play environment remains a priority for real-world deployment.

Summary updated

BibTeX
@misc{chakraborti2017ros,
  author = {Tathagata Chakraborti and Siddharth Srivastava and Alessandro Pinto and Subbarao Kambhampati},
  title = {{An ROS-based Shared Communication Middleware for Plug \& Play Modular Intelligent Design of Smart Systems}},
  year = {2017},
  eprint = {1706.01133},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.01133},
}
Figure