Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Dds Knowledge Patch?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nevaberry-dds-knowledge-patch-nevaberry-plugins)
---
name: dds-knowledge-patch
description: Data Distribution Service (DDS)
version: "DDSI-RTPS 2.5"
license: MIT
metadata:
author: Nevaberry
---
# Data Distribution Service (DDS)
Load this skill when checking DDS endpoint matching, status handling,
RTPS discovery and repair, implementation configuration, or ROS 2 RMW behavior.
Use the references for configuration examples and topic-specific guidance.
## Reference index
| Reference | Topics |
| --- | --- |
| [Core DDS semantics](references/core-dds-semantics.md) | Status counts and flags, QoS compatibility, partition matching, group discovery metadata |
| [RTPS discovery and reliability](references/rtps-discovery-reliability.md) | Submessage context, byte order, locators, participant removal, sequence and fragment repair |
| [Implementation configuration](references/implementation-configuration.md) | Cyclone DDS configuration and discovery, liveliness and writer deletion; Fast DDS discovery and profiles; Connext DDS peer acceptance |
| [ROS 2 RMW behavior](references/ros2-rmw.md) | Discovery-dependent QoS, implementation defaults, optional backend capabilities |
## Endpoint matching and status handling
### Latency budget
`LATENCY_BUDGET` is a scheduling hint that also participates in
requested-versus-offered compatibility. If discovered endpoints stay unmatched,
check the last incompatible policy in the requested or offered incompatible QoS status.
### Destination order
`DESTINATION_ORDER` participates in requested-versus-offered compatibility.
When relying on `BY_SOURCE_TIMESTAMP` across writers, use comparable writer clocks:
DDS orders by timestamps supplied by or assigned at the writers.
### Liveliness compatibility
DDS checks both the assertion kind and the lease duration when matching `LIVELINESS`.
The kinds are ordered from automatic to manual by participant to manual by topic.
### Partitions and match updates
For wildcard matching, use a literal on one side, such as publisher partition
`plant/east` with subscriber partition `plant/*`.
Changing `PARTITION` on an enabled publisher or subscriber can add or remove
matches for its endpoints.
### Status counts and flags
Reading a status can consume its count change, and listener dispatch or taking
data can clear the relevant status flag.
Track occurrences across `WaitSet` wakeups using the cumulative count when the
status provides one.
### Group discovery metadata
Set `GROUP_DATA` on a publisher or subscriber to attach opaque application bytes
that DDS can propagate through discovery.
## RTPS discovery and reliability
### Discovery and user-data paths
SPDP advertises metatraffic locators for discovery, default locators, and built-in
endpoint availability. If participants are visible but endpoints are missing,
check for reliable SEDP publication and subscription announcements over the
discovery path, then verify reachability of advertised user-data locators separately.
### Participant removal
When the participant lease advertised in SPDP expires or the participant explicitly
disposes of its discovery data, remove the remote participant proxy and its
dependent endpoint matches.
### Sequence gaps and duplicate control messages
Use `GAP` to mark writer sequence numbers a reader should stop requesting,
including changes filtered out for that reader or already removed from writer history.
`ACKNACK` uses a sequence-number bitmap to report missing changes.
Control-message count fields distinguish newer messages from duplicates.
### Fragment repair
When a sample spans `DATA_FRAG` submessages, `HEARTBEAT_FRAG` and `NACK_FRAG`
support repair of missing fragments within that writer change.
### Submessage context and byte order
Decode each submessage header and its fields using that submessage's endianness flag.
Apply `INFO_SRC`, `INFO_DST`, and `INFO_TS` to update the source, destination, and
timestamp context for subsequent submessages.
The serialized payload has its own encapsulation identifying its representation
and byte order.
## Implementation configuration
### Cyclone DDS configuration scope
`CYCLONEDDS_URI` can select multiple configuration resources, including files and
inline XML. `Domain/@Id` selects which participant domain receives the settings;
`any` applies them across domains.
See the implementation reference for inline XML and peer configuration examples.
### Cyclone DDS unicast peers
Configure `Discovery/Peers/Peer` addresses to seed SPDP when multicast is unavailable.
If unicast discovery fails, check reachability in both directions and the
participant-index search limit used with the DDSI port mapping.
### Cyclone DDS discovery service
Cyclone DDS offers a discovery service in supported releases.
Verify support across implementations before using the service for centralized
discovery in a mixed deployment.
### Cyclone DDS liveliness support
The Cyclone DDS discovery guide documents `AUTOMATIC` liveliness.
Verify support in the deployed release before configuring either manual liveliness kind.
### Cyclone DDS reliable writer deletion
Writer linger can defer final deletion of a reliable writer to give readers time
to acknowledge pending data. Delete writers in an orderly shutdown to give that
mechanism a chance to run before process exit.
### Fast DDS static endpoint discovery
Static EDP gets endpoint definitions from XML.
Configure consistent static IDs and endpoint definitions on all participating sides.
### Fast DDS manual discovery
Manual discovery APIs let the application assert selected remote entities directly.
### Fast DDS default profiles
Set `FASTDDS_DEFAULT_PROFILES_FILE` to select a file for automatic loading.
Profiles marked `is_default_profile="true"` can affect ordinary entity creation.
The default filename lookup varies by release, and supported releases provide
`SKIP_DEFAULT_XML` to disable default-profile loading.
### Connext DDS peer acceptance
Initial peers specify where to send discovery probes.
Set Discovery QoS `accept_unknown_peers` to control whether participant announcements
from addresses outside the configured peer set are accepted.
## ROS 2 RMW behavior
### Discovery-dependent QoS and defaults
Where supported, `BEST_AVAILABLE` selects QoS policy values based on discovered endpoints.
`SYSTEM_DEFAULT` delegates policy values to the active RMW, so set explicit values
when behavior needs to stay consistent across implementations.
### Optional backend capabilities
Check RMW support for unique network flow requirements and content filtering,
and handle unsupported results.
When switching implementations, verify support for loaned messages and
shared-memory delivery on the new backend.