https://www.mdu.se/

mdu.sePublications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Pattern-Based Verification of ROS 2 Nodes Using UPPAAL
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.ORCID iD: 0000-0003-2870-2680
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.ORCID iD: 0000-0002-5832-5452
Show others and affiliations
2023 (English)In: Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), Springer Science and Business Media Deutschland GmbH , 2023, p. 57-75Conference paper, Published paper (Refereed)
Abstract [en]

This paper proposes a pattern-based modeling and Uppaal-based verification of latencies and buffer overflow in distributed robotic systems that use ROS 2. We apply pattern-based modeling to simplify the construction of formal models for ROS 2 systems. Specifically, we propose Timed Automata templates for modeling callbacks in Uppaal, including all versions of the single-threaded executor in ROS 2. Furthermore, we demonstrate the differences in callback scheduling and potential errors in various versions of ROS 2 through experiments and model checking. Our formal models of ROS 2 systems are validated in experiments, as the behavior of ROS 2 presented in the experiments is also exposed by the execution traces of our formal models. Moreover, model checking can reveal potential errors that are missed in the experiments. The paper demonstrates the application of pattern-based modeling and verification in distributed robotic systems, showcasing its potential in ensuring system correctness and uncovering potential errors.

Place, publisher, year, edition, pages
Springer Science and Business Media Deutschland GmbH , 2023. p. 57-75
Series
Lecture Notes in Computer Science, ISSN 0302-9743 ; 14290 LNCS
Keywords [en]
Model Checking, Pattern-Based Modeling, Robot Operating System 2, Errors, Robot Operating System, Buffer overflows, Distributed robotic systems, Execution trace, Formal modeling, Models checking, Pattern-based models, Potential errors, Single-threaded, Timed Automata
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:mdh:diva-64592DOI: 10.1007/978-3-031-43681-9_4ISI: 001158872200004Scopus ID: 2-s2.0-85174439033ISBN: 9783031436802 (print)OAI: oai:DiVA.org:mdh-64592DiVA, id: diva2:1808059
Conference
28th International Conference on Formal Methods in Industrial Critical Systems, FMICS 2023, Antwerp, Belgium, 20 September - 22 September 2023
Available from: 2023-10-30 Created: 2023-10-30 Last updated: 2024-06-14Bibliographically approved
In thesis
1. Verifying ROS 2 Based Distributed Robotic Systems
Open this publication in new window or tab >>Verifying ROS 2 Based Distributed Robotic Systems
2024 (English)Licentiate thesis, comprehensive summary (Other academic)
Abstract [en]

Due to safety criticality, distributed robotic systems, such as Robot Operating System 2 (ROS 2) based applications, often have strict timing requirements. In this thesis, we attempt to simplify formal verification of the timing behaviour of ROS 2 based applications. Therefore, (i) we conduct experiments to determine and define patterns and semantics of ROS 2 task scheduling and execution, (ii) we propose a pattern-based formal approach of modeling and verifying ROS 2 applications via model checking in UPPAAL, and (iii) we propose a methodology for model-based development and verification of ROS 2 application designs. The thesis starts with a comprehensive evaluation of timing behavior, including the internal scheduling of ROS 2 applications, to define evaluation metrics and timing correctness. Based on the evaluation, buffer overflow and callback latency are defined as measures for timing errors. Furthermore, we identify application design patterns and parameters that can influence potential timing errors. To introduce and facilitate the use of formal methods, we propose pattern-based verification, using UPPAAL, creating reusable templates of important ROS 2 application components. Furthermore, we show how to apply the templates to model ROS 2 applications and verify potential buffer overflow and callback latencies. Finally, we propose a novel methodology for automation of verification in the context of ROS 2 that uses generated tracing information of ROS 2 executions to build structural models as class diagrams and, ultimately, formal models in the form of networks of UPPAAL timed automata for model checking. In our approach, one can apply the methodology as a framework that includes model checking as a back-end and, therefore, helping designers to bridge the gap between the ROS 2 code and formal analysis.

Place, publisher, year, edition, pages
Västerås: Mälardalens universitet, 2024
Series
Mälardalen University Press Licentiate Theses, ISSN 1651-9256 ; 363
National Category
Computer Sciences Robotics Embedded Systems
Identifiers
urn:nbn:se:mdh:diva-67510 (URN)978-91-7485-670-5 (ISBN)
Presentation
2024-09-17, Delta och via Zoom, Mälardalens universitet, Västerås, 13:30 (English)
Opponent
Supervisors
Available from: 2024-06-17 Created: 2024-06-14 Last updated: 2024-09-05Bibliographically approved

Open Access in DiVA

No full text in DiVA

Other links

Publisher's full textScopus

Authority records

Dust, LukasGu, RongSeceleanu, CristinaEkström, MikaelMubeen, Saad

Search in DiVA

By author/editor
Dust, LukasGu, RongSeceleanu, CristinaEkström, MikaelMubeen, Saad
By organisation
Embedded Systems
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar

doi
isbn
urn-nbn

Altmetric score

doi
isbn
urn-nbn
Total: 143 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf