A Multi-Layer Distributed Development Environment for Mobile Robotics

Gregory Dudek, Michael Jenkin1993

Abstract

Mobile robotic devices combining sensors, actuators, and computers are unique, complex devices which may be difficult to model from an abstract point of view. This paper presents a software development system which builds an abstraction of a robotic environment. This abstraction allows external software to interact with either a simulated robot and environment or to a real robot complete with sensors. The implementation is distributed across a network, and allows software to run on remote hardware thus taking advantage of any specialized hardware available on the network.

Introduction

In the early 1990s, robotics development was frequently hindered by "integration hell." Hardware platforms were often designed for engineering convenience rather than ease of use; for instance, motor controllers might operate in raw encoder counts, and sonar sensors might return raw clock ticks instead of distance measurements. This created significant bottlenecks, including tight coupling between software and specific hardware, resource scarcity due to the fragility of physical robots, and safety risks when testing unproven algorithms on physical hardware.

The Robot Daemon Architecture

To address these challenges, the authors proposed a "Robot Daemon"—a software middleware that abstracts low-level hardware interactions into a unified stream. The system employs a three-layer functional design:

  1. Graphical User Interface (GUI): An X-windows environment for manual control, environment editing, and real-time visualization of sensor data (such as sonar returns).
  2. Command-Line Interface: A middle layer providing semantic primitives (e.g., "plan a path to location X while avoiding obstacles") for interactive programming.
  3. High-Level Control Layer: Stand-alone applications written in languages like C or LISP that communicate with the daemon via UNIX internet sockets.

The primary innovation is the transparency of this communication. The daemon provides data in a consistent format regardless of whether the source is a physical RWI B-12 robot or a simulated environment. This allows for a "thin-wire" communication model, enabling the robot's computational workload to be distributed across a network—for example, offloading heavy neural network processing to a high-performance workstation while the daemon runs on a local machine.

Simulation and Real-World Integration

The system treats simulation as a "first-class citizen." Researchers can switch between a physical robot and a simulated one instantly and invisibly. The simulation includes sophisticated models, such as a 2D time-of-flight sonar simulation that accounts for diffraction, side-lobe scatter, and multi-bounce specular effects. This capability allows for a unique debugging workflow: if a robot exhibits unexpected behavior, the operator can switch to simulation to determine if the issue is algorithmic or a hardware failure.

Key Insights and Results

The distributed nature of the system is managed through a semaphore-like locking mechanism to ensure atomic execution of command sequences, preventing network latency from causing inconsistent robot states or "half-finished" commands.

Key results from the implementation include:

  • Portability: High-level modules became hardware-independent and could run on any networked machine.
  • Robustness: The daemon-based approach improved system stability; if a high-level task crashed, the daemon remained active and could recover control by timing out exclusive locks.
  • Educational Value: The multi-layered design lowered the barrier to entry, allowing students to progress from simple GUI interactions to complex programmatic control.

Limitations and Future Work

Despite its successes, the system faced constraints typical of its era. Bandwidth limitations of internet sockets made high-frequency data (like video) difficult to handle due to data-dependent delays. Additionally, while the simulation was precise, it could not fully account for the proprioceptive errors and integration drift inherent in physical hardware, a gap the authors acknowledged as a continuing challenge.

Conclusion

This architecture represents a significant step toward modern robotics frameworks like ROS. By prioritizing abstraction and distributed computing, the system provided a robust environment for developing and testing complex robotic behaviors in both simulated and real-world settings.

Summary updated

BibTeX
@misc{dudek1993multi,
  author = {Gregory Dudek and Michael Jenkin},
  title = {{A Multi-Layer Distributed Development Environment for Mobile Robotics}},
  year = {1993},
}
Figure