Probabilistic Latency Analysis of the Data Distribution Service in ROS 2

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Lee, Sanghoon, Park, Hyung-Seok, Chae, Jiyeong, Park, Kyung-Joon
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915446447407104
author Lee, Sanghoon
Park, Hyung-Seok
Chae, Jiyeong
Park, Kyung-Joon
author_facet Lee, Sanghoon
Park, Hyung-Seok
Chae, Jiyeong
Park, Kyung-Joon
contents Robot Operating System 2 (ROS 2) is now the de facto standard for robotic communication, pairing UDP transport with the Data Distribution Service (DDS) publish-subscribe middleware. DDS achieves reliability through periodic heartbeats that solicit acknowledgments for missing samples and trigger selective retransmissions. In lossy wireless networks, the tight coupling among heartbeat period, IP fragmentation, and retransmission interval obscures end to end latency behavior and leaves practitioners with little guidance on how to tune these parameters. To address these challenges, we propose a probabilistic latency analysis (PLA) that analytically models the reliable transmission process of ROS 2 DDS communication using a discrete state approach. By systematically analyzing both middleware level and transport level events, PLA computes the steady state probability distribution of unacknowledged messages and the retransmission latency. We validate our PLA across 270 scenarios, exploring variations in packet delivery ratios, message sizes, and both publishing and retransmission intervals, demonstrating a close alignment between analytical predictions and experimental results. Our findings establish a theoretical basis to systematically optimize reliability, latency, and performance in wireless industrial robotics.
format Preprint
id arxiv_https___arxiv_org_abs_2508_10413
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Probabilistic Latency Analysis of the Data Distribution Service in ROS 2
Lee, Sanghoon
Park, Hyung-Seok
Chae, Jiyeong
Park, Kyung-Joon
Networking and Internet Architecture
Robotics
Robot Operating System 2 (ROS 2) is now the de facto standard for robotic communication, pairing UDP transport with the Data Distribution Service (DDS) publish-subscribe middleware. DDS achieves reliability through periodic heartbeats that solicit acknowledgments for missing samples and trigger selective retransmissions. In lossy wireless networks, the tight coupling among heartbeat period, IP fragmentation, and retransmission interval obscures end to end latency behavior and leaves practitioners with little guidance on how to tune these parameters. To address these challenges, we propose a probabilistic latency analysis (PLA) that analytically models the reliable transmission process of ROS 2 DDS communication using a discrete state approach. By systematically analyzing both middleware level and transport level events, PLA computes the steady state probability distribution of unacknowledged messages and the retransmission latency. We validate our PLA across 270 scenarios, exploring variations in packet delivery ratios, message sizes, and both publishing and retransmission intervals, demonstrating a close alignment between analytical predictions and experimental results. Our findings establish a theoretical basis to systematically optimize reliability, latency, and performance in wireless industrial robotics.
title Probabilistic Latency Analysis of the Data Distribution Service in ROS 2
topic Networking and Internet Architecture
Robotics
url https://arxiv.org/abs/2508.10413