Requirements and scope¶
Environmental requirements¶
- Privileged container for network emulation
The
netwaggleandnetembackends require--cap-add NET_ADMINon the node container. This is set automatically when CADET manages the container lifecycle via thedockerorssh_dockerlauncher. With the local launcher, the host process must have the capability (run as root or grant it viasetcap). Without it,cadet validaterejects configs that use those backends.- CARLA version
The CARLA server must be
carlasim/carla:0.9.10(or the compatible patch0.9.10.1). The Python client is the PythonAPI eggcarla-0.9.10-py3.7-linux-x86_64.egg, mounted at the path given bysim.carla_python_api; do not usepip install carla. A preflight check compares the first three version components and fails the run if they do not match.- GPU and CUDA driver
CADET nodes with
device: gpurequire a CUDA-capable GPU. The CUDA driver version on the host must be at least the minimum supported by the CUDA runtime in the container. Mismatched drivers produce an error at container start rather than at inference time.- Python version
CADET runs on Python 3.8 through 3.13 (
requires-python >=3.8,<3.14). Configs that use the CARLA source require the CARLA PythonAPI egg (carla-0.9.10-py3.7-linux-x86_64.egg), which targets CPython 3.7/3.8 ABI; use the CADET Docker image for those configs — it provides Python 3.8 and the egg. All other configs (replay, synthetic, dataset, live) run on any supported Python.- App plugins on PYTHONPATH
ScenarioRunner is bundled in the CADET container. The
examples/app plugins (braking, V2V, V2I) must be present on the Python path at run time. With the local launcher, run from the repo root withPYTHONPATH=.; with the container launcher the repo is bind-mounted automatically.
Feature scope¶
The maturity table on the CADET home page lists every feature and
its status. cadet validate accepts the options listed there and names
anything else a config asks for, so a run either has what it asked for or does
not start.
- docker launcher
Lifecycle-verified on a GPU host: both link backends, normal completion, the active limit, a killed server container and a two-rep sweep.
- ssh_docker launcher
SshDockerLauncherincadet/core/docker_launcher.py, verified by the distributed-sensing example across two machines, with the sensors local and the gateway remote.- ssh_venv launcher
The same placement without a container: a role runs in a virtual environment on the second machine, which is what a device too small for a container image needs.
- netwaggle backend
Runs under
cadet emulatein a privileged emulation container. Wired links put each host in its own namespace over shaped veth pairs. A Wi-Fi cell adds one requirement: the container shares the host’s network namespace, becausemac80211_hwsimcreates its radios there. The five-sensor cell answered 20 of 20 messages per sensor over wmediumd’s medium with the interference model. Mininet’s own teardown can hang, so the emulator bounds it and then removes what it named itself;cadet downclears anything a killed run left.- Pipeline stages
The pipeline machinery is in
cadet/pipeline/and the stage implementations are incadet/pipeline/stages/:camera,yolo,roi_consecutiveandbrake_controllerfor braking,yolo_v2vandv2v_ttc_gatefor V2V, andyolo_v2i,v2i_ego_gateandv2i_fusion_gatefor V2I. Apipelineblock names one per stage inimpl, and the component library it draws on is inexamples/av_pipeline/.- WebSocket transport
transport.protocol: websocketputs the same payloads in RFC 6455 binary frames after one HTTP upgrade, so a link can cross infrastructure that forwards HTTP and nothing else. The reference example has run end to end over it with every frame answered, and the same run over a 60 msdelaylink measured the configured delay, so the delay lines still see whole payloads through the new carrier.- Dataset mode
See Dataset Mode: one model serving a replayed dataset, with model-, system- and task-level numbers per run.
- FM interface
cadet summarizeandcadet askread a run directory or a sweep, reduce it to a record and put that record to an OpenAI-compatible chat-completions endpoint. The endpoint and model are config; the key is read from the environment variable the config names, and never stored.