Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
CADET
CADET

Getting started

  • Quickstart
  • Installation
  • Version Matrix

Research goals

  • Choose Your Research Goal
    • Cooperative Driving
    • Computation Placement
    • Communication
    • Model Benchmarking
    • Distributed Sensing
  • Cooperative Driving
  • Computation Placement
  • Communication
  • Model Benchmarking
  • Distributed Sensing

Using CADET

  • Ways to Use CADET

Tutorials

  • Tutorial 1: First Experiment (Replay + Reference App + Delay Link)
  • Tutorial 2: CARLA Braking Experiment
  • Tutorial 3: Comparing Network Backends
  • Tutorial 4: Multi-Device Deployment
  • Tutorial 5: Sweeps and Reproducibility
  • Tutorial 6: Write an App Plugin
  • Tutorial 7: V2V and V2I Experiments

How-to guides

  • Use the replay source
  • Use the synthetic source
  • Live source
  • Register per-device model artifacts
  • Configure link distributions
  • Wi-Fi cell
  • Transport tuning
  • Run and resume sweeps
  • Dashboard
  • Read outputs and run.json
  • Recovery with cadet down

Reference

  • Config Reference
  • CLI Reference
  • Metrics Reference
  • Output Format
  • Tested configurations
  • API Reference
    • cadet.cli
    • cadet.config
    • cadet.core
    • cadet.orchestrator
    • cadet.network
    • cadet.roles
    • cadet.sources
    • cadet.metrics

Explanation

  • Architecture
  • Data Source Layer
  • Processing Core Layer
  • NetWaggle Layer
  • Analysis Layer
  • Network Backend Semantics
  • Reproducibility
  • Design Goals
  • Dataset Mode
  • Requirements and scope

Apps

  • App Plugin Guide

Examples

  • Examples Gallery
    • Distributed Sensing
    • Dataset-mode VLM serving
  • Dataset-mode VLM serving

Help

  • Frequently Asked Questions

Community

  • Citing CADET
  • Contributing
Back to top
View this page
Edit this page

Examples Gallery¶

Example

What it demonstrates

Source

GPU/CARLA

Reference

Round-trip latency measurement, network backend comparison, stub and real YOLO models

Synthetic, Replay

No (stub model only)

Braking (open-loop)

Emergency braking with YOLO detection, ScenarioRunner scenario, brake reaction latency

CARLA

Yes

Braking (AV pipeline)

Full Pylot-derived pipeline: detection, tracking, prediction, control

CARLA

Yes

Distributed Sensing

Detector placement study: N sensors, fan-in, access quality sweep, age of information

Synthetic, Replay

No

V2V / V2I

Multi-vehicle cooperative braking and infrastructure-assisted perception; four operating modes

CARLA

Yes (multi-host)

Dataset-mode VLM

One model served over VQAv2/COCO across device/edge/cloud; accuracy and latency per placement

Dataset

No (stub); Yes (real VLM)

Distributed sensing¶

Configs: examples/distributed_sensing/

N sensor nodes stream into one gateway; the detector runs on each sensor, on the gateway, or in the cloud. Six sweep configs cover three placements, three sensor counts, and three access qualities. See Distributed Sensing.

Reference example¶

Configs: examples/reference/

The reference app sends frames from any source to a server running a model (model_kind: stub for tests, model_kind: yolo for real inference) and records per-frame round-trip latency. It is the recommended starting point for new apps and for measuring network emulation effects in isolation.

Run the synthetic variant (no GPU):

PYTHONPATH=. cadet run examples/reference/synthetic.yaml \
    --app-module examples.reference.app

Braking example (open-loop)¶

Config: examples/braking/flat/openloop_braking.yaml

An ego vehicle drives toward an obstacle in CARLA. The CADET client streams camera frames to a YOLO detection server. After three consecutive in-ROI detections, the server issues a single brake command; the client applies per-vehicle deceleration gains and records the reaction latency.

Requires a GPU host and a running CARLA 0.9.10 server. See Tutorial 2: CARLA Braking Experiment.

Braking example (staged pipeline)¶

Config: examples/av_pipeline/

The full Pylot-derived pipeline: object detection (YOLO), multi-object tracking (SORT), linear prediction, and an MPC controller. See Processing Core Layer.

V2V / V2I¶

See Tutorial 7: V2V and V2I Experiments.

Dataset-mode VLM¶

Configs: examples/dataset_vlm/

One dataset node streams VQAv2 questions and images (or COCO detection boxes) to one inference server. The server loads a single model; the dataset node scores each answer. The placement (device, edge, or cloud) is the only experimental variable. See Dataset-mode VLM serving.

Next
Distributed Sensing
Previous
App Plugin Guide
Made with Furo
On this page
  • Examples Gallery
    • Distributed sensing
    • Reference example
    • Braking example (open-loop)
    • Braking example (staged pipeline)
    • V2V / V2I
    • Dataset-mode VLM