Skip to main content
QUICK REVIEW

[Paper Review] A Platform-independent Programming Environment for Robot Control

Michael Reckhaus, Nico Hochgeschwender|arXiv (Cornell University)|Oct 5, 2010
Software Testing and Debugging TechniquesComputer Science7 references7 citations
TL;DR

This paper presents a platform-independent, model-driven graphical programming environment for robot control that enables the design of concurrent action sequences through a dependency-graph-like interface. By using domain-specific languages (DSLs) and code generation via XML configuration, the system allows reuse of control logic across diverse robot platforms, demonstrated successfully with a simulated service robot and an educational Lego NXT robot.

ABSTRACT

The development of robot control programs is a complex task. Many robots are different in their electrical and mechanical structure which is also reflected in the software. Specific robot software environments support the program development, but are mainly text-based and usually applied by experts in the field with profound knowledge of the target robot. This paper presents a graphical programming environment which aims to ease the development of robot control programs. In contrast to existing graphical robot programming environments, our approach focuses on the composition of parallel action sequences. The developed environment allows to schedule independent robot actions on parallel execution lines and provides mechanism to avoid side-effects of parallel actions. The developed environment is platform-independent and based on the model-driven paradigm. The feasibility of our approach is shown by the application of the sequencer to a simulated service robot and a robot for educational purpose.

Motivation & Objective

  • Address the complexity and platform-specificity of robot control programming, which hinders code reuse and increases development barriers.
  • Reduce the high entry barrier for robot programming by providing a graphical, intuitive interface for composing parallel robot actions.
  • Enable reuse of robot control logic across different robot platforms through platform-independent modeling.
  • Support concurrent robot actions while preventing unintended side effects, such as sensor interference during parallel execution.
  • Develop a flexible, extensible framework that can be adapted to various robot systems using configurable DSLs and code generation templates.

Proposed method

  • Employ a model-driven software development (FMDD) paradigm to separate platform-independent models (PIMs) from platform-specific implementations (PSMs).
  • Design a graphical sequencer that represents robot actions as nodes in a dependency graph, enabling visual composition of parallel action sequences.
  • Use domain-specific languages (DSLs) to define robot-specific control logic, which are then mapped to target platform code via code generation.
  • Implement an XML-based configuration system to load platform-specific DSLs and code generation settings, enabling platform independence.
  • Integrate the environment with the Eclipse Rich Client Platform (RCP) and Graphical Editing Framework (GEF) for extensible, reusable UI components.
  • Translate the graphical action sequences into low-level code (e.g., NXC for Lego NXT) that can be compiled and deployed on target robots.

Experimental results

Research questions

  • RQ1How can a platform-independent graphical programming environment be designed to simplify the development of concurrent robot control programs?
  • RQ2To what extent can model-driven development principles be applied to robot control to enable reuse across diverse robot platforms?
  • RQ3How can side effects from parallel robot actions—such as sensor interference—be detected and mitigated in a graphical programming environment?
  • RQ4Can a configurable DSL and code generation pipeline effectively support multiple robot platforms without modifying the core control logic?
  • RQ5How effective is the environment in teaching parallel robot programming to students in practical educational settings?

Key findings

  • The proposed environment successfully enables the graphical sequencing of parallel robot actions using a dependency-graph metaphor, significantly simplifying the development of concurrent control logic.
  • The system demonstrated platform independence by generating valid NXC code for a Lego NXT robot and supporting a simulated service robot, with no changes to the control logic.
  • The environment was successfully used in university lectures to teach students how to program parallel behaviors on real robots, proving effective as an educational tool.
  • Side effects from concurrent actions—such as sensor occlusion—were mitigated through careful variable scoping and data flow modeling in the graphical sequencer.
  • The use of configurable DSLs and XML-based code generation templates allowed seamless adaptation of the same control logic to different robot platforms.
  • The model-driven approach enabled full reuse of control programs across different robot systems, fulfilling the goal of platform independence and reducing development overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.