NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Generating Real-Time Robotics Control Software from SysMLIn this paper, we outline an approach for autogenerating 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.
Document ID
20190026884
Acquisition Source
Jet Propulsion Laboratory
Document Type
Conference Paper
External Source(s)
Authors
Godart, Peter
(Jet Propulsion Lab., California Inst. of Tech. Pasadena, CA, United States)
Gross, Johannes
(Jet Propulsion Lab., California Inst. of Tech. Pasadena, CA, United States)
Mukherjee, Rudranarayan
(Jet Propulsion Lab., California Inst. of Tech. Pasadena, CA, United States)
Date Acquired
July 1, 2019
Publication Date
March 4, 2017
Subject Category
Cybernetics, Artificial Intelligence And Robotics
Report/Patent Number
JPL-CL-16-5822
Meeting Information
Meeting: IEEE Aerospace Conference
Location: Big Sky, MT
Country: United States
Start Date: March 4, 2011
End Date: March 11, 2011
Sponsors: Institute of Electrical and Electronics Engineers
Distribution Limits
Public
Copyright
Other

Available Downloads

There are no available downloads for this record.
No Preview Available