Software architecture for an exploration robot based on Urbi

Jean-Christophe Baillie, Akim Demaille, Guillaume Duceux, David Filliat, Quentin Hocquet, Matthieu Nottale2011

TL;DR

This paper presents the software architecture of an autonomous exploration robot designed for indoor environments, built using the Urbi framework. The system integrates various components for mapping, planning, object recognition, and exploration, enabling the robot to build semantic maps and navigate complex spaces.

What Problem Does This Paper Address?

Developing autonomous robots capable of exploring unknown environments and building meaningful representations of their surroundings is a significant challenge. This paper addresses the problem of integrating diverse software functionalities—such as perception, navigation, and semantic understanding—into a cohesive and robust system. Specifically, the authors tackle the complexity of managing multiple sensors, processing real-time data, and orchestrating complex behaviors for tasks like object recognition and semantic mapping within an indoor setting, as exemplified by the CAROTTE robotics challenge.

Methods

The core of the system's architecture is the Urbi framework, a middleware designed for developing portable robotic applications. Urbi facilitates integration through its UObject architecture, which allows low-level hardware drivers and high-level software components (written in C++ or Java) to communicate seamlessly.

Key Urbi features utilized include:

  • Events: A mechanism for reactive behavior, enabling components to signal and respond to specific conditions (e.g., target reached, obstacle detected). This promotes separation of concerns and simplifies the handling of exceptional situations.
  • Plugged UObjects: Native components wrapped as UObjects, sharing the same address space as the Urbi runtime for maximum efficiency.
  • Remote UObjects: UObjects running on separate computers, connected via TCP or RTP, providing fault isolation and allowing for distributed processing.
  • UVars: Attributes exposed to Urbi, serving as interfaces for data exchange between components. They support transparent serialization of various data types and can trigger notifications upon access.
  • urbiscript: A domain-specific scripting language for orchestrating UObjects, featuring concurrency and event-based programming.

The robot's functionalities are implemented as UObjects:

  • Hardware Access: Components for interfacing with sensors (lasers, sonars, camera) and platform control.
  • 2D Mapping: Utilizes the Karto SDK for 2D SLAM, generating occupancy grid maps.
  • Path Planning: Implements global path planning with obstacle avoidance, also leveraging the Karto library.
  • Servoing: Converts path commands into motor speed commands using a PID controller.
  • Data Logging: Records sensor data and robot states for offline analysis and replay.
  • Object Recognition: Employs a two-step method involving salient region extraction and local feature matching (SURF, color histograms) for object detection and distance estimation.
  • Exploration: Uses a stochastic sampling strategy inspired by the Randomized Art-Gallery Algorithm to find optimal next positions for mapping and object search.
  • Semantic Mapping: Augments the 2D map with 3D structure (point clouds), object positions, and room information, using Kalman filters for object tracking.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Urbi as a Unifying Framework: The paper strongly advocates for Urbi as a powerful middleware that simplifies the integration of diverse software components, enabling rapid development and efficient orchestration of complex robotic systems.
  • Event-Driven Architecture for Robustness: The use of Urbi's event system is highlighted as crucial for managing reactive behaviors and handling failures gracefully, allowing for modularity and easier debugging.
  • Parallelism for Computational Demands: The architecture effectively leverages parallelism by distributing computationally intensive tasks (like object recognition) across multiple processors and computers, managed transparently by Urbi.
  • Semantic Mapping for Richer Understanding: The integration of semantic information (object identities, room structures) into the robot's map moves beyond simple geometric representations, providing a richer understanding of the environment.
  • Failure Protection through Remote UObjects: Running critical components as remote UObjects provides a robust mechanism for fault isolation, preventing a single faulty component from crashing the entire system.

Key Results

The paper demonstrates a functional autonomous exploration robot capable of:

  • Navigating and mapping indoor environments using laser scanners and SLAM.
  • Detecting and recognizing objects within its field of view.
  • Building a semantic map that includes object locations and environmental structure.
  • The system was developed for the CAROTTE challenge, indicating its performance in a competitive robotics scenario.
  • Figure 3 shows an example exploration trajectory and a resulting map, with qualitative results on object detection accuracy (correct, false, and missed detections).

Limitations and Future Work

Limitations:

  • The robot's software components were not optimized for embedded systems, relying on an "oversized" processing power to accommodate research on new solutions.
  • Some C++ components contained errors that led to segmentation faults, necessitating the use of remote UObjects for failure protection.
  • The failure protection mechanism described is primarily effective for stateless UObjects.

Future Work:

  • Further development of Urbi's capabilities, including improved thread management and congestion control for UObjects.
  • Implementing a mechanism for Urbi to automatically detect and relaunch failed components.
  • Enhancing the robot's mechanical structure to handle more challenging terrains (e.g., slopes).
  • Further development of software components for improved mapping of challenging environments (e.g., those with glass or mirrors) and enhanced object recognition through sensor fusion.
  • Exploring more extensive data-flow implementations directly from urbiscript.

Summary updated

Abstract

We present the software architecture of a mobile robot whose goal is to autonomously explore an unknown indoor environment and to build a semantic map containing high-level information. This robot was developed under the Panoramic and Active Camera for Object Mapping (PACOM) project whose goal is to participate in the French exploration and mapping contest CAROTTE. The software architecture puts together a large set of software components that deals with mapping, planning, object recognition and exploration. This architecture is based on the Urbi framework. We present the main functionalities of Urbi that were used for this project and show in detail how these capabilities make it possible to integrate all these modules. 1
BibTeX
@misc{baillie2011software,
  author = {Jean-Christophe Baillie and Akim Demaille and Guillaume Duceux and David Filliat and Quentin Hocquet and Matthieu Nottale},
  title = {{Software architecture for an exploration robot based on Urbi}},
  year = {2011},
}
Figure