CADET

Cooperative Autonomy through Distributed Experimentation Toolkit.

CADET runs controlled experiments on distributed cyber-physical and autonomy systems. Connect your application to a simulator, recorded data, datasets or live sensors; run its components on one machine or across real devices (hardware in the loop); emulate the network between them (message-level delay, kernel netem, or Mininet/Mininet-WiFi via NetWaggle); sweep parameters across a full matrix; and get per-frame latency, age of information, energy and link statistics for every run, with a dashboard and LLM-assisted log analysis.

Application domains include autonomous vehicles (V2V cooperative braking, V2I infrastructure-assisted perception), multi-sensor networks (multi-sensor fan-in, detector placement sweeps), model benchmarking (YOLO variants across link conditions), and any perception pipeline that separates data capture from inference by a network hop.

CADET system architecture

(a) CADET implements a modular four-layer architecture allowing components to be evaluated in isolation or integrated for end-to-end cooperative autonomy experiments. (Figure from the CADET paper.)

Get started

git clone https://github.com/nesl/cadet
cd cadet
pip install -U pip
pip install -e ".[examples]"
cadet run examples/distributed_sensing/quick.yaml \
    --app-module examples.distributed_sensing.app

Quick links


What each layer gives you

Data Source — feed any experiment

Processing Core — swap perception without touching orchestration

  • Model registry maps logical names to per-device artifact paths (gpu, edge, hailo keys); CADET selects the right artifact for each node’s device field

  • Braking pipeline: detect → ROI-gate → brake decision, config-wired; general detection / tracking / prediction stages via app plugins

  • Dataset mode: benchmark a vision-language model on public datasets (VQAv2, COCO) across device/edge/cloud placements

  • FM-assisted analysis: summarise and query any run’s logs with a language model (cadet summarize / cadet ask)

  • Register per-device model artifacts · Tutorial 6: Write an App Plugin · Dataset-mode VLM serving

NetWaggle — three levels of network realism

Analysis — full lifecycle, metrics, and results dashboard

  • Orchestrator lifecycle: cleanup → preflight → netem → server → sim → client; docker and ssh_docker launchers for containerised and multi-machine runs; ssh_venv for remote Python environment deployments

  • Cartesian sweep with content-derived run IDs; interrupt and resume any sweep

  • Per-run metrics: frame latency, age of information, link report, queue depth, GPU/CPU/energy/bandwidth collectors, per-run clock-offset measurement

  • Results dashboard (cadet dashboard): live sweep matrix, crossover plot, per-run and per-device views — all inline SVG, nothing fetched from the network

  • WebSocket transport (transport.protocol: websocket) for links that cross HTTP-only infrastructure

  • Tutorial 4: Multi-Device Deployment · Tutorial 5: Sweeps and Reproducibility · Dashboard · Metrics Reference


Paper

CADET: A Modular Platform for Evaluating Distributed Cooperative
Autonomy in Connected Autonomous Vehicles
Pragya Sharma, Brian Wang, Mani Srivastava · UCLA NESL

See Citing CADET for the full citation and BibTeX entry.