Previous Article in Journal
Real-Time Wind Estimation for Fixed-Wing UAVs
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimizing Data Distribution Service Discovery for Swarm Unmanned Aerial Vehicles Through Preloading and Network Awareness

1
Department of Intelligent System & Robotics, Chungbuk National University, Cheongju 28644, Republic of Korea
2
Aerospace Engineering Research Division, Korea Aerospace Research Institute (KARI), Daejeon 34133, Republic of Korea
*
Author to whom correspondence should be addressed.
Drones 2025, 9(8), 564; https://doi.org/10.3390/drones9080564
Submission received: 14 June 2025 / Revised: 29 July 2025 / Accepted: 4 August 2025 / Published: 11 August 2025
(This article belongs to the Section Drone Communications)

Abstract

Highlights

What are the main findings?
  • A network-aware DDS mechanism significantly reduces traffic congestion during UAV swarm discovery.
  • EDP preloading minimizes initialization overhead by embedding known endpoint data before deployment.
What is the implication of the main finding?
  • The proposed method enables more stable and scalable communication in dense UAV swarms.
  • This approach facilitates real-time coordination without requiring changes to existing DDS architecture.

Abstract

Collaborative unmanned aerial vehicle (UAV) swarm operations using the open-source PX4–ROS2 system have been extensively studied for reconnaissance and autonomous missions. PX4–ROS2 utilizes data distribution service (DDS) middleware to ensure network flexibility and support scalable operations. DDS enables decentralized information exchange through its discovery protocol. However, in dense swarm environments, the default initialization process of this protocol generates considerable communication overhead, which hinders reliable peer detection among UAVs. This study introduces an optimized DDS discovery scheme incorporating two key strategies: a preloading method that embeds known participant data before deployment, and a dynamic network awareness approach that regulates discovery behavior based on real-time connectivity. Integrated into PX4–ROS2, the proposed scheme was assessed through both simulations and real-world testing. Results demonstrate that the optimized discovery process reduced peak packet traffic by over 90% during the initial exchange phase, thereby facilitating more stable and scalable swarm operations in wireless environments.

1. Introduction

Recent advances in swarm operation technologies have driven active research into unmanned aerial vehicle (UAV) swarms across a range of domains, including reconnaissance, disaster response, logistics, and agriculture [1]. UAV swarms are increasingly utilized in environments that are difficult or hazardous for human access, such as large-scale farmland for precision pesticide spraying [2], automated inventory management in warehouses [3,4], and rapid search-and-rescue operations in military or disaster zones [5]. These applications have garnered significant interest, as UAVs offer safe and efficient task execution while improving automation and responsiveness in high-risk settings.
In swarm systems with simultaneous UAV operations, effective communication and information sharing require a flexible framework to maintain both stability and scalability. As a result, substantial research has examined the data distribution service (DDS) protocol, developed by the Object Management Group (OMG), as a mechanism for dynamic data exchange in distributed UAV networks [6]. DDS supports data-centric communication, enabling UAVs to dynamically join or exit the swarm while autonomously managing message formats and ensuring connection reliability. It also adopts a publish-subscribe model, which decouples data producers from consumers and supports fault-tolerant architectures with minimal risk of single points of failure (SPOF) [7].
DDS facilitates distributed information exchange among UAVs through its discovery mechanism [8,9,10], which automatically detects participating UAVs and exchanges quality of service (QoS) settings and topic metadata. However, in swarm operations, the default discovery process often generates excessive traffic during initialization, often resulting in failures to recognize certain UAVs. As the swarm size grows, network traffic increases exponentially, which can disrupt the discovery process, particularly in wireless environments.
Although several previous studies have validated the performance of DDS in wired networks, most have not addressed the dynamic mobility and variable traffic patterns characteristic of real-world wireless deployments [11,12,13,14,15,16,17,18]. This gap underscores the need for optimized DDS protocols specifically tailored to UAV swarms operating under fluctuating wireless conditions.
To address this limitation, the present study introduces a DDS-based communication optimization approach for UAV swarms in wireless environments. First, we propose a network awareness strategy that monitors the received signal strength indicator (RSSI) in real time and dynamically allocates traffic based on link quality to alleviate traffic bursts. Second, we define a preloading discovery that embeds essential endpoint data into UAV firmware when the swarm topology is predefined, thereby reducing initial communication overhead.
We implemented the proposed methods on the PX4 (v1.14)–ROS2 (Humble) platform [19,20,21] and validated their effectiveness through both simulations and real-world testing. The results demonstrated that the methods significantly reduced the initial communication overhead and enhanced transmission reliability, even in dense and dynamic UAV swarm conditions.
The main contributions of this study are as follows:
  • We propose a network-awareness method in which each UAV monitors RSSI values to assess network conditions in real time and adaptively allocate traffic, thereby mitigating instability in wireless environments.
  • We propose a preloading discovery method that embeds essential discovery metadata into each UAV ahead of deployment when the swarm configuration is predefined, simplifying communication procedures and reducing initial traffic overhead.
  • We implement the proposed methods on the PX4–ROS2 platform, a widely adopted framework in unmanned systems, and evaluate their performance through both simulations and real-world tests. The results show that the combined approach significantly reduces initial packet load and enhances the success rate of wireless communication, supporting scalable swarm operation.
The remainder of this paper is organized as follows: Section 2 reviews previous research on DDS communication in unmanned systems. Section 3 introduces the PX4–ROS2 platform and relevant technical background. Section 4 details the proposed network-awareness algorithm and preloading discovery scheme. Section 5 presents the methodology and results of simulation and real-world experiments. Section 6 concludes the study and discusses directions for future research.

2. Related Works

In UAV swarm operations, DDS has emerged as a core middleware due to its ability to support real-time data exchange and interoperability among heterogeneous UAVs. Enabled by a diverse set of QoS policies defined by the OMG, DDS can flexibly adapt to dynamic network environments. Maruyama et al. compared multiple DDS implementations under different configurations, analyzing how QoS parameters influence performance [22]. Kronauer et al. evaluated latency and throughput across DDS vendors in multi-UAV scenarios, confirming that system performance is highly sensitive to both QoS settings and underlying network conditions [12]. García-Valls et al. integrated DDS with partitioned distributed systems to improve throughput via data segregation [13], while Yoon et al. proposed a dynamic QoS selection method based on runtime monitoring data [14]. However, these studies primarily focused on conceptual designs and lacked validation in practical UAV deployments.
Some efforts have extended DDS functionality. Auliya et al. used subscriber feedback to dynamically adjust publisher transmission rates, addressing the trade-off between throughput and reliability in lossy wireless environments [15]. Martin-Carrascosa et al. developed a congestion detection algorithm that throttles publishers to optimize bandwidth, though their method only operates after unicast links are established, limiting its applicability in dynamic UAV swarms.
Despite these developments, many DDS optimization strategies rely on post-connection monitoring or QoS parameter tuning and often neglect the surge of network-awareness traffic during initial swarm formation, particularly in wireless contexts. Almadani et al. experimentally evaluated DDS reliability over wireless links and observed performance variations tied to QoS settings [17]. Boonma and Suzuki proposed TinyDDS, a lightweight publish-subscribe middleware for resource-constrained sensor networks, highlighting DDS’s feasibility in limited environments [18]. However, structural solutions to reduce network-awareness traffic at initialization remain lacking.
Several studies have aimed to reduce the overhead associated with the DDS discovery process. Sánchez-Monedero et al. introduced a Bloom filter-based protocol to compress endpoint discovery protocol (EDP) traffic [23], while Nwadiugwu et al. enhanced this approach using threshold-based Bloom filters to reduce false positives and memory usage [24]. However, these techniques have been validated primarily in wired network settings, and their performance under congested wireless conditions remains uncertain.
Choi et al. integrated software-defined networking (SDN) with DDS to prioritize real-time flows at the switch level and improve delivery reliability [25]. Other studies have proposed RSSI-based adaptations for mobile platforms, often targeting transmission intervals or data-plane behavior. However, these approaches do not directly address the network-awareness phase of DDS initialization.
In addition, Awada et al. proposed a collaborative scheduling framework called EdgeDrones, which jointly optimizes UAV task execution and data transmission to maximize resource utilization in multi-location aerial missions [26]. This approach emphasizes high-level orchestration and flight planning across edge computing environments rather than addressing the low-level network congestion that occurs immediately prior to communication. In contrast, the present study focuses on the discovery stage—the initial control-plane burst triggered when UAVs join a domain. As such, the two approaches operate at different layers of the system stack and can serve complementary roles.
To address these limitations, the present study adopts DDS as the core communication middleware and implements the proposed network-awareness and preloading discovery methods on a PX4–ROS 2-based UAV platform [27]. The system integrates a DDS for extremely Resource-Constrained Environments (XRCE-DDS) bridge to connect PX4 with the DDS infrastructure, enabling lightweight UAVs to participate in swarm communication. This work provides practical evidence and actionable guidelines for deploying DDS in large-scale UAV networks over wireless links, validated through both simulation and real-world testing.
Table 1 presents a structured comparison between existing DDS strategies and the proposed method, highlighting how the network awareness and EDP preloading enable scalable and efficient swarm initialization in wireless UAV environments.

3. Preliminaries

This section introduces the experimental platform by presenting the PX4–ROS2 system architecture and outlining the DDS discovery process to characterize the system’s communication behavior.

3.1. PX4–ROS2

As shown in Figure 1, PX4–ROS2 is an open-source UAV system built on the PX4 flight controller and ROS 2 middleware, making it highly suitable for swarm UAV operations. PX4 is a widely adopted open-source flight control system used across a range of UAV types and other unmanned platforms, including unmanned ground vehicles (UGVs) and unmanned surface vehicles (USVs) [28]. Developed in C++, PX4 features a modular architecture comprising a hardware abstraction layer (HAL), sensor drivers, flight control firmware, and communication modules. These components interact via uORB, a lightweight publish-subscribe messaging framework optimized for real-time performance with minimal overhead  [28].
ROS 2 is a middleware framework redesigned to support industrial and distributed robotic systems, addressing several limitations of ROS 1 [27]. It uses a publish-subscribe architecture based on DDS, which significantly enhances real-time performance, scalability, and system-level security. Within the PX4–ROS2 integration, DDS enables external communication through the real-time publish-subscribe (RTPS) protocol, ensuring high reliability for control tasks and fault tolerance. This architecture enables seamless message exchange, leveraging the modular and publish-subscribe designs common to both PX4 and ROS 2.
The XRCE-DDS protocol enables efficient, lightweight communication between PX4 and ROS 2. Designed to support DDS communication under severe resource constraints [29], XRCE-DDS consists of an XRCE Client operating within the PX4 environment and an XRCE Agent running on the ROS 2 side. The client issues topic-related requests, while the agent mediates communication with the broader DDS domain. By offloading endpoint management to the agent, the client minimizes resource consumption, allowing even highly constrained devices to participate in DDS-based data exchange  [30]. As shown in Figure 1, this architecture forms a client–agent bridge that enables robust, scalable communication for swarm UAV operations.

3.2. DDS (Data Distribution Service)

The OMG-standardized DDS operates on the data-centric publish-subscribe (DCPS) model [31], providing flexible and efficient communication via a publish-subscribe architecture. DDS middleware supports loose coupling by enabling data exchange through topic names without requiring explicit endpoint configuration. Internally, DDS uses the RTPS protocol as its communication foundation [32]. RTPS is specifically designed for real-time systems, offering low latency and high reliability. It also provides fine-grained control over transmission behavior via QoS parameters, including reliability, priority, bandwidth, and latency. As a result, DDS is widely adopted in systems requiring both real-time responsiveness and communication reliability.
To enable decentralized information sharing among nodes, DDS initiates a discovery process. During this phase, nodes automatically detect one another and exchange essential QoS settings and topic metadata. As shown in Figure 2, the discovery process consists of the participant discovery protocol (PDP) and the EDP [32]. PDP communicates each node’s metadata—including domain ID, protocol version, vendor ID, QoS policies, and locators—using multicast or predefined unicast messages. Each node simultaneously identifies and announces its presence to other participants in the same domain. EDP then examines publication and subscription endpoints, verifying compatibility between DataWriters and DataReaders based on their data types and QoS configurations, thereby completing the communication link setup.
Because DDS does not rely on a centralized controller or any SPOF, all nodes participate equally in both PDP and EDP exchanges. This decentralized architecture enables self-configuration and supports flexible, scalable communication, forming the foundation for efficient data exchange across nodes in the DDS network [7,33].
As Figure 3 illustrates, DDS supports three primary discovery architectures [34]. The Simple method involves each node engaging in both PDP and EDP communication with every other node. This approach requires no additional configuration and automatically adapts to changes in endpoints. However, as the number of nodes increases, multicast and broadcast traffic grow exponentially, leading to congestion and collisions in wireless environments.
In the Server discovery method, a designated server node manages PDP communication. All other nodes interact solely with this server, which collects and redistributes participant information. This approach reduces overall PDP traffic and simplifies participant registration and deregistration. However, it introduces an SPOF since a failure at the server can disrupt the entire system.
The Static discovery method uses pre-defined EDP tables on each node, minimizing PDP exchange during runtime. By eliminating dynamic EDP, this method generates the least traffic, thereby reducing both latency and network congestion [35]. However, it requires manual updates whenever shared endpoint information changes, making it unsuitable for environments that demand frequent reconfiguration.
Default DDS discovery mechanisms scale poorly in wireless networks, as traffic volume increases exponentially with node count. These limitations are particularly problematic in swarm operations, where communication conditions change dynamically throughout missions. To address this, the present study proposes a new discovery method that incorporates network awareness to detect changing conditions and minimize unnecessary communication within the swarm.

4. Proposed Discovery Mechanism

To enable collaborative mission execution among multiple UAVs, information must be exchanged over a wireless network. However, in swarm environments where many UAVs operate concurrently, such communication is vulnerable to packet loss and limited bandwidth. While decentralized architectures are generally better suited for stable mission execution than centralized systems, they inevitably result in increased communication volume, which must be controlled to ensure effective UAV swarm operations.
This study introduces an optimized DDS discovery mechanism specifically designed for UAV swarm environments. The proposed method integrates network awareness and EDP preloading discovery to minimize signaling overhead. It dynamically regulates discovery traffic based on real-time network conditions and preloads known peer information when the swarm topology is predetermined.
In the standard Simple discovery protocol provided by DDS (Figure 4a), each UAV attempts to connect with all visible participants in the domain during the PDP phase. As shown in Section 5, this results in a burst of traffic during initial discovery—especially when using FastDDS. Such communication surges are problematic in UAV networks, where bandwidth is limited. The increased packet loss during this phase may prevent some UAVs from being discovered, thereby hindering collaboration and system synchronization.

4.1. Network Awareness

To address this challenge, we introduce a mechanism that adjusts discovery timing based on real-time network conditions. Prior to joining the domain, each UAV is assigned a Passive Timer derived from its RSSI level, as illustrated in Figure 4b. The Passive Timer calculation depends on the wireless driver’s capability. If link quality ( L Q ) is available, it is normalized by the maximum link quality ( L Q max ) as follows:
Q i = L Q L Q max , 0 Q i 1
If only RSSI and noise measurements are available, the signal-to-noise ratio (SNR) is computed and normalized within the 25–40 dB range. This range is chosen because communication quality is generally stable above 25 dB, while link improvements tend to saturate beyond 40 dB [36,37,38]:
Q i = clamp S N R 40 , 0 , 1
Based on Q i , the Passive Timer T passive ( i ) is sampled from a uniform distribution within a predefined bounded interval:
T p a s s i v e ( i ) U 0 , T min + ( T max T min ) ( 1 Q i ) ( T min = 8 s , T max = 20 s )
This timer delays PDP packet transmission after a UAV joins the domain, thereby suppressing initial traffic bursts. During this delay period, the UAV remains silent but listens for incoming PDP traffic to passively identify nearby UAVs. Once these UAVs are detected, they establish partial unicast connections with them. Because the Passive Timer is applied only once at the DDS control plane during system initialization, it does not affect latency requirements on the user plane.
As shown in Figure 4b, unlike the standard DDS domain, where multicast discovery targets all UAVs simultaneously, the proposed scheme defers connection attempts to unresponsive UAVs until the Passive Timer expires. This staggered approach mitigates congestion and reduces the likelihood of packet collisions during the critical startup phase.
Building on the OMG DDS reference architecture Figure 5a [31,32], the proposed DDS discovery mechanism with network awareness introduces a cross-layer design (Figure 5b) to enhance congestion control and scalability in wireless environments. While the core DDS layered structure remains intact, an integrated Network Monitor module within the DDS domain layer continuously reads RF receiver status (e.g., RSSI) from the physical layer, providing real-time LQ feedback to the RTPS layer. Based on this input, a Passive Filter Module embedded in RTPS dynamically adjusts the timing of initial PDP advertisements, drawing inspiration from adaptive-beaconing strategies in VANETs [39].
The Passive Filter modulates the broadcast interval of PDP messages generated by the RTPS Writer. After joining the domain, a UAV initially remains silent and refrains from broadcasting its presence. Instead, it passively listens for PDP packets transmitted by neighboring UAVs to identify potential peers. Upon detection, the UAV establishes partial connections via unicast. The standard PDP procedure is then triggered only after the Passive Timer expires, specifically targeting UAVs that have not yet been discovered.
This staggered discovery process reduces initial traffic surges and mitigates packet collisions during the critical startup phase. By deferring explicit presence advertisements, UAVs can operate within the domain while maintaining minimal overhead. This approach supports scalable and stable swarm initialization, even in congested wireless environments. The duration of the Passive Timer does not impact the latency budgets guaranteed by underlying radio-layer protocols. Further explanation is provided in Appendix A.

4.2. EDP Preloading Discovery

A typical DDS discovery mechanism sequentially executes both the PDP and the EDP to identify all participants and their communication endpoints within a domain. As shown in Figure 6a, the standard Simple discovery protocol requires each UAV to broadcast its PDP packet upon joining the domain and then exchange endpoint metadata with all other participants via EDP. As the number of UAVs increases, EDP traffic grows exponentially. In wireless swarm environments, this burst of control traffic during the discovery phase can lead to severe network congestion and degraded system performance.
To address this challenge, we propose a preloading discovery scheme (Figure 6b) that leverages prior knowledge of topic-level communication patterns defined during mission planning. Required EDP metadata are embedded into each UAV before deployment, enabling only the PDP phase to be executed at runtime for presence announcement.
The proposed method inherits the structural foundation of Static discovery by provisioning endpoint metadata before node activation [35,40], but it differs significantly in how EDP data are managed. In Static discovery, each UAV reads from a predefined EDP table and establishes endpoint connections sequentially. As the number of UAVs and table entries increases, communication overhead scales proportionally, generating substantial discovery traffic.
In contrast, the preloading discovery method batches all EDP entries before runtime and initiates communication only after the metadata are embedded. This eliminates the need for sequential endpoint negotiation and its associated traffic. Once the PDP packet announces a UAV’s presence, data exchange begins immediately using the preloaded EDP information, without incurring further traffic for endpoint matching. Consequently, preloading discovery significantly reduces overall discovery traffic compared with Static discovery and supports scalable, reliable swarm initialization in dense wireless environments where real-time responsiveness is essential.
As depicted in Figure 7, the proposed preloading scheme bypasses the EDP phase entirely. This structural advantage prevents message bursts during swarm initialization and ensures that discovery traffic does not scale exponentially with the number of UAVs.
Figure 8 presents the measured discovery-phase traffic under different DDS discovery schemes. While Static Discovery still incurs additional PDP messages due to incremental EDP table updates, the preloading approach synchronizes all metadata once before runtime, resulting in the lowest packet volume among the tested methods. This confirms that preloading discovery is highly effective in mitigating traffic and supporting scalable swarm deployment in bandwidth-constrained networks.

5. Experiments

To validate the proposed DDS discovery mechanism, we conducted simulation-based and real-world experiments. The simulation study implemented a simplified ROS 2-based environment to evaluate the discovery algorithm. Each UAV operated under identical wireless network conditions, modeled using the NS-3 simulator [41]. Additionally, the PX4–ROS 2 UAV system was integrated with the Gazebo simulator [42] to emulate realistic swarm operations. UAVs were arranged linearly so that packet loss varied with distance, as reflected in the NS-3 wireless settings. For real-world validation, we deployed ten PX4–ROS 2 UAVs in a live Wi-Fi environment. For comprehensive evaluation, the proposed discovery methods were compared with widely used DDS implementations in ROS 2: eProsima Fast DDS, Eclipse Cyclone DDS, and RTI Connext DDS. These vendors are officially designated as Tier 1 middleware in ROS 2, offering full compatibility and long-term support [43]. Among them, Fast DDS serves as the default middleware in ROS 2 and was selected as the baseline for our implementation. Cyclone DDS was adopted as the default in the ROS 2 Galactic distribution, while Connext DDS is the first commercial DDS implementation and has been supported since the early ROS 2 releases. Although not a standard ROS 2 DDS implementation, Zenoh was also included as a reference due to its built-in discovery optimization features and increasing attention as a lightweight alternative. Other DDS vendors, such as OpenSplice or GurumDDS, were excluded from evaluation due to discontinued support or limited adoption in ROS 2 environments.

5.1. Simple Simulation Experiments

A simplified simulation environment, illustrated in Figure 9, was developed to evaluate the discovery and data exchange performance of DDS communication in ROS 2. The experiment was structured so that a single subscriber received messages from multiple publishers. NS-3 was configured to emulate an IEEE 802.11 wireless network representative of typical UAV mission environments. Each ROS 2 UAV node was containerized using Docker to ensure isolation from external interference. A Tap Bridge interface connected the containers to the NS-3 network, acting as a bridge between the ROS 2 processes and the simulated wireless environment. This setup enabled realistic testing of discovery behavior and message delivery under wireless conditions. Each publisher transmitted a simple string message on a shared topic. The experimental procedure was as follows:
  • Each ROS 2 Publisher transmitted one message per second over the NS-3 wireless channel.
  • The Subscriber recorded all received messages and monitored internal metrics such as packet loss and transmission attempts using NS-3.
All simulations were conducted on an Ubuntu 22.04 Linux system with an AMD Ryzen 9 7900 CPU (12 cores, 24 threads) and 32 GB of RAM. The number of UAVs varied from 2 to 30, and traffic characteristics were analyzed during the initial discovery phase. Each DDS implementation was tested with its default QoS configuration. A test was considered successful if the subscriber received the 20th message from each publisher within the defined transmission window.
To evaluate the proposed discovery mechanism, we independently tested the network awareness and preloading methods, as well as their combined implementation. The experiment involved 20 UAVs configured with Best Effort QoS, which does not guarantee packet delivery. As shown in Figure 10a, the standard discovery approach produced a traffic spike of up to 70,000 packets per second during the initial phase. In contrast, the network awareness method regulated message transmission based on real-time connectivity, reducing peak traffic to approximately 20,000 packets per second. This reduction significantly mitigated packet loss under constrained wireless bandwidth.
The preloading method reduced the total packet count by embedding EDP data into UAVs prior to deployment. However, as shown in Figure 10b, even with preloading, the packet ratio sharply increased with the number of UAVs, indicating that scalability remained a concern. The combined network awareness and preloading approach yielded the most favorable results, minimizing both the peak packet rate and total traffic ratio. These findings demonstrate superior communication efficiency in dense swarm environments.
We evaluated the discovery success rate, defined as the proportion of test runs in which all UAVs in the swarm successfully recognized one another during the discovery phase. Each configuration was tested 20 times, and the average number of successful runs was reported as the success rate. Under Best Effort QoS, as shown in Figure 11a, Fast DDS exhibited a sharp decline in success rate when the number of UAVs exceeded five. Connext DDS and Cyclone DDS experienced similar drops beyond 10 and 13 UAVs, respectively. In contrast, the proposed discovery mechanism maintained stable peer recognition up to 20 UAVs and achieved over 80% success even at 30 UAVs, outperforming all other DDS implementations. Comparable results were observed under Reliable QoS settings, as illustrated in Figure 11b. These findings demonstrate that the proposed method enhances discovery stability by reducing retransmission overhead, particularly in wireless environments with limited bandwidth. For swarms exceeding 30 UAVs, an extended 50-UAV evaluation and a side-by-side Zenoh benchmark are provided in Appendix C. The appendix details discovery traffic, success rate, and architectural implications at that scale, offering practical guidance for future deployments involving over 100 UAVs.
Figure 12a presents results from a scenario similar to Figure 11a, but with each UAV publishing five topics concurrently. As the number of publishers increased, Fast DDS dropped below an 80% success rate when more than four UAVs were active. Connext DDS and Cyclone DDS showed similar degradation beyond six and seven UAVs, respectively. In contrast, the proposed discovery mechanism maintained a success rate above 80% even in a 10-UAV setup, demonstrating reliable message delivery under multi-topic transmission conditions.
We also evaluated Zenoh [44], a recently introduced alternative to DDS, by analyzing its initial packet burst behavior in a 5-UAV scenario using the same topic configuration as in Figure 10a. Although Zenoh differs significantly from DDS in its protocol architecture, both systems broadcast discovery messages at startup. As shown in Figure 12b, Zenoh generated a sharp surge in per-second packet rate immediately following initialization, which imposed a sudden load on the network. In contrast, the proposed method staggered the discovery process over time, thereby reducing the initial traffic spike. These results reinforce that the proposed approach effectively minimizes discovery overhead, even when compared with modern alternatives like Zenoh. To clarify, Zenoh is not based on the DDS standard, and its discovery semantics and message flow fundamentally diverge from those of DDS middleware. Accordingly, the traffic distribution shown in Figure 8 does not reflect an identical discovery mechanism but is instead presented solely as a quantitative reference for total discovery traffic. Owing to these underlying protocol differences, Zenoh is treated as a supplementary benchmark rather than a direct DDS counterpart. A more comprehensive comparison with Zenoh is presented in Appendix C.
To further examine performance characteristics, we analyzed transmission behavior at both the medium access control (MAC) and Physical (PHY) layers using the NS-3 simulator. The MAC layer handles channel access, retransmission control, and collision avoidance. Within this layer, data frames are enqueued for transmission; however, if repeated backoffs or collisions cause the queue to overflow, the affected frames are discarded and counted as MAC drops. The PHY layer manages the actual transmission and reception of wireless signals. At this layer, packet loss may result from interference, signal attenuation, or physical collisions. If transmission fails and the retry limit is exceeded, the frame is classified as a PHY drop. To evaluate DDS performance, we defined communication metrics for both layers, as summarized in Table 2.
To better understand the performance improvements achieved by the proposed discovery mechanism, we analyzed network-layer transmission behavior using the same configuration described in Figure 11a. The number of UAVs was incrementally varied at 5, 10, 15, and 20. We assessed effectiveness and identified potential bottlenecks in each DDS implementation by measuring three key metrics: the PHY drop density ( R drop PHY ), MAC drop ratio ( R drop MAC ), and PHY retransmission ratio ( R retx PHY ). These metrics were derived from the detailed traffic counters presented in Table 3, which summarizes MAC and PHY layer statistics for each DDS implementation as the number of UAVs increases. Together, these metrics offer a layered evaluation of wireless performance—capturing LQ at the physical (PHY) level and congestion resilience at the MAC level.
Notably, in some DDS implementations, an inverse trend was observed: N tx PHY and N retx PHY decreased despite an increase in the number of nodes. This behavior was attributed to severe MAC-layer congestion, which caused a substantial number of packets to be dropped before reaching the physical layer.
The PHY drop density ( R drop PHY ), defined in Equation (4), represents the proportion of total PHY-layer transmission attempts that failed to result in successful reception. This metric isolates physical-layer influences, such as signal attenuation, external interference, and receiver sensitivity, independent of MAC-layer mechanisms like CSMA/CA. As each transmitted frame may be independently dropped by up to ( N o d e s 1 ) receiving nodes, R drop PHY is not theoretically bounded by 100 % .
R drop PHY = N drop PHY N tx PHY × 100
The MAC drop ratio ( R drop MAC ), defined in Equation (5), represents the percentage of frames enqueued at the MAC layer that failed to be transmitted due to queue overflow or exceeding the retry limit. As node density increases, contention among devices intensifies, leading to repeated backoffs and eventual frame drops. This ratio functions as a direct indicator of congestion-induced frame loss.
R drop MAC = N drop MAC N tx MAC × 100
The PHY retransmission ratio ( R retx PHY ), defined in Equation (6), indicates the percentage of total PHY transmission attempts that involved retransmissions. These retransmissions are initiated at the MAC layer when a collision is anticipated, and the PHY layer carries out the repeated transmission. A high retransmission ratio reflects increased channel occupancy, which can lead to higher latency and reduced output.
R retx PHY = N retx PHY N tx PHY × 100
As shown in Table 4, each DDS implementation exhibits distinct patterns of packet loss and retransmission across protocol layers as the number of UAVs increases from 5 to 20. Although both PHY and MAC drop rates generally increased with swarm size, the primary performance bottleneck differed among DDS vendors.
For Connext DDS and Fast DDS, MAC drop rates rose sharply to 75% and 94%, respectively, as the number of UAVs increased from 15 to 20. This degradation was primarily due to queue saturation and retry-limit violations at the MAC layer. Although PHY retransmission ratios plateaued between 67 and 77%, additional retries failed to improve delivery success.
Cyclone DDS recorded a PHY drop rate of up to 87% at 20 UAVs. This indicates that physical layer impairments—such as interference and attenuation—were the dominant cause of communication failure, while MAC-level losses remained relatively low. Despite this, overall success rates declined sharply due to excessive PHY-layer packet loss.
In contrast, the proposed discovery mechanism demonstrated the lowest packet loss rates under identical test conditions, with a PHY drop of 28% and a MAC drop of 37%. Although its retransmission ratio (76–77%) was similar to that of other vendors, the proposed method substantially reduced effective loss and maintained stable transmission, even in large-scale swarm scenarios.
Unlike other DDS implementations that encounter bottlenecks at both the MAC and PHY layers, the proposed approach mitigates losses across both layers, sustaining high communication efficiency as the number of UAVs increases.

5.2. PX4-ROS2 Simulation Experiments

To validate the proposed discovery algorithm in a PX4–ROS2-based UAV swarm environment, we conducted simulation experiments using Gazebo, as shown in Figure 13. Gazebo is a widely used and validated platform for simulating UAV operational scenarios. The PX4–ROS2 system communicated with Gazebo through the MAVLink protocol [45], and all UAVs operated using a host network interface.
To evaluate the effectiveness of the discovery mechanism, Gazebo was integrated with the NS-3 network simulator. UAVs were positioned linearly along the x-axis at 1 m intervals from a designated Commander UAV. RSSI values were configured to degrade with distance, allowing controlled variation in simulated packet loss.
Each UAV joined the DDS domain and transmitted a readiness signal to the Commander UAV. If the Commander UAV did not receive the signal within 30 s, the event was classified as a discovery failure.
As shown in Figure 14, the number of UAVs in the simulation was increased incrementally from 5 to 30 in step five. We measured the time each UAV required to receive the Takeoff command. The average reception time for each DDS implementation was plotted as a line graph, and results from 20 repeated trials were presented using boxplots to reflect statistical variance.
Although the proposed method introduces slight latency due to its distributed, network-aware architecture, it demonstrated consistent performance as the swarm size increased. In the 10-UAV configuration (Figure 14a), ConnextDDS and FastDDS exhibited greater communication delays than the proposed method, particularly for UAVs positioned farther from the commander, while CycloneDDS maintained relatively low latency. At 15 UAVs (Figure 14b), FastDDS failed to establish communication with several UAVs, and ConnextDDS showed increasing latency with distance. CycloneDDS began to exhibit slight delays but continued to outperform both FastDDS and ConnextDDS.
From the 20-UAV configuration (Figure 14c), CycloneDDS began to exhibit longer delays than the proposed method, and ConnextDDS experienced partial communication failures. In the 30-UAV scenario (Figure 14d), the performance gap widened further. ConnextDDS failed to communicate with all but one UAV (Node 2), and FastDDS exhibited similar failures. CycloneDDS maintained limited communication but showed delays ranging from 15 to 30 s. In contrast, the proposed scheme sustained communication with most UAVs and kept latencies below 15 s, demonstrating superior scalability and robustness in high-density deployments.
The communication success rate of the TakeOff command was evaluated as the number of participating UAVs increased. As shown in Figure 15, all DDS implementations except FastDDS achieved a success rate above 99% in the 10-UAV configuration. However, as the swarm size increased to 30 UAVs, the performance differences among implementations became more pronounced. In this high-density scenario, the proposed method sustained a success rate of 92.41%, while CycloneDDS, FastDDS, and ConnextDDS exhibited substantial declines. These findings indicate that the proposed distributed mechanism—leveraging network awareness and preloading discovery—provides greater communication stability and performance in wireless UAV swarm environments.

5.3. Real-World Experiments

To validate the proposed discovery algorithm in a real UAV environment, we constructed a PX4–ROS 2 system using Pixhawk flight controllers and Jetson Nano computers and conducted experiments with 10 UAVs. The UAV hardware specifications are presented in Figure 16. The wireless network was established using an Iptime AX8008M access point, and each UAV was equipped with an Intel 8265NGW Wi-Fi module connected to the Jetson Nano. The DDS configuration in the PX4–ROS 2 system was kept identical to that of the simulation setup to ensure consistency.
As shown in Figure 17, the packet transmission trends observed in the real-world environment closely mirrored those seen in the simulation(Figure 10a). FastDDS exhibited a sharp spike in transmission rate during the discovery phase, while CycloneDDS showed a more moderate increase, although it still caused a noticeable traffic surge. In contrast, the proposed discovery method, which adapts to real-time network conditions, effectively avoided such bursts. However, due to its decentralized structure, the proposed method introduced slight delays in completing the discovery phase. ConnextDDS was excluded from the real-world experiments due to its commercial license restrictions.
Table 5 summarizes the peak traffic metrics observed during the discovery phase. The proposed method significantly outperformed existing DDS implementations, reducing both peak mean and standard deviation by over 90% compared to FastDDS and CycloneDDS. These results highlight the effectiveness of the proposed discovery mechanism in mitigating excessive startup traffic.

6. Conclusions

This research proposes two complementary optimization strategies—network awareness and preloading—to mitigate congestion during the DDS discovery phase in swarm-UAV environments. Network awareness introduces a cross-layer mechanism that adjusts discovery timing based on real-time RSSI feedback from the physical layer, whereas preloading reduces redundant signaling by embedding EDP information into each UAV prior to deployment. Since both techniques are integrated within the existing DDS framework, the scheme controls discovery traffic without redesigning the core architecture or requiring additional hardware, offering a favorable trade-off between implementation cost and communication scalability.
Simulations and field tests demonstrate that the proposed mechanism reduces MAC-layer packet loss by more than 20% and suppresses initial traffic spikes by over 90%. Even with 30 UAVs communicating simultaneously, the data-reception success rate remained consistently above 80%. These results confirm the method’s effectiveness in enhancing the scalability and reliability of DDS-based wireless swarm operations.
The present evaluation covers three ROS 2-compatible DDS vendors—Fast DDS, Connext DDS, and Cyclone DDS—and swarms of up to 30 UAVs; larger deployments and alternative middleware remain to be validated. Future studies will, therefore, focus on ultra-large swarms, lightweight cryptographic handshakes (Appendix B) to thwart spoofing while preserving preloading efficiency, and heterogeneous wireless networks that combine multiple access technologies under dynamic link conditions such as network partitions or rapid RSSI fluctuations.

Author Contributions

Conceptualization, H.L. and S.M.; methodology, H.L., D.K. and S.M.; software, H.L.; validation, H.L.; formal analysis, H.L.; investigation, H.L.; resources, D.K. and S.M.; data curation, H.L.; writing—original draft preparation, H.L.; writing—review and editing, S.M. and D.K.; visualization, H.L.; supervision, S.M.; project administration, S.M. All authors have read and agreed to the published version of the manuscript.

Funding

This work was partly supported by Innovative Human Resource Development for Local Intellectualization program through the Institute of Information & Communications Technology Planning & Evaluation(IITP) grant funded by the Korea government(MSIT) (IITP-2025-RS-2020-II201462, 50%) and the Unmanned Vehicle Advanced Research Center (UVARC) funded by the Ministry of Science and ICT, Republic of Korea (2020M3C1C1A01083163, 50%).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this Research are available on request from the corresponding author.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

Abbreviations

The following abbreviations are used in this manuscript:
DCPSData-Centric Publish-Subscribe
DDSData Distribution Service
EDPEndpoint Discovery Protocol
LQLink Quality
PDPParticipant Discovery Protocol
QoSQuality of Service
RSSIReceived Signal Strength Indicator
RTPSReal-Time Publish-Subscribe
SDNSoftware-Defined Networking
SNRSignal-to-Noise Ratio
SPOFSingle Points of Failure
UAVUnmanned Aerial Vehicle
UGVUnmanned Ground Vehicle
URLLCUltra-Reliable Low-Latency Communication
USVUnmanned Surface Vehicles
XRCE-DDSData Distribution Service for eXtremely Resource-Constrained Environments

Appendix A. Difference Between the Passive Timer and Wireless Latency Techniques

The proposed Passive Timer operates solely within the DDS control plane during the initial discovery phase. Its only function is to introduce a randomized waiting period before each UAV sends its first PDP broadcast. This helps stagger control-plane traffic and prevents bursty channel contention.
In contrast, wireless low-latency technologies function at the PHY/MAC layers throughout the entire mission to ensure strict end-to-end delay requirements. Examples include 5G ultra-reliable low-latency communication (URLLC), which targets a user-plane latency of 1 ms, and the IEEE 802.11be (Wi-Fi 7) time-sensitive networking profile, which sets a 5 ms latency target for real-time traffic [46].
Since the Passive Timer operates before payload transmission begins, and at a higher layer, it does not affect these user-plane latency targets. Instead, it supports them by reducing early-stage control-plane congestion. A less congested channel at start-up allows for more airtime for subsequent data transmissions, thereby helping to meet the stringent latency goals of 5G URLLC, Wi-Fi 7 TSN, and other time-sensitive communication standards.

Appendix B. Secure Discovery Evaluation

  • Motivation
The proposed discovery scheme in this study is designed under the assumption of a trusted UAV swarm environment. However, in practical deployments, security threats such as spoofing by rogue UAVs or man-in-the-middle attacks must also be considered.
  • Experiment Setup
To assess the impact of incorporating security mechanisms into the discovery process, we conducted a preliminary experiment. We introduced a Diffie–Hellman-based public-key exchange to guarantee the integrity and authentication of EDP metadata among UAVs. Although this cryptographic key-agreement method provides secure key distribution, it noticeably increases control traffic during the initial discovery phase because of its exponential operations and key-exchange messages. We further applied AES-GCM encryption and authentication, in which each UAV generates a unique nonce to protect data and prevent message replay. While this configuration ensures confidentiality and message integrity, it adds additional control overhead due to the authentication procedures.
  • Results
As illustrated in Figure A1, the secure configuration resulted in an approximately 110% increase in total packet traffic compared with the non-secure DDS setup.
Figure A1. Comparison of total discovery packet volume between non-secure and secure DDS.
Figure A1. Comparison of total discovery packet volume between non-secure and secure DDS.
Drones 09 00564 g0a1
  • Discussion
In bandwidth-constrained swarm UAV environments, excessive security overhead may lead to discovery failures or channel congestion. These results highlight an inherent trade-off between security and communication efficiency. Therefore, future work must explore lightweight cryptographic strategies.

Appendix C. Discovery Scalability Evaluation Including Zenoh

  • Motivation
To evaluate the applicability of the proposed discovery scheme to larger swarm environments, we conducted an extended simulation with 50 UAVs. This test aims to assess how the system behaves under increased discovery load and whether the communication success rate remains acceptable at higher scales. In addition, we included a comparison with Zenoh, a lightweight pub-sub protocol with built-in discovery optimizations, to examine its behavior under similar swarm conditions.
  • Experiment Setup
The experiment builds upon the same NS-3 and Gazebo co-simulation framework described in Section 5.1. We increased the number of UAV publishers to 50 while maintaining one subscriber, using the same wireless settings as in prior evaluations. Each trial lasted for 60 s of simulation time, and results were averaged across 10 repetitions.
  • Zenoh
Zenoh is not a DDS-compliant implementation, but its efficient architecture and built-in discovery mechanisms have gained recent attention in the robotics and IoT communities. Although Zenoh lacks full integration with ROS2 and does not support all DDS-level QoS policies, its lightweight design allows for reduced signaling during discovery.
  • Results
Figure A2. Communication success rate with increasing swarm size.
Figure A2. Communication success rate with increasing swarm size.
Drones 09 00564 g0a2
  • Discussion
In the 50-UAV scenario, the proposed discovery scheme achieved a 67.76% communication success rate while generating the lowest peak discovery traffic among the tested systems. This result demonstrates that batching EDP metadata in advance and adapting PDP timing based on network awareness effectively mitigates broadcast storms and network congestion.
Zenoh, a lightweight, non-DDS publish-subscribe protocol with built-in gossip-based discovery, also performed well, achieving a 63.67% success rate. This suggests that simplified signaling alone can significantly reduce the initial discovery load.
However, the proposed scheme operates entirely within the DDS framework and remains fully compatible with ROS2 infrastructure and QoS configurations. This ensures both high discovery efficiency while maintaining seamless integration in ROS 2-based swarm UAV deployments, offering a more robust and scalable solution than non-standard alternatives.

References

  1. Shakhatreh, H.; Sawalmeh, A.H.; Al-Fuqaha, A.; Dou, Z.; Almaita, E.; Khalil, I.; Othman, N.S.; Khreishah, A.; Guizani, M. Unmanned Aerial Vehicles (UAVs): A Survey on Civil Applications and Key Research Challenges. IEEE Access 2019, 7, 48572–48634. [Google Scholar] [CrossRef]
  2. Lan, Y.B.; Chen, S.D. Current Status and Trends of Plant Protection UAV and Its Spraying Technology in China. Int. J. Precis. Agric. Aviat. 2018, 1, 1–9. [Google Scholar] [CrossRef]
  3. Wurman, P.R.; D’Andrea, R.; Mountz, M. Coordinating Hundreds of Cooperative, Autonomous Vehicles in Warehouses. AI Mag. 2008, 29, 9. [Google Scholar] [CrossRef]
  4. Malang, C.; Charoenkwan, P.; Wudhikarn, R. Implementation and Critical Factors of Unmanned Aerial Vehicle (UAV) in Warehouse Management: A Systematic Literature Review. Drones 2023, 7, 80. [Google Scholar] [CrossRef]
  5. Erdelj, M.; Krol, M.; Natalizio, E. Wireless Sensor Networks and Multi-UAV Systems for Natural Disaster Management. Comput. Netw. 2017, 124, 72–86. [Google Scholar] [CrossRef]
  6. Peeroo, K.; Popov, P.; Stankovic, V. A Survey on Experimental Performance Evaluation of Data Distribution Service (DDS) Implementations. arxiv 2023. [Google Scholar] [CrossRef]
  7. Pardo-Castellote, G. OMG Data-Distribution Service: Architectural overview. In Proceedings of the 23rd International Conference on Distributed Computing Systems Workshops, Providence, RI, USA, 19–22 May 2003; pp. 200–206. [Google Scholar] [CrossRef]
  8. eProsima. Fast DDS Discovery Mechanisms. 2025. Available online: https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/discovery.html (accessed on 4 June 2025).
  9. Real-Time Innovations (RTI). RTI Connext DDS User’s Manual: Discovery. 2025. Available online: https://community.rti.com/static/documentation/connext-dds/current/doc/manuals/connext_dds_professional/users_manual/users_manual/Discovery.htm (accessed on 4 June 2025).
  10. Eclipse Cyclone DDS. Cyclone DDS Documentation: Discovery and Participants. 2025. Available online: https://cyclonedds.io/docs/cyclonedds/latest/about_dds/discovery_participants.html (accessed on 4 June 2025).
  11. Bellavista, P.; Corradi, A.; Foschini, L.; Pernafini, A. Data Distribution Service (DDS): A Performance Comparison of OpenSplice and RTI Implementations. In Proceedings of the IEEE ISCC 2013, Split, Croatia, 7–10 July 2013; pp. 000377–000383. [Google Scholar] [CrossRef]
  12. Kronauer, T.; Pohlmann, J.; Matthé, M.; Smejkal, T.; Fettweis, G. Latency Analysis of ROS2 Multi-Node Systems. In Proceedings of the 2021 IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems (MFI), Karlsruhe, Germany, 23–25 September 2021; pp. 1–7. [Google Scholar] [CrossRef]
  13. García-Valls, M.; Domínguez-Poblete, J.; Touahria, I.E.; Lu, C. Integration of Data Distribution Service and Distributed Partitioned Systems. J. Syst. Archit. 2018, 83, 23–31. [Google Scholar] [CrossRef]
  14. Yoon, G.; Lee, S.; Choi, H. QoS Optimizer. In Proceedings of the 2016 International Conference on Platform Technology and Service (PlatCon), Jeju, Republic of Korea, 15–17 February 2016; pp. 1–5. [Google Scholar] [CrossRef]
  15. Auliya, R.S.; Chen, C.-C.; Lin, P.R.; Liang, D.; Wang, W.-J. Optimization of Message Delivery Reliability and Throughput in a DDS-based System with Per-Publisher Sending Rate Adjustment. Telecommun. Syst. 2023, 84, 235–250. [Google Scholar] [CrossRef]
  16. Martin-Carrascosa, J.; López-Vega, J.; Povedano-Molina, J.; Ramos Muñoz, J.; López Soler, J. NAPA: An Algorithm to Auto-Tune Unicast Reliable Communications over DDS. In Proceedings of the XI Jornadas de Ingeniería Telemática (JITEL 2013), Libro de Ponencias, Granada, Spain, 28–30 October 2013; pp. 191–196. [Google Scholar]
  17. Almadani, B.; Bajwa, M.N.; Yang, S.H.; Saif, A.W.A. Performance Evaluation of DDS-Based Middleware over Wireless Channel for Reconfigurable Manufacturing Systems. Int. J. Distrib. Sens. Netw. 2015, 11, 863123. [Google Scholar] [CrossRef]
  18. Boonma, P.; Suzuki, J. TinyDDS: An interoperable and configurable publish/subscribe middleware for wireless sensor networks. In Wireless Technologies: Concepts, Methodologies, Tools and Applications; IGI Global Scientific Publishing: Hershey, PA, USA, 2012; pp. 819–846. [Google Scholar]
  19. PX4 Autopilot Development Team. PX4 Autopilot—Official Website. 2025. Available online: https://px4.io/ (accessed on 4 June 2025).
  20. Open Robotics. Robot Operating System 2 (ROS 2)—Official Documentation. 2025. Available online: https://docs.ros.org/en/rolling/index.html (accessed on 4 June 2025).
  21. PX4 Autopilot Development Team; Open Robotics. PX4 Autopilot and ROS 2 Integration Guide. 2025. Available online: https://docs.px4.io/main/en/ros2/user_guide (accessed on 4 June 2025).
  22. Maruyama, Y.; Kato, S.; Azumi, T. Exploring the Performance of ROS2. In Proceedings of the 13th International Conference on Embedded Software (EMSOFT 2016), Pittsburgh, PA, USA, 1–7 October 2016; pp. 1–10. [Google Scholar] [CrossRef]
  23. Sánchez-Monedero, J.; Povedano-Molina, J.; López-Vega, J.M.; López-Soler, J.M. Bloom Filter-Based Discovery Protocol for DDS Middleware. J. Parallel Distrib. Comput. 2011, 71, 1305–1317. [Google Scholar] [CrossRef]
  24. Nwadiugwu, C.; Huang, Q.; Yang, Y.; Li, X. MAD-DDS: Memory-Efficient Automatic Discovery Data Distribution Service with Enhanced Threshold Bloom Filters. IET Commun. 2023, 17, 1432–1446. [Google Scholar] [CrossRef]
  25. Choi, H.Y.; King, A.L.; Lee, I. Making DDS Really Real-Time with OpenFlow. In Proceedings of the 13th International Conference on Embedded Software (EMSOFT 2016), Pittsburgh, PA, USA, 2–7 October 2016; pp. 1–10. [Google Scholar] [CrossRef]
  26. Awada, U.; Zhang, J.; Chen, S.; Li, S.; Yang, S. EdgeDrones: Co-scheduling of drones for multi-location aerial computing missions. J. Netw. Comput. Appl. 2023, 215, 103632. [Google Scholar] [CrossRef]
  27. Macenski, S.; Foote, T.; Gerkey, B.; Lalancette, C.; Woodall, W. Robot Operating System 2: Design, Architecture, and Uses in the Wild. Sci. Robot. 2022, 7, eabm6074. [Google Scholar] [CrossRef] [PubMed]
  28. Meier, L.; Honegger, D.; Pollefeys, M. PX4: A Node-Based Multithreaded Open Source Robotics Framework for Deeply Embedded Platforms. In Proceedings of the 2015 IEEE International Conference on Robotics and Automation (ICRA), Seattle, DC, USA, 26–30 May 2015; pp. 6235–6240. [Google Scholar] [CrossRef]
  29. Object Management Group (OMG). DDS For Extremely Resource Constrained Environments (DDS-XRCE) Specification, Version 1.0. OMG Standard formal/20-02-01, February 2020. Available online: https://www.omg.org/spec/DDS-XRCE/ (accessed on 4 June 2025).
  30. Solpan, S.; Kucuk, K. DDS-XRCE Standard Performance Evaluation of Different Communication Scenarios in IoT Technologies. Eai Endorsed Trans. Internet Things 2022, 8, e1. [Google Scholar] [CrossRef]
  31. Object Management Group (OMG). Data Distribution Service for Real-Time Systems (DDS), Version 1.4. OMG Standard formal/2015-04-10, April 2015. Available online: https://www.omg.org/spec/DDS/1.4/ (accessed on 4 June 2025).
  32. Object Management Group. DDS Interoperability Wire Protocol Specification (DDSI-RTPS) Version 2.3. 2018. Available online: https://www.omg.org/spec/DDSI-RTPS/2.3 (accessed on 4 June 2025).
  33. Hakiri, A.; Berthou, P.; Gokhale, A.; Schmidt, D.C.; Gayraud, T. Supporting End-to-End Scalability and Real-Time Event Dissemination in the OMG Data Distribution Service over Wide Area Networks. J. Syst. Softw. 2013, 86, 2574–2593. [Google Scholar] [CrossRef]
  34. Ververidis, C.N.; Polyzos, G.C. Service Discovery for Mobile Ad Hoc Networks: A Survey of Issues and Techniques. IEEE Commun. Surv. Tutor. 2008, 10, 30–45. [Google Scholar] [CrossRef]
  35. RTI. Limited-Bandwidth Plug-ins for DDS. RTI Whitepaper. 2011. Available online: https://www.rti.com/docs/DDS_Over_Low_Bandwidth.pdf (accessed on 4 June 2025).
  36. Cisco Meraki. Wireless Throughput Calculations and Limitations. Recommends Maintaining at Least a 25 dB SNR Across the Desired Coverage Area. 2025. Available online: https://documentation.meraki.com/MR/Wi-Fi_Basics_and_Best_Practices/Wireless_Throughput_Calculations_and_Limitations (accessed on 4 June 2025).
  37. Eye Networks. Channel Bandwidth Recommendations for Home Wi-Fi. Lists SNR Targets: 35 dB for 1024-QAM, 32 dB for 256-QAM; Additional Gains Flatten Beyond Approximately 40 dB. 2024. Available online: https://eyenetworks.no/en/recommended-channel-bandwidths-home-wifi/ (accessed on 4 June 2025).
  38. Increase Broadband Speed. What Is a Good Signal Level or Signal-To-Noise Ratio (SNR) for Wi-Fi? Explains Practical SNR Thresholds; Recommends ≥25 dB for Stable Links and Notes Diminishing Performance Gains Beyond ∼40 dB. 2024. Available online: https://www.increasebroadbandspeed.co.uk/what-is-a-good-signal-level-or-signal-to-noise-ratio-snr-for-wi-fi (accessed on 4 June 2025).
  39. Sommer, C.; Tonguz, O.K.; Dressler, F. Adaptive Beaconing for Delay-Sensitive and Congestion-Aware Traffic Information Systems. In Proceedings of the IEEE Vehicular Networking Conference (VNC), Jersey City, NJ, USA, 13–15 December 2010; pp. 1–8. [Google Scholar] [CrossRef]
  40. eProsima. Fast DDS Documentation (v3.2.2): Section 5.3.3–Static Discovery. 2023. Available online: https://fast-dds.docs.eprosima.com/en/v3.2.2/fastdds/discovery/static.html (accessed on 4 June 2025).
  41. NS-3 Consortium. ns-3 Network Simulator. 2025. Available online: https://www.nsnam.org/ (accessed on 4 June 2025).
  42. Open Robotics. Gazebo: Robot Simulation Made Easy. 2025. Available online: https://classic.gazebosim.org/ (accessed on 4 June 2025).
  43. Robotics, O. About Different Middleware Vendors—ROS 2 Documentation. 2025. Available online: https://docs.ros.org/en/humble/Concepts/Intermediate/About-Different-Middleware-Vendors.html (accessed on 15 July 2025).
  44. Zenoh Team. Minimizing Discovery Overhead in ROS 2—Zenoh, 2021. Available online: https://zenoh.io/blog/2021-03-23-discovery/ (accessed on 4 June 2025).
  45. Dronecode Foundation. MAVLink Developer Guide. 2025. Available online: https://mavlink.io/en/ (accessed on 4 June 2025).
  46. Adame, T.; Carrascosa-Zamacois, M.; Bellalta, B. Time-sensitive networking in IEEE 802.11 be: On the way to low-latency WiFi 7. Sensors 2021, 21, 4954. [Google Scholar] [CrossRef] [PubMed]
Figure 1. PX4–ROS2 System Architecture.
Figure 1. PX4–ROS2 System Architecture.
Drones 09 00564 g001
Figure 2. DDS discovery process.
Figure 2. DDS discovery process.
Drones 09 00564 g002
Figure 3. Three main discovery architectures of DDS. Solid line indicates the full discovery procedure, including both PDP and EDP, whereas the dashed line represents the discovery process that involves only PDP without EDP exchange.
Figure 3. Three main discovery architectures of DDS. Solid line indicates the full discovery procedure, including both PDP and EDP, whereas the dashed line represents the discovery process that involves only PDP without EDP exchange.
Drones 09 00564 g003
Figure 4. Conceptual diagram of DDS with network awareness. (a) Standard DDS discovery procedure using multicast PDP. (b) Proposed DDS discovery procedure with network awareness.
Figure 4. Conceptual diagram of DDS with network awareness. (a) Standard DDS discovery procedure using multicast PDP. (b) Proposed DDS discovery procedure with network awareness.
Drones 09 00564 g004aDrones 09 00564 g004b
Figure 5. Differences in network awareness structure. (a) Existing architecture. (b) Network awareness architecture.
Figure 5. Differences in network awareness structure. (a) Existing architecture. (b) Network awareness architecture.
Drones 09 00564 g005
Figure 6. Structural differences between Preloading discovery and Simple discovery. (a) Simple discovery. (b) Preloading discovery.
Figure 6. Structural differences between Preloading discovery and Simple discovery. (a) Simple discovery. (b) Preloading discovery.
Drones 09 00564 g006
Figure 7. Comparison of discovery structures between Simple and Preloading.
Figure 7. Comparison of discovery structures between Simple and Preloading.
Drones 09 00564 g007
Figure 8. DDS traffic comparison among Discovery methods, including PDP and EDP packet.
Figure 8. DDS traffic comparison among Discovery methods, including PDP and EDP packet.
Drones 09 00564 g008
Figure 9. Simulation System for DDS Discovery Performance Test.
Figure 9. Simulation System for DDS Discovery Performance Test.
Drones 09 00564 g009
Figure 10. Comparison of Fast DDS, Preloading DDS, Network-awareness DDS, and Combined Preloading + Awareness DDS. (a) Packet rate over time. (b) Packet ratio relative to total traffic.
Figure 10. Comparison of Fast DDS, Preloading DDS, Network-awareness DDS, and Combined Preloading + Awareness DDS. (a) Packet rate over time. (b) Packet ratio relative to total traffic.
Drones 09 00564 g010
Figure 11. Communication success rate according to the number of UAVs under different QoS settings. (a) DDS success rate with best-effort nodes. (b) DDS success rate with reliable nodes.
Figure 11. Communication success rate according to the number of UAVs under different QoS settings. (a) DDS success rate with best-effort nodes. (b) DDS success rate with reliable nodes.
Drones 09 00564 g011
Figure 12. Additional performance comparisons. (a) Communication success rate with increasing UAVs in multi-topic environments. (b) Instantaneous packet transmission rate over time.
Figure 12. Additional performance comparisons. (a) Communication success rate with increasing UAVs in multi-topic environments. (b) Instantaneous packet transmission rate over time.
Drones 09 00564 g012
Figure 13. Multiple UAVs simulation system based on PX4-ROS2 using Gazebo and NS-3.
Figure 13. Multiple UAVs simulation system based on PX4-ROS2 using Gazebo and NS-3.
Drones 09 00564 g013
Figure 14. Comparison of command reception times under different RSSI conditions across UAV experiments. (a) 10 UAVs experiment. (b) 15 UAVs experiment. (c) 20 UAVs experiment. (d) 30 UAVs experiment.
Figure 14. Comparison of command reception times under different RSSI conditions across UAV experiments. (a) 10 UAVs experiment. (b) 15 UAVs experiment. (c) 20 UAVs experiment. (d) 30 UAVs experiment.
Drones 09 00564 g014
Figure 15. DDS vendor communication success rate.
Figure 15. DDS vendor communication success rate.
Drones 09 00564 g015
Figure 16. UAV platform and hardware specifications. The image on the left shows the actual UAV used in the experiment, while the table on the right lists the major hardware components (left column) and their corresponding models (right column).
Figure 16. UAV platform and hardware specifications. The image on the left shows the actual UAV used in the experiment, while the table on the right lists the major hardware components (left column) and their corresponding models (right column).
Drones 09 00564 g016
Figure 17. Comparison of communication performance measured in real environment.
Figure 17. Comparison of communication performance measured in real environment.
Drones 09 00564 g017
Table 1. Comparison of existing DDS strategies and the proposed method.
Table 1. Comparison of existing DDS strategies and the proposed method.
Category [Refs.]ProsConsProposed
QoS tuning [12,13,14,22]Low learning cost and straightforward parameter configurationLimited to predefined QoS fields and static after deploymentNetwork awareness–based structural tuning enables fine-grained adaptation during runtime
Protocol redesign [15,16]Sliding-window or rate control methods improve throughputTakes effect only after discovery and applies only to unicast phaseControls traffic dynamically from the very first discovery packet
Wireless context [17,18]Real Wi-Fi and WSN testbeds quantify the QoS impact under wireless conditionsLacks structural solutions to suppress burst traffic during discoveryIntroduces a burst-reduction strategy tailored for UAV mesh using preloading and network awareness
Discovery overhead [23,24]Bloom filters or threshold-based filtering reduce discovery message countEvaluated only on wired local area network; impact on wireless networks remains unverifiedSuppresses discovery bursts in wireless UAV swarms through a preloading and awareness-guided scheme
Network-flow control [25]SDN prioritizes DDS traffic flows, reducing latency under congestionRequires dedicated switches and lacks awareness prior to discovery initiationAchieves comparable latency benefits without SDN infrastructure by incorporating network awareness
Table 2. Symbols used DDS traffic counters.
Table 2. Symbols used DDS traffic counters.
SymbolDefinition
N tx MAC Total MAC-layer transmission attempts (initial + retransmission)
N drop MAC Frames discarded by the MAC
N tx PHY Total PHY transmission attempts (initial + retransmission)
N retx PHY Number of retransmitted PHY frames (a subset of N tx PHY )
N rx PHY Total frames successfully received at the PHY layer
N drop PHY Frames discarded by the PHY
Table 3. Comparison of DDS traffic counters by node count.
Table 3. Comparison of DDS traffic counters by node count.
DDSNodesMAC Layer Counters PHY Layer Counters
N tx MAC ¯ N drop MAC ¯ N tx PHY ¯ N retx PHY ¯ N rx PHY ¯ N drop PHY ¯
ConnextDDS51765.0382.2 5228.53845.720,729.3184.7
1066,195.738,136.0 105,955.077,895.3944,429.39165.7
15175,573.0132,392.7 144,926.7101,746.31,989,258.339,715.0
20269,827.0231,970.7 115,272.377,416.02,121,877.068,297.3
CycloneDDS51027.020.5 3601.52595.013,937.5468.5
104787.0817.0 14,674.010,704.0127,086.74979.3
1524,188.79612.0 43,435.728,859.0582,037.026,062.3
2090,054.349,879.7 91,508.351,333.71,659,114.779,543.7
FastDDS52818.0871.5 8392.76446.233,416.8153.8
10196,838.3170,144.7 114,511.387,817.71,025,030.35571.7
15396,507.0362,680.3 135,503.7101,677.01,873,223.323,828.0
20485,902.0456,977.7 104,396.775,472.31,932,302.051,234.7
Ours5573.312.31979.31418.37816.0101.3
102113.3275.77876.36038.770,094.0793.0
155232.01351.716,802.312,922.0232,490.32742.3
208765.73221.023,688.318,143.7443,523.36555.0
Table 4. Comparison of DDS performance metrics across varying node count.
Table 4. Comparison of DDS performance metrics across varying node count.
DDSNodes R drop PHY (%) R drop MAC (%) R retx PHY (%)
ConnextDDS53.5221.2273.53
108.6057.4773.50
1527.4375.4070.20
2059.2785.9367.17
CycloneDDS513.221.9872.03
1033.9017.0772.93
1559.9039.7066.37
2086.9055.4056.07
FastDDS51.8230.4276.82
104.8786.4776.70
1517.6091.4375.03
2049.1094.0072.30
Ours55.172.2071.63
1010.0713.0376.67
1516.3325.7776.90
2027.6736.7076.57
Bold values indicate the best-performing DDS implementation at each node count.
Table 5. Peak traffic comparison across DDS vendors in real-world environments.
Table 5. Peak traffic comparison across DDS vendors in real-world environments.
DDS ImplementationPeak Traffic (Packets/s) Δ from Ours (%)
Mean Std. Dev. Mean ↓ Std. Dev. ↓
FastDDS2593.563948.21 97.64%97.21%
CycloneDDS852.891312.24 92.83%91.60%
Ours61.11110.19
Bold values indicate the lowest (best) traffic metrics among all implementations. ↓ indicates the percentage reduction relative to our method.
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Lee, H.; Kim, D.; Moon, S. Optimizing Data Distribution Service Discovery for Swarm Unmanned Aerial Vehicles Through Preloading and Network Awareness. Drones 2025, 9, 564. https://doi.org/10.3390/drones9080564

AMA Style

Lee H, Kim D, Moon S. Optimizing Data Distribution Service Discovery for Swarm Unmanned Aerial Vehicles Through Preloading and Network Awareness. Drones. 2025; 9(8):564. https://doi.org/10.3390/drones9080564

Chicago/Turabian Style

Lee, HyeonGyu, Doyoon Kim, and SungTae Moon. 2025. "Optimizing Data Distribution Service Discovery for Swarm Unmanned Aerial Vehicles Through Preloading and Network Awareness" Drones 9, no. 8: 564. https://doi.org/10.3390/drones9080564

APA Style

Lee, H., Kim, D., & Moon, S. (2025). Optimizing Data Distribution Service Discovery for Swarm Unmanned Aerial Vehicles Through Preloading and Network Awareness. Drones, 9(8), 564. https://doi.org/10.3390/drones9080564

Article Metrics

Back to TopTop