Automatic code generation in practice: experiences with embedded robot controllers

Marian Sorin Adam, Marco Kuhrmann, Ulrik Pagh Schultz

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Mobile robots often use a distributed architecture in which software components are deployed to heterogeneous hardware modules. Ensuring the consistency with the designed architecture is a complex task, notably if functional safety requirements have to be fulfilled. We propose to use a domain-specific language to specify those requirements and to allow for generating a safety-enforcing layer of code, which is deployed to the robot. The paper at hand reports experiences in practically applying code generation to mobile robots. For two cases, we discuss how we addressed challenges, e.g., regarding weaving code generation into proprietary development environments and testing of manually written code. We find that a DSL based on the same conceptual model can be used across different kinds of hardware modules, but a significant adaptation effort is required in practical scenarios involving different kinds of hardware.
Original languageEnglish
Title of host publicationProceedings of the ACM SIGPLAN International Conference on Generative Programming : Concepts and Experiences
PublisherAssociation for Computing Machinery
Publication date2016
Pages104-108
ISBN (Electronic)978-1-4503-4446-3
DOIs
Publication statusPublished - 2016
EventACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences - Amsterdam, Netherlands
Duration: 31. Oct 20161. Nov 2016
http://conf.researchr.org/home/gpce-2016

Conference

ConferenceACM SIGPLAN International Conference on Generative Programming
Country/TerritoryNetherlands
CityAmsterdam
Period31/10/201601/11/2016
Internet address

Cite this