Software and Connectivity

What Is DDS? Data Distribution Service in Robotics Explained.

By Rodolfo Garcia Calderoni, CFA ·

On this pageWhat Is Data Distribution Service?Key TakeawaysHow Does DDS Work?What Is Quality of Service in DDS?DDS vs. ROS 2Frequently Asked QuestionsThe Bottom LineSourcesRelated terms

What Is Data Distribution Service?

Data Distribution Service, or DDS, is a communication standard designed to exchange information between software applications and devices using a publish-subscribe model.

It is particularly useful in distributed systems where multiple components need to exchange information efficiently.

DDS is widely associated with robotics because ROS 2, a major robotics software framework, commonly uses DDS implementations as part of its communication infrastructure.

For example, an autonomous robot may need to exchange information between cameras, navigation software, motor controllers, and other applications. DDS can help these components communicate without requiring each one to maintain a separate connection to every other component.

Key Takeaways

  • DDS is a standardized middleware technology for distributing information between applications and devices.
  • It uses publish-subscribe communication, allowing information producers and consumers to communicate through named topics.
  • DDS provides configurable Quality of Service policies governing aspects such as reliability, message history, and timing.

How Does DDS Work?

Imagine a mobile robot equipped with a LiDAR sensor.

The sensor produces information about nearby objects.

Navigation software needs this information to identify obstacles and plan movement.

Using DDS, the sensor application can publish measurements to a topic.

Other applications subscribe to the topic to receive the information.

The publisher does not need to know the internal implementation of every subscriber.

This makes it easier to build systems from software components that communicate through defined data interfaces.

What Is Quality of Service in DDS?

DDS provides settings known as Quality of Service, or QoS, policies.

These allow developers to specify how information should be delivered.

For example:

Reliability: Determine whether a system should attempt to ensure delivery or prioritize timely delivery without retransmitting every missing message.

History: Specify how many previous samples should be retained.

Deadline: Define timing expectations for receiving new information.

Durability: Control whether certain previously published information can be made available to later subscribers.

Different applications need different settings.

A camera stream may prioritize timely new images, while some system configuration messages require reliable delivery.

DDS vs. ROS 2

ROS 2 is a robotics software framework.

DDS is a communication standard that ROS 2 commonly uses through its middleware abstraction.

ROS 2 provides robotics-oriented concepts such as nodes, topics, services, and actions.

DDS implementations can support communication between those components.

ROS 2 can also support middleware arrangements beyond a direct DDS implementation, depending on its configuration.

Frequently Asked Questions

Does DDS require an internet connection?

No. DDS can operate over local networks without relying on the public internet.

Does DDS guarantee safe real-time robot operation?

No. Its communication features can support demanding applications, but complete real-time and safety guarantees depend on the hardware, software, configuration, and system design.

The Bottom Line

DDS provides a standardized way for distributed applications to exchange information. Its configurable communication behavior makes it valuable in robotics systems where sensors, software, and controllers must work together.

Sources

  1. Object Management Group — Data Distribution Service
  2. ROS 2 — Middleware Implementations

Black Scarab Weekly

Follow the physical AI economy

Get Black Scarab news, deep research, and practical analysis in one clear Thursday briefing.

Weekly reporting and deep dives. Unsubscribe anytime. See our privacy notice.