C2Flight: A Closed-Loop Co-Simulation Framework for Early-Stage Evaluation of Heterogeneous UAV Computing Systems

Xizhu Chen, Shuyuan Zhang, Yixuan Li, Huazhong Yang, Yu Wang, Jincheng Yu, Hongyang JiaarXiv 2026

Designing a drone isn't just about picking a fast processor or a clever algorithm; it’s about how those pieces dance together in a split-second feedback loop. A tiny delay in image processing or a jittery Wi-Fi link can be the difference between a smooth flight and a crashed quadrotor.

In their paper, "C2Flight: A Closed-Loop Co-Simulation Framework for Early-Stage Evaluation of Heterogeneous UAV Computing Systems," Chen et al. introduce a framework that lets engineers test these complex interactions long before the final hardware is even built.

TL;DR

C2Flight is a co-simulation framework that enables closed-loop evaluation of UAV computing systems by mixing models of unfinished components with real, available hardware. By representing the system as a parameterized dataflow graph, it accurately predicts how hardware and software choices—like bit-width quantization or offboarding compute to the cloud—will impact actual flight performance.

What Problem Does This Paper Address?

The "robotic feedback loop" is a fickle beast. In autonomous UAVs, decisions about algorithms, hardware architecture, and communication links are tightly coupled. For example, using low-bit quantization (like INT4) makes an AI model run faster but less accurately. Does the speed boost compensate for the "fuzzier" vision? You can't know for sure just by looking at isolated metrics like frames-per-second (FPS).

Currently, designers often have to wait until a system is fully integrated to see if it actually flies well. This "integration delay" means that by the time you discover a bottleneck, it might be too late (or too expensive) to change the hardware. C2Flight aims to move this feedback to the "early-stage" design phase, where architectural decisions are still reversible.

Methods

The core innovation of C2Flight is its ability to decouple the system structure from the implementation. It uses two main components:

  1. Parameterized Dataflow Graph: The system is modeled as a graph of ComputeNodes (processing), CommNodes (links like Wi-Fi or UART), and a DroneNode (the physical environment). This allows designers to swap a "model" of a future chip for a "real" physical processor without rebuilding the entire simulation.
  2. Unified Node Interface: As shown in Figure 3, the framework uses a standardized interface to handle three types of backends:
  3. Call: For local software or analytical models.
  4. Request: For accessing external, independently running hardware.
  5. Timed: For complex backends with internal queues and pipelines.
The unified node interface allows C2Flight to mix software models and physical hardware seamlessly.

A GraphRuntime Scheduler then orchestrates these nodes on a shared timeline, capturing the messy realities of buffering, resource sharing, and timing jitter that traditional simulators often ignore.

Datasets and Experimental Setup

The authors validated C2Flight using a mix of established tools and custom hardware:

  • Environment: AirSim for high-fidelity rendering and Crazyflow for drone dynamics.
  • Workload: The PULP-DroNet architecture, a deep learning model designed for autonomous navigation.
  • Hardware: They tested both an onboard configuration (using GAP8 and STM32 processors) and an offboard configuration (sending data over Wi-Fi to an NVIDIA RTX 4070 GPU).
  • Task: Navigating an 8-meter tunnel with staggered obstacles, requiring precise left-right avoidance maneuvers.

Key Insights and Ideas

  • Timing Fidelity is King: The researchers found that simple "sequential" models (which just add up delays) fail to predict flight success. C2Flight’s graph-based approach, which accounts for inter-node buffering and concurrent execution, achieved a timing error of less than 2.5% compared to real-world "Ground Truth" measurements.
  • The "Goldilocks" Bit-Width: In a case study on accelerator design, they compared INT4, INT8, FP16, and FP32. While INT4 was the fastest, its accuracy loss caused the drone to fail at high speeds. INT8 emerged as the winner, providing the best balance of speed and precision for this specific navigation task.
  • Onboard vs. Offboard: While offboarding compute to a powerful cloud server seems attractive, C2Flight revealed that the communication jitter and latency of Wi-Fi often make it less reliable than a slower, but more consistent, onboard processor for high-speed flight (see Figure 5).
Comparison of onboard vs. offboard deployment showing how request rates and latency affect the highest achievable flight speed.

Key Results

  • High Prediction Accuracy: In the tunnel navigation task, C2Flight correctly predicted when the drone would fail due to compute bottlenecks, whereas standard software-only simulations (which ignore hardware delays) incorrectly predicted 100% success.
  • Trajectory Fidelity: As shown in Figure 4, the flight paths generated by C2Flight closely match the "Ground Truth" physical pipelines, capturing the subtle oscillations caused by processing lag.
C2Flight (CH/CM) trajectories closely follow the Ground Truth (GT), while simplified models (SC) fail to capture the impact of timing on flight paths.

Limitations and Future Work

While C2Flight is a powerful tool for pre-silicon evaluation, the authors note a few areas for growth:

  • Sim-to-Real Gap: The current validation relies on simulated environments (AirSim). Future work will involve validating the framework against actual physical flight data.
  • Automation: Currently, profiling components and integrating them into the backend requires manual effort. The team aims to streamline this process to support a wider variety of hardware platforms.
  • Design Space Exploration: The ultimate goal is to integrate C2Flight with automated tools that can "search" for the optimal combination of algorithms and hardware automatically.

Summary updated

BibTeX
@misc{chen2026c,
  author = {Xizhu Chen and Shuyuan Zhang and Yixuan Li and Huazhong Yang and Yu Wang and Jincheng Yu and Hongyang Jia},
  title = {{C2Flight: A Closed-Loop Co-Simulation Framework for Early-Stage Evaluation of Heterogeneous UAV Computing Systems}},
  year = {2026},
  eprint = {2610.14715},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.14715},
}
Figure