In this paper, we outline an approach for auto-generating real-time robotics control code from hierarchical state machines and hardware configurations encoded in Systems Modeling Language (SysML). We propose a software architecture that provides an abstract SysML layer with access to device state information and a set of primitive device commands, such as move_actuator and release_brake, allowing a user to build up a complete functional state machine directly in SysML. The SysML diagram is then exported to a standard SCXML file format and subsequently used to auto-generate hardware control code. Once this architecture is in place, the only explicit code elements that need to be written are the primitive device commands, which can be easily unit tested and reused across different systems. The motivation for this work was the need for a test bed that enables the rapid prototyping of mechanisms and control algorithms for a spacecraft that could ultimately be used for preparing Martian rock samples for their return to Earth. To this end, our software system was also designed to allow for the run-time specification of the hardware layout in SysML, with the hardware-level control functions kept agnostic to the specific parameters or communication bus of any particular device. Further, we outline a system for specifying both the state machine and hardware configuration in the MagicDraw IDE in such a way that the system can be simulated before any code is generated. The resultant software system is easy to debug, understand, and allows users to choose how much information is encoded as a visual or text-based representation.


    Access

    Check access

    Check availability in my library

    Order at Subito €


    Export, share and cite



    Title :

    Generating real-time robotics control software from SysML


    Contributors:


    Publication date :

    2017-03-01


    Size :

    1535241 byte




    Type of media :

    Conference paper


    Type of material :

    Electronic Resource


    Language :

    English



    Auto-generating real-time capable robotics control software for highly reconfigurable robot platforms

    Godart, Peter / Vieira, Peter / Merewether, Gene et al. | IEEE | 2018


    Modeling Complex Cross-Systems Software Interfaces Using SysML

    Mandutianu, Sanda / Morillo, Ron / Simpson, Kim et al. | NTRS | 2013


    Modeling Complex Cross-Systems Software Interfaces Using SysML

    Mandutianu, Sanda / Morillo, Ron / Simpson, Kim et al. | NTRS | 2013


    Modeling Complex Cross-Systems Software Interfaces using SySML

    Mandutianu, Sanda / Simpson, Kimberly / Morillo, Ronald et al. | AIAA | 2013


    OWL2 and SysML

    Rouquette, Nicolas / Jenkins, Steven | NTRS | 2010