Saved in:
Bibliographic Details
Main Authors: Choton, Jahid Chowdhury, Gupta, Lipsy, Prabhakar, Pavithra
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2412.16186
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916557930627072
author Choton, Jahid Chowdhury
Gupta, Lipsy
Prabhakar, Pavithra
author_facet Choton, Jahid Chowdhury
Gupta, Lipsy
Prabhakar, Pavithra
contents The Robot Operating System (ROS) is one of the most popular middleware for developing robot applications, but it is subject to major shortcomings when applied to real-time robotic systems in safety-critical environments. For this reason, ROS 2 was released in 2017 for implementing real-time capabilities in distributed robotic systems while supporting the most prominent aspects of the original ROS. There is still not much work done to provide formal guarantees and correctness of a ROS program. In this paper, we propose a framework to address this challenging problem of guaranteeing the correct behaviour of robotic systems. We propose a formal modelling of a ROS 2 program, and also describe the program using a network of timed automata. We then prove that the sets of executions of a ROS program in the model and in the network of timed automata are the same. Thus to analyze a publisher-subscriber scenario of ROS 2 program, our algorithm first converts the program into the model, and then into the network of timed automata. The applicability and validity of our approach are verified by conducting several experiments on a simplified system and an actual robotic system, and the results and limitations are discussed.
format Preprint
id arxiv_https___arxiv_org_abs_2412_16186
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Formal Modeling and Verification of Publisher-Subscriber Paradigm in ROS 2
Choton, Jahid Chowdhury
Gupta, Lipsy
Prabhakar, Pavithra
Logic in Computer Science
Robotics
The Robot Operating System (ROS) is one of the most popular middleware for developing robot applications, but it is subject to major shortcomings when applied to real-time robotic systems in safety-critical environments. For this reason, ROS 2 was released in 2017 for implementing real-time capabilities in distributed robotic systems while supporting the most prominent aspects of the original ROS. There is still not much work done to provide formal guarantees and correctness of a ROS program. In this paper, we propose a framework to address this challenging problem of guaranteeing the correct behaviour of robotic systems. We propose a formal modelling of a ROS 2 program, and also describe the program using a network of timed automata. We then prove that the sets of executions of a ROS program in the model and in the network of timed automata are the same. Thus to analyze a publisher-subscriber scenario of ROS 2 program, our algorithm first converts the program into the model, and then into the network of timed automata. The applicability and validity of our approach are verified by conducting several experiments on a simplified system and an actual robotic system, and the results and limitations are discussed.
title Formal Modeling and Verification of Publisher-Subscriber Paradigm in ROS 2
topic Logic in Computer Science
Robotics
url https://arxiv.org/abs/2412.16186