[Paper Review] FlyNetSim: An Open Source Synchronized UAV Network Simulator based on ns-3 and Ardupilot
FlyNetSim is an open-source, synchronized UAV-network simulator integrating ns-3 and ArduPilot via a lightweight publish-subscribe middleware to enable end-to-end, time-synchronized simulation of UAV swarms in complex urban IoT environments. It supports multi-technology networking, real-time data streaming, intra-swarm D2D communications, and on-board emulation, enabling accurate evaluation of network performance and UAV operations under realistic conditions with minimal resource overhead.
Unmanned Aerial Vehicle (UAV) systems are being increasingly used in a broad range of applications requiring extensive communications, either to interconnect the UAVs with each other or with ground resources. Focusing either on the modeling of UAV operations or communication and network dynamics, available simulation tools fail to capture the complex interdependencies between these two aspects of the problem. The main contribution of this paper is a flexible and scalable open source simulator -- FlyNetSim -- bridging the two domains. The overall objective is to enable simulation and evaluation of UAV swarms operating within articulated multi-layered technological ecosystems, such as the Urban Internet of Things (IoT). To this aim, FlyNetSim interfaces two open source tools, ArduPilot and ns-3, creating individual data paths between the devices operating in the system using a publish and subscribe-based middleware. The capabilities of FlyNetSim are illustrated through several case-study scenarios including UAVs interconnecting with a multi-technology communication infrastructure and intra-swarm ad-hoc communications.
Motivation & Objective
- To bridge the gap between UAV flight dynamics and network communication modeling, which existing simulators often oversimplify or decouple.
- To enable accurate, synchronized simulation of UAV swarms within multi-layered urban IoT infrastructures involving Wi-Fi, LTE, D2D, and edge/cloud computing.
- To preserve full fidelity of UAV control pipelines and sensor data paths through a software-in-the-loop approach using ArduPilot.
- To support end-to-end data-path simulation for telemetry, video streaming, and QoS evaluation across heterogeneous network conditions.
- To enable emulation mode, allowing real UAVs to interact with simulated network environments for real-world validation.
Proposed method
- FlyNetSim integrates ns-3 for network simulation and ArduPilot for UAV flight and control simulation via a custom middleware layer.
- The middleware uses a publish-subscribe pattern to establish bidirectional, time-synchronized data paths between UAVs and network nodes.
- Each UAV in the simulation is mapped one-to-one with an ns-3 wireless node, supporting multiple network interfaces and full protocol stack simulation.
- The system preserves individual UAV state data, including battery levels, GPS location, and sensor outputs, enabling closed-loop simulation.
- A graphical user interface (GUI) enables scenario configuration, real-time visualization, and automatic scenario generation.
- Emulation mode allows real UAVs (e.g., 3DR Solo) to interface with the simulator via serial communication, enabling on-board simulation during flight.
Experimental results
Research questions
- RQ1How does network delay and congestion affect UAV control performance when operated via Wi-Fi from a Ground Control Station?
- RQ2To what extent can multi-network communication strategies (e.g., combining Wi-Fi and LTE) improve reliability and throughput in UAV uplink/downlink scenarios?
- RQ3Can D2D communications among UAVs effectively extend network coverage and reduce dependency on ground access points in urban environments?
- RQ4How do varying levels of channel contention impact the quality of real-time video streaming from UAVs, measured by PSNR and inter-frame timing?
- RQ5Can FlyNetSim support real-time, end-to-end data processing and edge-computing workloads in UAV-based IoT applications?
Key findings
- In Wi-Fi-based UAV control scenarios, network delay and congestion significantly degrade control responsiveness, with measurable increases in control loop jitter and latency.
- When 10 additional nodes contend for the same Wi-Fi channel, video streaming quality degrades by over 13 dB in Peak Signal-to-Noise Ratio (PSNR), indicating severe visual artifact degradation.
- Inter-frame time for video streams increased above the expected 33.3 ms (30 fps) baseline as channel contention rose, indicating buffering and jitter effects.
- D2D communications among UAVs in a line topology extended network coverage beyond the range of a single access point, enabling persistent connectivity in sparse or obstructed environments.
- FlyNetSim successfully enabled real-time video streaming from a UAV with end-to-end QoS measurement, demonstrating support for high-fidelity IoT application evaluation.
- The emulation mode was successfully validated using a 3DR Solo UAV, where real telemetry data (battery, GPS) was received and visualized through the simulator, confirming bidirectional communication and system stability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.