Introduction
Autonomous vehicle (AV) development has long been hindered by the "black box" nature of proprietary software stacks. While these closed systems allow for rapid internal development, they present significant barriers to independent researchers attempting to verify safety-critical performance or experiment with novel configurations. Researchers from Duke University have introduced AVstack, an open-source, modular software platform designed to address these challenges. By integrating collaborative sensing (V2V/V2I) and distributed edge computing, AVstack provides a seamless pipeline for testing AV algorithms across datasets, simulators, and real-world hardware.
The Challenge of Monolithic AV Architectures
Most state-of-the-art AV platforms are either proprietary or, in the case of open-source alternatives like Baidu’s Apollo or Autoware, often monolithic. These "non-modular" architectures make it difficult to swap out specific components or test emerging concepts such as multi-agent collaboration.
Furthermore, there is a distinct lack of tools that support collaborative autonomy—where vehicles share perception data—and distributed computation, where intensive processing tasks are offloaded to edge servers. AVstack aims to bridge this gap by providing a flexible, "bottom-up" ecosystem that allows researchers to transition from offline datasets to closed-loop simulations and physical hardware with minimal code modifications.
System Architecture and Methodology
The AVstack architecture is built around two core libraries: the AVstack logic library and the ZeroMQ (ZMQ) communication framework. The platform is defined by three distinct operational configurations:
- Camera-Radar (C+R) Fusion: A standard local setup where 2D camera detections are fused with 3D radar points to create a spatial understanding of the environment.
- Collaborative V2V/V2I (C+R-CoVI): This configuration enables the vehicle to ingest high-level "tracks" from neighboring vehicles or smart infrastructure, fusing external intelligence with its own local sensor data.
- Distributed Computation (C+R-Dist): Optimized for low-power mobile platforms, this mode offloads computationally intensive tasks—such as stereo image processing—to a nearby edge server.
The core innovation of the platform is its data-source agnostic interface. Because the software treats data from a folder (dataset), a socket (simulator), or a wire (physical sensor) identically, researchers can validate algorithms in one environment and deploy them in another almost instantaneously.
Experimental Environments
To demonstrate the platform's versatility, the authors validated AVstack across three distinct environments:
- Industry Datasets: Support for KITTI and nuScenes allows for benchmarking against real-world driving captures.
- CARLA Simulator: Used for closed-loop, multi-agent simulations, providing a controlled environment for testing complex sensor configurations and agent interactions.
- Physical Sensing Rig: A custom hardware setup featuring FLIR BlackFly S cameras, a Texas Instruments IWR-1443 automotive radar, and a Raspberry Pi-based infrastructure node.
Key Insights
The Three-Part Ecosystem
AVstack promotes a rigorous development workflow: validating first on datasets, then in simulators, and finally on hardware. This ensures that components receive objective evaluation early in the AV lifecycle, reducing the risk of late-stage integration failures.
Communication as a Foundation
By utilizing ZMQ, the system effectively manages complex communication channels between threads and platforms. This is essential for handling the plurality and heterogeneity of connections found in Vehicle-to-Everything (V2X) environments, where network stability and latency vary significantly.
Reconfigurability
Unlike existing platforms where the sensor suite is often "baked into" the software, AVstack allows for rapid prototyping of unique sensor fusion configurations. This flexibility enables research into specialized setups that would be prohibitively challenging to implement in monolithic systems.
Results and Future Directions
The authors successfully demonstrated a functional, open-source software stack capable of supporting local, collaborative, and distributed sensing. The proof-of-concept showed that the same fusion algorithms could run across all three testbeds (Dataset, CARLA, and Physical Rig) without significant refactoring.
As a foundational architecture, several avenues for future research remain. While the platform supports distributed tasks, detailed quantitative benchmarking regarding the trade-offs between latency and accuracy in offloaded tasks is still required. Additionally, future work will focus on scaling the platform to high-density traffic scenarios involving dozens of collaborative agents and investigating system resilience in the face of network packet loss and high-latency V2V communications.
Summary updated