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.
|Title of host publication||Proceedings of the ACM SIGPLAN International Conference on Generative Programming : Concepts and Experiences|
|Publisher||Association for Computing Machinery|
|Publication status||Published - 2016|
|Event||ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences - Amsterdam, Netherlands|
Duration: 31. Oct 2016 → 1. Nov 2016
|Conference||ACM SIGPLAN International Conference on Generative Programming|
|Period||31/10/2016 → 01/11/2016|