Robotics and Middleware · DDS implementation
Cyclone DDS
Also known as Eclipse Cyclone DDS, CycloneDDS, rmw_cyclonedds_cpp
An open-source implementation of the OMG DDS specification and the DDSI-RTPS interoperability protocol, developed as an Eclipse Foundation IoT project and supported as a tier-1 middleware for ROS 2.
Explanation
Eclipse Cyclone DDS implements the DDS data-centric publish-subscribe model and interoperates with other DDS implementations through DDSI-RTPS. It consists of a core library with C++ and Python bindings, is licensed under the Eclipse Public License 2.0 and the Eclipse Distribution License 1.0, and is developed openly within the Eclipse IoT project. The project site lists the 11.0 release series as current.
In ROS 2 it is used through rmw_cyclonedds_cpp, which the ROS documentation lists with full support. Data types are usually written in IDL and processed by the IDL compiler included with Cyclone DDS, although the Python binding can also define types at runtime. The default configuration is intended to work out of the box, and detailed behaviour is tuned through an XML configuration file.
Because the DDS concepts and the wire protocol are standardised, applications can in principle switch between implementations. In practice, configuration formats, defaults and vendor extensions differ, so interoperability and performance should be tested rather than assumed.
How it works
Applications create a DomainParticipant, topics with IDL-defined types, and DataWriters and DataReaders with QoS settings. Cyclone DDS performs RTPS discovery, matches compatible endpoints and transmits samples over the network, keeping sample history according to QoS. Runtime options such as network interfaces, discovery peers and tracing are set in an XML file referenced by the CYCLONEDDS_URI environment variable.
Automotive applications
- ROS 2 middleware for robots and automated-driving prototypes
- Data sharing between distributed processes and ECUs
- Sharing system state in real time across a network
- Interoperability testing with other DDS implementations
Example
A research vehicle switches its ROS 2 stack to Cyclone DDS by setting RMW_IMPLEMENTATION=rmw_cyclonedds_cpp. It then uses the Cyclone XML configuration to restrict DDS traffic to the vehicle's internal Ethernet interface, keeping it off the Wi-Fi link.
An illustrative example: any figures in it are worked numbers, not measurements.
References
- Eclipse Cyclone DDS (project page) (opens in a new tab)
“Eclipse Cyclone DDS™ is an implementation of the OMG Data Distribution Service (DDS) specification”
- eclipse-cyclonedds/cyclonedds README (opens in a new tab)
- Eclipse Cyclone DDS: Documentation (opens in a new tab)
Definitions are original summaries. Standards text is not reproduced; follow the links for the official publications.