Sommer, Jan und Gerndt, Andreas und Lüdtke, Daniel (2019) Creating a Reliable Data Type Framework for the OSRA Using Modern C++. In: Proceedings of the International Astronautical Congress, IAC. 70th International Astronautical Congress (IAC), 2019-10-21 - 2019-10-25, Washington D.C..
PDF
256kB |
Kurzfassung
Ever increasing demands on the complexity of onboard software has lead the European Space Agency to define the OnBoard Software Reference Architecture (OSRA) creating a common framework for modeling onboard software for space applications. OSRA provides tools for the description of onboard software (OSW) in a componentcentric way, but leaves the implementation of the OSW itself or related autocoding tools to other institutions. As a first step towards a codegeneration framework from high level software models, we present source code mappings from the OSRA data type model to a C++ type system. The goal of the framework is to take care of type safety and value consistency issues and to provide an intuitive interface to the application developer for defining and working with data types, while at the same time having the target of autocoding in mind. We use language features introduced with the modern C++ standards to allow for extensive validity checks at compiletime and additional checks at runtime. For the integration with OSRA tools, we take an intermediate step transforming the graphically declared types of OSRA into an ASN.1 representation before generating the corresponding C++ source code. The integration is bidirectional, i.e. data types, which have been constructed solely in ASN.1 notation, can also be used inside OSRA models which helps maintaining more complex data structures in a textual format and enables us to use existing complex data sets from previous projects and from The Assert Set of Tools for Engineering (TASTE) project to test the feasibility and the limitations of the type system. In the end, we present a type system which can be autogenerated and automatically avoids common sources of error like faulty initialization, outofbound access and accidental range overflows. Such errors cause compiletime errors if possible and runtime errors otherwise. In order to provide developers with a practical solution, efforts were made to facilitate integration with existing code bases or third party libraries which allows an iterative process of adaption. We strive to generate complete onboard software projects from the OSRA component model. The data type system defined here provides therefore the basis for that endeavor as it determines the way components will exchange data and how developers will need to interact with them.
elib-URL des Eintrags: | https://elib.dlr.de/130256/ | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dokumentart: | Konferenzbeitrag (Vortrag) | ||||||||||||||||
Titel: | Creating a Reliable Data Type Framework for the OSRA Using Modern C++ | ||||||||||||||||
Autoren: |
| ||||||||||||||||
Datum: | Oktober 2019 | ||||||||||||||||
Erschienen in: | Proceedings of the International Astronautical Congress, IAC | ||||||||||||||||
Referierte Publikation: | Nein | ||||||||||||||||
Open Access: | Ja | ||||||||||||||||
Gold Open Access: | Nein | ||||||||||||||||
In SCOPUS: | Ja | ||||||||||||||||
In ISI Web of Science: | Nein | ||||||||||||||||
Name der Reihe: | Proceedings of the International Astronautical Congress | ||||||||||||||||
Status: | veröffentlicht | ||||||||||||||||
Stichwörter: | Code Generation, Modeldriven Software Development, C++ | ||||||||||||||||
Veranstaltungstitel: | 70th International Astronautical Congress (IAC) | ||||||||||||||||
Veranstaltungsort: | Washington D.C. | ||||||||||||||||
Veranstaltungsart: | internationale Konferenz | ||||||||||||||||
Veranstaltungsbeginn: | 21 Oktober 2019 | ||||||||||||||||
Veranstaltungsende: | 25 Oktober 2019 | ||||||||||||||||
Veranstalter : | International Astronautical Federation | ||||||||||||||||
HGF - Forschungsbereich: | Luftfahrt, Raumfahrt und Verkehr | ||||||||||||||||
HGF - Programm: | Raumfahrt | ||||||||||||||||
HGF - Programmthema: | Technik für Raumfahrtsysteme | ||||||||||||||||
DLR - Schwerpunkt: | Raumfahrt | ||||||||||||||||
DLR - Forschungsgebiet: | R SY - Technik für Raumfahrtsysteme | ||||||||||||||||
DLR - Teilgebiet (Projekt, Vorhaben): | R - Scosa Onboard Computing (alt) | ||||||||||||||||
Standort: | Braunschweig | ||||||||||||||||
Institute & Einrichtungen: | Institut für Simulations- und Softwaretechnik Institut für Simulations- und Softwaretechnik > Software für Raumfahrtsysteme und interaktive Visualisierung | ||||||||||||||||
Hinterlegt von: | Sommer, Jan | ||||||||||||||||
Hinterlegt am: | 13 Dez 2019 12:58 | ||||||||||||||||
Letzte Änderung: | 24 Apr 2024 20:33 |
Nur für Mitarbeiter des Archivs: Kontrollseite des Eintrags