Verified ROS-Based Deployment of Platform-Independent Control Systems
Files
Penn collection
Degree type
Discipline
Subject
CPS Embedded Control
Computer Engineering
Computer Sciences
Hardware Systems
Funder
Grant number
License
Copyright date
Distributor
Related resources
Author
Contributor
Abstract
The paper considers the problem of model-based deployment of platform-independent control code on a specific platform. The approach is based on automatic generation of platform-specific glue code from an architectural model of the system. We present a tool, ROSGen, that generates the glue code based on a declarative specification of platform interfaces. Our implementation targets the popular Robot Operating System (ROS) platform. We demonstrate that the code generation process is amenable to formal verification. The code generator is implemented in Coq and relies on the infrastructure provided by the CompCert and VST tool. We prove that the generated code always correctly connects the controller function to sensors and actuators in the robot. We use ROSGen to implement a cruise control system on the LandShark robot.