Scalable end-to-end multi-agent simulation for unmanned vehicles

MODIFLY addresses the limitations of existing UAV simulation platforms by providing a scalable, cross-platform environment that simulates realistic communication and dynamic conditions, enabling reliable and safe multi-agent UAV coordination through dynamic communication modeling and mixed-reality integration.

US20260378174A1Pending Publication Date: 2026-11-26BOARD OF RGT THE UNIV OF TEXAS SYST
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
US19/682337
Authority / Receiving Office
US · United States
Patent Type
Applications(United States)
Current Assignee / Owner
Priority Date
2025-05-19
Filing Date
2026-05-19
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Current simulation platforms for multi-agent unmanned aerial vehicle (UAV) systems fail to replicate real-world conditions such as intermittent communication, varying computational resources, and dynamic environments at scale, limiting the reliability and scalability of multi-agent UAV coordination.

Method used

MODIFLY, a scalable, cross-platform, end-to-end simulation platform, incorporates dynamic communication modeling, including link degradation, supports distributed execution, and integrates real drones with virtual environments, enabling realistic training and testing through a centralized master scene graph, role-based package distribution, and configurable network degradation models.

Benefits of technology

MODIFLY provides a highly scalable and realistic simulation environment that enhances the development and validation of UAV coordination strategies, ensuring reliability and safety by accurately simulating real-world conditions, including communication constraints and mixed-reality interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US20260378174A1-D00000_ABST
    Figure US20260378174A1-D00000_ABST
Patent Text Reader

Abstract

Disclosed is a scalable mixed-reality simulation platform for multi-agent unmanned aerial vehicles (MODIFLY). The system features a central controller maintaining a master 3D scene graph, distributed device instances across multiple nodes, and a realistic communication bottleneck that introduces packet loss and latency on TCP / UDP channels. Physical drones operating in blank space receive streamed scene data aligned via IMU, enabling hybrid testing of coordination algorithms under realistic network conditions. The platform supports horizontal scaling via self-contained packages and provides RL environment wrappers for OpenAI Gym and PettingZoo.
Need to check novelty before this filing date? Find Prior Art

Description

PRIORITY

[0001] This application claims the benefit of U.S. Provisional Patent Application No. 63 / 807951, filed May 19, 2025, the entire contents of which are hereby incorporated by reference.STATEMENT REGARDING FEDERALLY FUNDED RESEARCH

[0002] This invention was made with government support under N00014-23-1-2323 awarded by Office of Naval Research. The government has certain rights in this invention.FIELD

[0003] The present disclosure relates to unmanned vehicles. In particular, the present disclosure is related to a system and method for a scalable end-to-end multi-agent simulation of unmanned vehicles.BACKGROUND

[0004] Multi-agent unmanned aerial vehicle (UAV) systems have emerged as a promising solution for complex applications such as industrial automation, surveillance, and disaster response. Multi-agent UAV control refers to the coordination and control of multiple unmanned aerial vehicles (UAVs), or drones, working together to accomplish shared goals. Instead of a single drone operating independently, multiple UAVs are managed as a team—either centrally or autonomously—using algorithms that allow them to communicate, avoid collisions, share information, and optimize performance. These multi-agent systems must operate reliably under real-world constraints including intermittent communication, varying computational resources, and dynamic environments, yet current simulation tools often fail to replicate these conditions at scale.BRIEF DESCRIPTION OF THE DRAWINGS

[0005] FIG. 1 is a 3D rendering of a multi-agent quadcopter environment with multiple simulated drones operating under a random policy according to the teachings of the present disclosure operating under a random policy, illustrating collision-free coordination in a shared 3D space.

[0006] FIG. 2 is a simplified block diagram showing the system architecture of the UAV simulation system and method referred to herein as MODIFLY according to the teachings of the present disclosure. The block diagram showing Controller, multiple Device clients, Worker nodes, monitoring software, and communication layers (TCP / UDP with bottleneck).

[0007] FIG. 3 is a monitoring software viewing for MODIFLY according to the teachings of the present disclosure.

[0008] FIG. 4A is a simplified block diagram of a package file structure of the UAV simulation system and method according to the teachings of the present disclosure.

[0009] FIG. 4B is a simplified block diagram of the network bottleneck simulation architecture with parallel UDP and TCP traffic handling through loss and delay models of the UAV simulation system and method according to the teachings of the present disclosure. Detailed architecture of the network bottleneck simulation showing parallel UDP packet loss model and TCP retransmission delay model.

[0010] FIG. 5 an image of a physical device / drone.

[0011] FIG. 6 is a simplified block diagram of the mixed reality simulation using a physical device / drone according to the teachings of the present disclosure. Mixed-reality setup in which a physical quadcopter (FIG. 5) in a blank physical space receives streamed scene graph data and IMU pose alignment to interact with virtual obstacles and peer agents.

[0012] FIGS. 7A and 7B are graphical illustration of the MODIFLY simulation platform performance on (A) a M3 MacBook Pro and (B) an AMD Rysen 6900HX according to the teachings of the present disclosure.

[0013] FIG. 8A is a pictorial illustration of visual artifacts under 37% packet loss with H.264 encoding.

[0014] FIG. 8B is a graphical illustration of frame parse success rate vs. packet loss from simulation results.DETAILED DESCRIPTION

[0015] Unmanned vehicles (UVs) encompass aerial, ground, and aquatic platforms. Among these, unmanned aerial vehicles (UAVs), and particularly quadcopters, have become the predominant form factor due to their exceptional maneuverability and ability to operate in confined or complex three-dimensional spaces. Multi-agent UAV systems—in which multiple vehicles coordinate to achieve shared objectives—represent a powerful approach for demanding real-world applications including industrial inspection and automation, persistent surveillance, disaster response and search-and-rescue, and logistics. Despite their promise, deploying reliable multi-agent UAV coordination remains technically challenging. Key barriers include the need to operate under realistic constraints such as intermittent and degraded communication links, limited on-board computation, imperfect sensing, and highly dynamic environments. Existing simulation platforms frequently fall short in replicating these conditions with sufficient fidelity and at meaningful scale, creating a persistent gap between simulated performance and real-world deployability.

[0016] To address these limitations, a scalable, cross-platform, end-to-end simulation platform (referred to herein as MODIFLY) tailored for multi-agent unmanned aerial vehicle (UAV) control is described herein. MODIFLY uses dynamic communication modeling, including link degradation, to accurately simulate real-world UAV operations. It supports distributed execution across multiple UAVs, seamless coordination, real-time monitoring, and user input capture. MODIFLY uniquely integrates real drones with virtual environments, allowing UAVs to interact with simulated obstacles and peer ones for hybrid reality testing. Additionally, the platform is designed to facilitate reinforcement learning (RL) research by providing compatibility with popular libraries like OpenAI Gym and PettingZoo, supporting both single-agent and multi-agent RL environments. MODIFLY offers an intuitive interface for real-time parameter tuning and performance analysis, making it a versatile tool for researchers and practitioners to develop and validate UAV coordination strategies under realistic conditions. MODIFLY achieves this through a combination of (1) a centralized master scene graph with latency-aware synchronization, (2) role-based self-contained package distribution, and (3) configurable network degradation models applied to both control and vision data streams.

[0017] Multi-agent coordination has become essential for addressing complex, large-scale robotic systems. Inspired by human social structures and networked systems, researchers seek to develop autonomous multi-agent robotic teams—particularly aerial unmanned vehicles (UVs)—capable of human-level collaboration. Such systems promise to perform tedious, dangerous, or economically critical tasks including industrial automation, surveillance, and emergency response more efficiently and safely. However, successful real-world deployment requires extensive validation in high-fidelity simulation environments that ensure reliability, safety, and scalability.

[0018] Simulating multi-agent UAV coordination is particularly challenging due to constraints on communication, computation, and sensing, combined with the need for robust scalability as the number of agents increases. Effective systems demand distributed control algorithms that support efficient collaboration under dynamic conditions. Yet, existing simulation platforms often fail to adequately address key issues such as scalability, high degrees of freedom, realistic communication degradation, and environmental non-stationarity, limiting their utility for evaluating real-world performance.

[0019] Currently, existing simulation platforms exist. Gazebo, a widely used open-source simulator, supports multi-agent physics-based simulations and integrates well with Robot Operating System (ROS). However, it has limited support for Windows, strong dependencies on ROS, and scalability constraints when simulating large drone fleets. Although some frameworks address multirobot coordination such as Multi-robot Multi-target Potential Field (MMPF) strategies or Byzantine threat modeling in ROS-based systems, they lack comprehensive end-to-end capabilities for realistic UAV simulations. Recently, ROS 2, an extension of ROS, has been introduced [9] which expedite the robotics research with freely available components and a modular framework. However, its support for UAV-specific simulation is limited. Several UAV-specific simulation efforts have been explored in the literature. Patel et al. simulated quadcopters using the Euler Lagrange method to investigate its modeling, and altitude model validation. Kaya et al. simulated a fuel battery hybrid powered UAV model in MATLAB / Simulink software for actual applications. Despite the success of these works, most existing simulation platforms, especially for UAVs remain restrictive. They fail to account for communication link degradation, real-time multi-agent control, and mixed-reality integration, which are important factors for realistic UAV deployment.

[0020] MODIFLY, the system and method described in this application is a scalable, cross-platform, end-to-end simulation platform for multi-agent UAVs. MODIFLY incorporates dynamic communication capabilities, including communication link degradation, to provide a realistic platform for UAV deployment in real-world conditions. It also supports distributed execution, which allows the coordination of multiple systems across multiple computers and the ability to monitor these devices easily in both a training and real-time setting. Each virtual device can capture user input through the monitoring software and simulate a camera based on the virtual environment. Users can import virtual obstacles and fly a simulated or real drone through these virtual obstacles, enabling highly dynamic, cost-effective, real-world testing. Additionally, to enhance the research in multi-agent quadcopter control, MODIFLY supports single-agent and multi-agent reinforcement learning (RL) environments based on OpenAI gym and Pettingzoo. Unlike prior systems, MODIFLY's communication bottleneck is applied uniformly to inter-agent messages, video streams, and scene-graph updates, enabling reproducible testing of robustness under configurable packet loss (0-50%) and latency (0-500 ms).

[0021] MODIFLY incorporates real-world communication constraints such as degraded links to enhance training fidelity. MODIFLY enables real drones to interact with virtual environments, including simulated obstacles and peer drones, for realistic training and testing. MODIFLY includes an intuitive interface for real-time monitoring, parameter tuning, and dynamic interaction with UAVs. To facilitate RL research, MODIFLY includes wrappers for single and multi-agent RL libraries such as stable-baselines3 and EPyMARL, respectively. In certain aspects, all controller-client communications are encrypted using industry-standard protocols (e.g., TLS 1.3) to reflect real-world operational security requirements.

[0022] For simplicity of presentation, quadcopters are referenced as a representation of the UAV platform. A quadcopter is an UAV equipped with four motors and can maneuver in six degrees of freedom (DoF). The maneuverability of quadcopters makes them particularly useful for control algorithm deployment and real-world applications. These applications include but are not limited to autonomous package delivery, aerial surveillance, search-and-rescue missions, etc. The Newton-Euler equations control the dynamics of a quadcopter, where the thrust, drag, and gravitational forces impact its trajectory. The translational motion along the x, y, and z axes and the rotational motion (roll, pitch, and yaw) form the six DoF of a quadcopter.

[0023] A three-stage proportional-integral-derivative (PID) controller is used to control the simulated quadcopter. A velocity or position setpoint is the input to the first stage of the controller, which is then used in the subsequent attitude controller and angular velocity controller. All the communications of this system are preferably built upon TCP and UDP sockets, where TCP sockets have reliable transmission and UDP sockets do not. The velocity / position setpoint feeds the outer loop. The attitude controller computes desired torques. The inner angular velocity loop generates motor commands. TCP is used for command-and-control and scene-graph synchronization. UDP is used for telemetry, video, and non-critical state updates.

[0024] Reinforcement learning (RL) is a branch of machine learning where an artificial agent learns to perform decision-making under uncertainty. In RL, an agent sequentially interacts with an environment that is usually unknown, and learns about the dynamics of the environment in a trial-and-error manner. The agent observes the current state, performs an action, receives a reward signal, and transits to the next state. Formally, an RL problem can be represented as a Markov Decision Process (MDP) which can be represented as a tuple (S, A, P, R, γ), where S denotes the state space, A represents the action space, P(s′|s, a) is the transition probability function that determines how an agent moves to the next state s′ by taking an action a in the current state s, R(s, a) represents the reward function that provides feedback for every action and γ denotes the discount factor [0, 1). In RL or MDP, the reward and state transition probability functions are usually unknown to the agent. The goal is to learn an optimal policy π(a|s) that maximizes the expected cumulative reward. The policy is considered Markov if it solely relies on the current state for action selection. If the same procedure is applied at each time step, the policy is considered as stationary. A policy can be either deterministic or stochastic. A deterministic policy, denoted as π(s)=a, returns a single action for a given state, while a stochastic policy, denoted as π(a|s)=Pπ[A=a|S=a], returns a probability distribution of selecting all possible actions in a state s. In this paper, we consider policies to be stationary, Markov, and stochastic.

[0025] In communication-aware multi-agent settings suitable for MODIFLY, the problem is naturally formulated as a Decentralized Partially Observable Markov Decision Process (Dec-POMDP) or a communication-augmented Markov Game. Let N be the number of agents. The environment is defined by the tuple S, {Ai}i=<sub2>1< / sub2><sup2>N< / sup2>, P, {Oi}i=<sub2>1< / sub2><sup2>N< / sup2>, {}i=<sub2>1< / sub2><sup2>N< / sup2>, γ, where S is the global state space, Ai is the action space of agent i, P(s′|s, a1 . . . aN) is the transition function, Oi is the observation space of agent i, is the (possibly shared) reward function for agent i, and γ is the discount factor.

[0026] To explicitly model realistic communication constraints, the local observation of each agent i at time t, oi<sub2>t< / sub2>∈Oi, is augmented to include both environmental observations (pose, velocity, sensor data) and a communication link quality vector li<sub2>t< / sub2>. This link quality vector may contain instantaneous metrics such as packet loss rate, expected latency, received signal strength (RSSI), bandwidth availability, or connection status to the controller and neighboring agents. Consequently, the effective state observed by each agent becomes ŝi<sub2>t< / sub2>=(environmental observation, li<sub2>t< / sub2>), enabling agents to learn policies π(ai|ŝi) that are explicitly communication-aware—e.g., adapting transmission frequency, switching between TCP / UDP modes, or triggering fallback behaviors when link quality degrades below configurable thresholds. This formulation allows MODIFLY users to train and evaluate multi-agent reinforcement learning policies that are robust to the dynamic network conditions inherent in real-world UAV operations.

[0027] MODIFLY is an end-to-end simulation platform designed for the development and testing of multi-agent UAV applications. It is highly scalable and compatible across various operating systems without performance degradation. MODIFLY is modular, which allows its software components to run on a single device or be distributed across multiple nodes. Moreover, it incorporates realistic communication constraints present in real-world drone operations. FIG. 2 illustrates the overall system architecture of the UAV simulation platform. MODIFLY includes a main controller connected to simulated devices, client devices, and workers. The platform supports multiple clients. In order to connect each client, a custom networking system is designed to take advantage of the clustered architecture.

[0028] Instead of relying on ROS, MODIFLY enables users to implement custom control logic through lightweight Lua scripts. Lua's minimalist design, small memory footprint, and seamless embeddability make it particularly well-suited for rapid iteration in distributed, multi-node environments. Unlike ROS, which requires managing complex package dependencies, build systems (catkin / colcon), and node configurations that can introduce significant overhead when deploying across heterogeneous clusters, Lua scripts can be edited, packaged, and hot-reloaded with minimal friction. A single self-contained package archive can be pushed to the controller and automatically distributed to all nodes, eliminating the need for per-node recompilation, environment synchronization, or ROS-specific middleware. This enables researchers and developers to prototype new behaviors, tune parameters, or modify coordination algorithms in minutes rather than hours, while maintaining consistent execution across Windows, macOS, and Linux systems. Lua's fast execution and low resource usage further support real-time simulation at scale without the computational burden often associated with ROS-based frameworks.

[0029] Additionally, MODIFLY also includes a monitoring tool that allows the user to load 3D scenes, visualize an entire system of devices, and record telemetry data. The full monitoring tool window, including the different views, cockpit, and visualizer, can be seen in FIG. 3.

[0030] The Controller is a central node that manages all client connections through TCP and UDP servers. Due to the safety and security in real-world operations, all the clients'connections to the controller are encrypted. It dynamically chooses whether a message should be sent through a TCP or UDP socket. Generally, messages that have tolerance for error will always be sent through UDP while messages that are dependent on order and have no tolerance for error will be sent through the TCP socket. This makes sure that all the transmissions are efficient and error-free.

[0031] The Controller also contains a master scene graph where simulated agents can update objects in this graph or create new objects by notifying the Controller. Objects in the master scene graph may include drones, terrain, obstacles, buildings, and sensor fields. The Controller then accumulates and aggregates these update requests and periodically sends a notification to other agents so they can synchronize with this graph. Object updates are not instantly reflected on different agents, thereby simulating a realistic latent effect. Updates are batched every N milliseconds (configurable, default 50 ms) and propagated with artificial jitter drawn from a normal distribution to simulate realistic network latency. This intentional delay is a core novel feature enabling training of latency-robust policies.

[0032] The Device is the client that connects to the Controller and responsible for providing control inputs to the simulated agents. Each simulated agent is self-contained, and can only communicate with other agents using the built-in inter-agent communication system. This allows for the ability to simulate communication errors between devices and with the controller. Each Device instance maintains its own local scene graph copy that is reconciled with the master graph upon receipt of updates.

[0033] In MODIFLY, Workers handle computationally intensive tasks offloaded from agents, such as inference of trained models. Workers can operate locally or in the cloud, hence making them highly useful for computationally extensive tasks. For instance, the inference of AI models especially the LLMs inference can be computationally challenging. As a consequence, they can be deployed on local networks or the cloud, addressing power and weight constraints on agents. All the Workers have their own scene graphs that are connected to the Controller.

[0034] MODIFLY is scalable. This means that it can be deployed across multiple end nodes simultaneously and can work with multiple clusters with minimal effort, requiring a single package file to be copied across nodes. MODIFLY is scalable as it allows networking of multiple computers together running multiple device instances. This is important for large-scale AI systems, such as reinforcement learning, where hardware limitations on a single resource—whether CPU or GPU—raise many challenges. MODIFLY facilitates horizontal scaling by adding new nodes rather than increasing the capabilities of a single system. This particular feature of MODIFLY creates an interconnected cluster of devices that efficiently share computational loads.

[0035] A Package is MODIFLY in a self-contained archive that includes all necessary scripts and resources to run a model across different environments. It also contains metadata, dependencies are roles for different devices and workers. FIG. 4A shows the Package file structure that includes core components, dependencies, and required execution resources. In MODIFLY, packages are particularly designed to operate without hard library dependencies which enables homogeneous deployment across the simulation environment. This makes it easy to push a single archive file to the controller, which then distributes the scripts to each client based on its role and ensures scaling from a single device to clusters of multiple computers that can be setup without additional configuration during updates or deployments. Furthermore, this guarantees that a single piece of code runs uniformly across all nodes where the runtime is installed and underscores the scalability, feasibility, and ease of use in complex multi-agent systems.

[0036] Communication is an integral part of building real-world UAV systems, where reliable coordination among agents, the controller, and external infrastructure is essential for safe and effective operation. To replicate the challenges of real-world deployments, MODIFLY incorporates a configurable communication bottleneck simulator (FIG. 4B) that introduces realistic faults and degradations in both TCP and UDP connections. This bottleneck is positioned as a transparent middleware layer between the application logic and the underlying network sockets, allowing precise control over network conditions without modifying agent or controller code.

[0037] The bottleneck implements distinct stochastic models tailored to the semantics of each transport protocol. For UDP traffic, which is inherently lossy and unordered, the system applies an independent Bernoulli packet loss model. Each outgoing UDP packet is dropped with probability p (where 0≤p≤1), configurable per link or globally. This simple yet effective model captures random packet loss due to interference, congestion, or weak signal strength common in aerial operations. Users may also configure correlated loss patterns (e.g., burst losses) by adjusting the underlying random process.

[0038] For TCP traffic, which guarantees reliability through retransmissions, the bottleneck models the resulting end-to-end latency caused by packet loss and recovery. When a packet is lost (again using probability p), the simulator injects an additional delay drawn from a distribution that approximates real TCP retransmission behavior. In one embodiment, this delay D follows an exponential distribution D~Exponential(λ), where the rate parameter λ is tuned to reflect typical wireless network round-trip times and backoff behavior. In other embodiments, empirically measured retransmission distributions or more sophisticated models (e.g., incorporating TCP Reno / NewReno congestion control dynamics) may be used. The net effect is increased and variable latency for reliable messages, accurately simulating the performance penalty observed in degraded wireless links.

[0039] The bottleneck is implemented as a middleware layer that can be enabled, disabled, or fully parameterized at runtime via the monitoring interface. Users can dynamically adjust parameters such as per-link packet loss probability p, TCP retransmission delay distribution parameters, bandwidth limits, or jitter characteristics during live simulation sessions. This runtime configurability enables rapid experimentation—for example, gradually increasing degradation to observe tipping points in control stability or video stream quality—without restarting the system.

[0040] By providing these tunable, protocol-aware degradation models, MODIFLY allows developers to stress-test control algorithms, video streaming pipelines (e.g., H.264 as shown in FIG. 8A-8B), reinforcement learning policies, and coordination strategies under realistic non-ideal network conditions. The resulting fidelity significantly narrows the sim-to-real gap, enabling more robust and deployable multi-agent UAV solutions.

[0041] MODIFLY bridges the simulation-to-reality gap by supporting mixed-reality simulation, in which one or more physical UAVs operating in a blank physical space (e.g., an empty room or flight arena) seamlessly interact with a rich virtual environment containing simulated obstacles, peer agents, terrain, and mission objectives. This hybrid approach enables developers to test complex algorithms—such as collision avoidance, formation flight, and multi-agent coordination—using the true flight dynamics, motor characteristics, and sensor noise of physical hardware while retaining the safety, repeatability, and controllability of simulation.

[0042] In a typical mixed-reality configuration (FIG. 6), a physical quadcopter (FIG. 5) equipped with an onboard Inertial Measurement Unit (IMU) flies in open space while the MODIFLY controller streams relevant portions of the master scene graph to the physical device's onboard client. The physical UAV constructs and renders the virtual 3D environment locally in real time. To align the real-world pose of the physical drone with the virtual scene, the system continuously streams high-rate IMU data (typically at 100-500 Hz) from the physical device to the controller or local renderer.

[0043] Pose fusion is performed using a complementary filter or an Extended Kalman Filter (EKF) that combines high-frequency IMU measurements (accelerometer and gyroscope) with lower-frequency corrections from visual or simulated landmarks. In one embodiment, a complementary filter blends the short-term accuracy of IMU integration with long-term drift correction derived from the known geometry of simulated landmarks or fiducial markers optionally placed in the physical space. The fused pose estimate (position and orientation quaternion) is then used to update the virtual camera viewpoint, ensuring that the physical drone “sees” and responds to virtual obstacles as if they were real. This alignment occurs with sub-50 ms end-to-end latency in typical deployments.

[0044] Several practical failure modes are explicitly addressed. IMU integration is susceptible to drift over time due to sensor bias, noise, and double integration errors. MODIFLY mitigates this through periodic drift correction using simulated visual landmarks or known fixed features in the virtual environment whose projections can be matched against the physical camera feed when available. Additional safeguards include: (i) fallback to dead-reckoning with velocity limiting when IMU confidence drops, (ii) runtime monitoring and visual alerts in the monitoring interface when pose error exceeds configurable thresholds, and (iii) optional integration of ultra-wideband (UWB) or motion-capture ground truth (when available) for high-precision applications. These mechanisms ensure safe and accurate mixed-reality operation even under prolonged flights or aggressive maneuvers.

[0045] By tightly coupling real flight dynamics with a fully controllable simulated world, MODIFLY enables rapid iteration of perception, planning, and control algorithms under conditions that closely approximate real-world deployment while maintaining the safety net of a virtual environment.

[0046] These simulations couple a real physical (UAV) device (FIG. 5) operating in a blank space with a simulated environment. This means that developers can add simulated obstacles and goals while testing real flight dynamics. To achieve this, a scene graph is streamed from the Controller to all client devices in the network. These devices then construct a 3D scene using a renderer with camera position and orientation data being received from the IMU (Inertial Measurement Unit) of the physical device (FIG. 5).

[0047] To demonstrate the scalability of MODIFLY by just using CPUs, analysis is done on two different computers using single-threaded execution. This analysis demonstrates the performance impact of increasing instances within a shared thread. To fairly evaluate the performance, we created an object detection task where each device ran all scripts, scheduled tasks, and physics simulation while also rendering a camera frame from a 3D scene. The Mobilenet SSD V3 model2 trained on the COCO 2017 dataset 3 was used for the analysis. The model utilized TensorflowLite with an XNNPack, integrated through control scripts that connected the camera feed to the inference engine. The inference pipeline rendered the 3D scene into an image, scaled this image down, and then pushed this image into the model.

[0048] As shown in FIG. 7A, the single-threaded performance scales linearly with an increasing number of instances. While the performance for a single thread initially looks suboptimal, this is consistent with the computational overhead from parallel tasks and CPU-only inference. Future works could explore scaling with respect to a GPU or other accelerator, though the current focus was to assess the CPU performance on differing devices. Similarly, in the Windows-based system (FIG. 7B), the single instance performance shows higher variance. This variance is most likely caused by the Window's Operating System thread scheduler as MODIFLY yields the thread back to the operating system after each iteration. With a completely different operating system and CPU architecture, its performance is largely similar to the M3 Macbook Pro.

[0049] Based on these results, the most optimal configuration would require that each drone has its own dedicated thread. Due to the limited threading capabilities of processors, this demonstrates that clustering of multiple computers is necessary to achieve any large-scale end-to-end simulation of intelligent devices.

[0050] To demonstrate communication degradation as part of the simulated bottleneck (FIG. 4B), the relationship between packet loss percentage and valid decoded video frame was analyzed. In this context, a valid frame is defined as a frame that contains sufficient data for the H.264 decoder to generate an output frame. The experimental setup simulates devices that render a 3D scene, encode that scene using H.264 compression, pushes the frame through the bottleneck to the Controller. The Controller then forwards this frame data to the monitoring software (FIG. 3) that measures the frame reception rate. The maximum frames per second that can be sent by the device has been limited to 15 frames per second.

[0051] While H.264 encoding handles packet loss, it generally expects these losses to be transient. Results demonstrate that even the low sustained packet loss rates of 1% start to drop frames and impact the visual artifacts. As shown in FIG. 8B, approximately 30% packet loss the received frame rate fluctuates between 0 and 8 frames per second. If this video is being streamed to another device to run any sort of inference or algorithm based on this feed, it would quickly become unusable after even a small sustained packet loss. As packet loss increases and fewer key frames are transmitted without error, an H.264 stream quickly becomes littered with artifacts (FIG. 8A). These degraded frames become particularly unstable for real-world applications. While utilizing TCP as a reliable transmission protocol can prevent such artifacts, it presents a fundamental trade-off between transmission reliability and performance overhead. At 37% sustained packet loss, H.264 streams exhibit severe macro-blocking (FIG. 8A) and frame parse success drops below 40% (FIG. 8B), demonstrating why TCP is preferred for critical video in degraded links.

[0052] MODIFLY is a scalable, cross-platform, end-to-end simulation platform for the control of multiple UAVs. This platform differs from existing ones by introducing realistic communication modeling, distributed execution, easy environment setup and deployment, operational scalability, mixed reality, and RL-compatible. This approach is scalable, supports different communication features, and is easily deployable.

[0053] While MODIFLY provides an abstraction of typical communication features, the development and optimization of multi-agent RL algorithms considering these features is significantly lacking. Hence, one interesting research direction is the development of new multi-agent RL algorithms and approaches to address the challenge that communication among agents can be noisy, unreliable, and range-dependent. Meanwhile, testing of these algorithms in simulated and real-world environments is a requirement for their deployment. Another interesting direction is to create benchmark scenarios that can be used to quantify the effectiveness of both existing and new algorithms.

[0054] It should be noted that although the description herein places emphasis on UAVs and quadcopters, the MODIFLY system and method are equally adaptable to the simulation of other forms of UVs. MODIFLY can be extended to heterogeneous vehicle types (UAV+UGV) and 5G / satellite communication models.

[0055] The features of the present invention which are believed to be novel are set forth below with particularity in the appended claims. However, modifications, variations, and changes to the exemplary embodiments described above will be apparent to those skilled in the art, and the system and method described herein thus encompasses such modifications, variations, and changes and are not limited to the specific embodiments described herein.REFERENCESBabu and Behl, 1614-1620, IEEE (2020)

[0057] Brockman, Openai gym. arXiv preprint arXiv:1606.01540 (2016)

[0058] Deng et al., Proceedings of the 24th International Symposium on Research in Attacks, Intrusions and Defenses. pp. 17-32 (2021)

[0059] Finn and Scheding, Intelligent Systems Reference Library 3, 128-154 (2010)

[0060] Griffin, Geomatica 68(4), 265-281 (2014)

[0061] Kaya et al., International Journal of Sustainable Aviation 3(2), 130-150 (2017)

[0062] Kim et al., Ieee Access 7, 105100-105115 (2019)

[0063] Koenig and Howard, 2004 IEEE / RSJ international conference on intelligent robots and systems (IROS)(IEEE Cat. No. 04CH37566). vol. 3, pp. 2149-2154. Ieee (2004)

[0064] Macenski et al., Science Robotics 7(66), eabm 6074 (2022).

[0065] Ma'Sum et al., 2013 international conference on advanced computer science and information systems (ICACSIS). pp. 161-166. IEEE (2013)

[0066] Papoudakis et al., arXiv:2006.07869 (2020)

[0067] Patel and Barve, 2014 9th International Conference on Industrial and Information Systems (ICIIS). pp. 1-6. IEEE (2014)

[0068] Raffin et al., Journal of Machine Learning Research 22(268), 1-8 (2021)

[0069] Straub, Technology in Society 39, 100-109 (2014)

[0070] Sutton, Reinforcement learning: An introduction. A Bradford Book (2018)

[0071] Terry et al., Advances in Neural Information Processing Systems 34, 15032-43 (2021)

[0072] Waharte and Trigoni, 2010 international conference on emerging security technologies. pp. 142-147. IEEE (2010)

[0073] Wang et al., IEEE Trans-actions on Vehicular Technology 68(3), 2124-36 (2019)

[0074] Yu et al., 2021 IEEE International Conference on Robotics and Automation (ICRA). pp. 8779-8785. IEEE (2021).

Claims

1. A mixed reality unmanned aerial vehicle (UAV) simulation computing platform operable with at least one physical unmanned aerial vehicle, the platform comprising:a controller in communication with the physical unmanned aerial vehicle operating in a blank physical space, the controller maintaining a 3D master scene graph containing a plurality of simulated objects within a simulated environment;a plurality of simulated devices executable across a plurality of distributed computer nodes, each simulated device in communication with the controller and with other simulated devices via an inter-agent communication system;wherein the inter-agent communication system is configured to introduce simulated degraded communication conditions and intentional latency injection, including at least one of packet loss and communication delay, between the simulated devices and between the simulated devices and the controller; andwherein the controller is configured to stream relevant portions of the master scene graph to the physical unmanned aerial vehicle and to the plurality of simulated devices, thereby enabling the physical unmanned aerial vehicle to navigate within the simulated environment according to a complex operational algorithm while interacting with the plurality of simulated objects.

2. The mixed reality UAV simulation computing platform of claim 1, further comprising at least one worker node in communication with the controller, the worker node configured to offload computationally intensive tasks including inference of trained machine learning models from one or more of the simulated devices or the physical unmanned aerial vehicle.

3. The mixed reality UAV simulation computing platform of claim 1, wherein the controller dynamically selects between TCP and UDP sockets for message transmission based on reliability requirements of individual messages.

4. The mixed reality UAV simulation computing platform of claim 1, wherein the inter-agent communication system implements a stochastic packet loss model for UDP traffic and a retransmission delay model for TCP traffic to simulate real-world network bottlenecks.

5. The mixed reality UAV simulation computing platform of claim 1, further comprising a self-contained package archive including control scripts, drone scripts, resources, dependencies, and a manifest, wherein the package is distributable by the controller to the plurality of computer nodes to enable homogeneous deployment across heterogeneous hardware.

6. The mixed reality UAV simulation computing platform of claim 1, wherein object updates to the master scene graph are aggregated by the controller and propagated to agents with intentional latency to simulate realistic communication delays in the scene graph synchronization.

7. The mixed reality UAV simulation computing platform of claim 1, further comprising a monitoring client configured to load 3D scenes, visualize the entire multi-agent system in real time, capture user inputs, and record telemetry data from both physical and simulated devices.

8. The mixed reality UAV simulation computing platform of claim 1, wherein each simulated device is configured to render a virtual camera view of the simulated environment and stream encoded video frames through the communication bottleneck to the controller or monitoring client.

9. The mixed reality UAV simulation computing platform of claim 1, further comprising reinforcement learning (RL) environment wrappers compatible with at least one of OpenAI Gym and PettingZoo for single-agent and multi-agent RL training.

10. The mixed reality UAV simulation computing platform of claim 1, wherein the physical unmanned aerial vehicle receives camera position and orientation data from an onboard Inertial Measurement Unit (IMU) to align its real-world pose with the streamed master scene graph.

11. A computer-implemented method for scalable multi-agent unmanned vehicle simulation, the method comprising:maintaining, at a central controller, a 3D master scene graph representing a shared simulated environment containing multiple agents and objects;executing a plurality of simulated device instances across one or more distributed computing nodes;establishing inter-agent communication channels that selectively apply simulated network degradation including packet loss and latency to messages transmitted between agents and between agents and the controller; streaming relevant portions of the master scene graph from the controller to the simulated device instances and to at least one physical unmanned vehicle operating in a blank physical space; andenabling the physical unmanned vehicle and the simulated device instances to interact with the simulated objects under realistic communication constraints while executing coordinated control algorithms.

12. The method of claim 11, further comprising off-loading computationally intensive inference tasks from the simulated devices or the physical unmanned vehicle to one or more dedicated worker nodes.

13. The method of claim 11, further comprising packaging simulation components into a self-contained archive and distributing the archive from the controller to the computing nodes according to role metadata contained in a manifest.

14. The method of claim 11, further comprising dynamically routing control messages via TCP sockets and non-critical data via UDP sockets based on message reliability requirements.

15. The method of claim 11, further comprising rendering camera frames from the simulated environment, encoding the frames using H.264 or equivalent, and measuring frame parse success rate under varying levels of simulated packet loss.

16. The method of claim 11, further comprising integrating a three-stage PID controller for low-level attitude and velocity control of both simulated and physical quadcopter agents.

17. The method of claim 11, further comprising providing real-time parameter tuning and system monitoring through a graphical interface that visualizes the master scene graph and agent states.

18. The method of claim 11, wherein the simulated network degradation is parameterized to allow testing of control algorithms under configurable communication link quality conditions.

19. The method of claim 11, wherein the inter-agent communication system applies a stochastic UDP packet loss model and a TCP retransmission delay model.

20. The method of claim 11, further comprising offloading machine learning inference to one or more worker nodes.

21. (canceled)22. (canceled)23. (canceled)