DDS
An industrial-grade publish-subscribe communication middleware standard protocol used extensively in aviation, defense, finance, and other domains with stringent real-time and reliability requirements. ROS 2 uses DDS as its underlying communication layer.
Core Facts
ROS2 adopts DDS (Data Distribution Service) as its underlying communication middleware; DDS was developed by the OMG organization and uses a data-centric publish-subscribe model.
ROS2 uses DDS to achieve decentralized communication between nodes, no longer relying on a central Master node to coordinate all communication as ROS1 does.
ROS 2 has undergone architectural restructuring for real-time performance and embedded deployment, introducing the DDS communication middleware.
Timeline (last 90 days)
In Windows and WSL2 environments, because WSL2 uses NAT mode by default, multicast packets often cannot pass between the host and the subsystem, causing ROS 2 nodes to be unable to see each other; moreover, the WSL2 virtual network adapter address may change after each restart, rendering previously configured environment variables such as ROS_DOMAIN_ID, CYCLONEDDS_URI, or FASTRTPS_DEFAULT_PROFILES_FILE invalid.
ROS2's client libraries (such as rclcpp and rclpy) already encapsulate the underlying DDS details, so developers do not need to operate DDS directly.
ROS 1 reached end of maintenance in 2025, and the community is fully migrating to ROS 2, which is based on the DDS communication layer.
ROS 2 uses the Data Distribution Service (DDS) as its default communication protocol, with nodes exchanging sensor readings, control commands, and status messages via publish/subscribe topics; under DDS default configurations, message authentication and access control are not mandatorily enabled.
Even in inter-process communication on the same machine, DDS zero-copy shared memory optimization is not enabled by default, and messages often undergo multiple memory copies
ros2_pulse requires no recompilation of nodes, does not join the DDS graph, and has extremely low overhead.
The ros2_pulse probe works entirely within the process, does not join the DDS graph as an additional subscriber, avoids serialization overhead, and can fully capture intra-process communication traffic.
All Facts (12)
ROS2 adopts DDS (Data Distribution Service) as its underlying communication middleware; DDS was developed by the OMG organization and uses a data-centric publish-subscribe model.
85%VerifiedROS2 uses DDS to achieve decentralized communication between nodes, no longer relying on a central Master node to coordinate all communication as ROS1 does.
75%VerifiedROS 2 has undergone architectural restructuring for real-time performance and embedded deployment, introducing the DDS communication middleware.
70%UnverifiedIn Windows and WSL2 environments, because WSL2 uses NAT mode by default, multicast packets often cannot pass between the host and the subsystem, causing ROS 2 nodes to be unable to see each other; moreover, the WSL2 virtual network adapter address may change after each restart, rendering previously configured environment variables such as ROS_DOMAIN_ID, CYCLONEDDS_URI, or FASTRTPS_DEFAULT_PROFILES_FILE invalid.
50%UnverifiedROS2's client libraries (such as rclcpp and rclpy) already encapsulate the underlying DDS details, so developers do not need to operate DDS directly.
50%UnverifiedROS 1 reached end of maintenance in 2025, and the community is fully migrating to ROS 2, which is based on the DDS communication layer.
50%UnverifiedROS 2 uses the Data Distribution Service (DDS) as its default communication protocol, with nodes exchanging sensor readings, control commands, and status messages via publish/subscribe topics; under DDS default configurations, message authentication and access control are not mandatorily enabled.
50%UnverifiedEven in inter-process communication on the same machine, DDS zero-copy shared memory optimization is not enabled by default, and messages often undergo multiple memory copies
50%Unverifiedros2_pulse requires no recompilation of nodes, does not join the DDS graph, and has extremely low overhead.
50%UnverifiedThe ros2_pulse probe works entirely within the process, does not join the DDS graph as an additional subscriber, avoids serialization overhead, and can fully capture intra-process communication traffic.
50%UnverifiedDDS 由 OMG(Object Management Group)制定,采用去中心化的发布-订阅模式,通过自动发现机制让节点直接建立点对点连接,消除单点故障风险
50%UnverifiedDDS提供灵活的服务质量配置(QoS),开发者可针对不同数据类型设置不同的传输可靠性与延迟策略
50%