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
UPPAAL-based Modeling and Verification of ROS 2 Multi-Threaded Execution and Operating System Reservations
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-0002-5832-5452
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.
Mälardalen University, School of Innovation, Design and Engineering, Embedded Systems.
Show others and affiliations
(English)Manuscript (preprint) (Other academic)
Abstract [en]

In this paper, we propose a formal modeling approach in uppaal to simulate and verify multi-threaded robotics middleware execution based on ROS 2. In the modeling process, we consider middleware-specific scheduling by creating formal models that simulate the execution behavior of a ROS 2-based system. Furthermore, we show how to model potential underlying operating system's influences on execution by modeling reservation servers. We propose timed automata templates to model the multi-threaded execution of ROS 2 systems and the reservations of the underlying operating system in uppaal.We show how to utilize the created templates to simulate a ROS 2 application. We demonstrate the application of the formal models and model checking in various ROS 2 experiments. Furthermore, we validate the created models by comparing the observed execution traces in experiments on ROS 2 systems and the simulated traces of our models.Overall, this paper showcases the application and usability of model-based verification of distributed middleware applications, including internal scheduling and influences of underlying operating system actions.

National Category
Robotics and automation Computer Sciences
Identifiers
URN: urn:nbn:se:mdh:diva-67509OAI: oai:DiVA.org:mdh-67509DiVA, id: diva2:1870148
Available from: 2024-06-14 Created: 2024-06-14 Last updated: 2025-10-10Bibliographically 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 and automation 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: 2025-10-10Bibliographically approved

Open Access in DiVA

No full text in DiVA

Authority records

Dust, LukasEkström, MikaelGu, RongMubeen, SaadSeceleanu, Cristina

Search in DiVA

By author/editor
Dust, LukasEkström, MikaelGu, RongMubeen, SaadSeceleanu, Cristina
By organisation
Embedded Systems
Robotics and automationComputer Sciences

Search outside of DiVA

GoogleGoogle Scholar

urn-nbn

Altmetric score

urn-nbn
Total: 697 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