Skip to content

An AV research stack you can rewire.

One Python API for perception datasets and models, open-loop or closed-loop in CARLA.

Open source · Linux

Swap the dataset. Not your code.

Dataset
+ your own data (opens in a new tab)
Detector
Model
+ any MMDetection model (opens in a new tab)
from avapi.nuscenes import nuScenesManager
from avstack.modules.perception import object3d
from avstack.modules.tracking import BasicBoxTracker3D
from avstack.metrics import get_instantaneous_metrics

scene = nuScenesManager(data_dir)[0]    # first scene
detector = object3d.MMDetObjectDetector3D(
    model="pointpillars", dataset="nuscenes")
tracker = BasicBoxTracker3D()

for frame in scene.frames:
    data = scene.get_lidar(frame)
    dets = detector(data, frame=frame)
    ego = scene.get_ego_reference(frame)   # ego pose
    tracks = tracker(dets, platform=ego)
    truth = scene.get_objects(frame)
    score = get_instantaneous_metrics(tracks, truth)

Fuse tracks from ground, aerial and roadside agents.

Clustering and covariance-intersection fusion.

4 agents · 11.6 of 12.6 vehicles seen

Install, compose, run.

1

Install

git clone --recurse-submodules \
    https://github.com/avstack-lab/avdev-sandbox
cd avdev-sandbox && just install

2

Compose

Tap a stage to swap it.

3

Run

for frame in scene.frames: ...

Used in research.

ICCPS '23

AVstack: An Open-Source, Reconfigurable Platform for Autonomous Vehicle Development

CCS '25

Security-Aware Sensor Fusion with MATE: the Multi-Agent Trust Estimator

All research and how to cite AVstack →