Skip to content
Back to skills

Opencda

ASecurity

"Use OpenCDA for cooperative-driving automation research in CARLA,

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 8, 2026
toolspythongobashapibackend

Works with

  • cli
  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill opencda --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Opencda?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Opencda
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-opencda/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-opencda)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: opencda
description: "Use OpenCDA for cooperative-driving automation research in CARLA,
  optional CARLA-SUMO co-simulation, single-CAV and platooning scenarios,
  configurable sensing/planning/control, V2X, customization, and offline
  evaluation."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# OpenCDA

OpenCDA 0.1.3 is a Python cooperative-driving automation framework whose
runtime centers on a synchronous CARLA world and modular CAV managers. Use this
skill to plan or diagnose a scenario, configure modules, extend an algorithm,
operate V2X/platooning or CARLA-SUMO, and post-process dumped YAML data.

## Choose a route

- **Install, choose a benchmark, or author/validate YAML:** read
  [setup-and-scenarios](sub-skills/setup-and-scenarios/SKILL.md).
- **Single-CAV sensing, map, planning, control, safety, or API lifecycle:** read
  [core-driving-stack](sub-skills/core-driving-stack/SKILL.md).
- **V2X, platooning, cooperative merge/stability, SUMO, or ScenarioRunner:**
  read [cooperative-simulation](sub-skills/cooperative-simulation/SKILL.md).
- **Replace a module, preserve an extension contract, or analyze KF/EKF/debug
  output:** read [customization-and-analysis](sub-skills/customization-and-analysis/SKILL.md).
- **Augment dumped trajectories, interpret evaluation output, or make headless
  plots:** read [data-evaluation](sub-skills/data-evaluation/SKILL.md).

For cross-cutting install/import/config/backend failures, read
[references/troubleshooting.md](references/troubleshooting.md). Check whether
this knowledge matches the intended checkout using
[references/repo-provenance.md](references/repo-provenance.md).

## Minimal setup and safety gate

The documented baseline is Python 3.7+ with the package requirements, a CARLA
Python API matching the server (the source documents 0.9.11 and 0.9.12), and a
synchronous CARLA server for actual scenarios. Install the package in an
isolated environment, then verify at least:

```bash
python -m pip install -r requirements.txt
python -m pip install -e .
python -m pip check
python -c "import opencda; from opencda.version import __version__; print(__version__)"
python opencda.py --help
```

Do not treat a package import or CLI help check as a live simulation check.
Before using a benchmark, separately verify the matching CARLA client/server,
requested Town05/Town06 or custom map, port, GPU/display requirements, and
synchronous settings. Keep `--apply_ml` off unless the PyTorch/YOLOv5 stack and
model assets are provisioned. Co-simulation additionally needs SUMO, `traci`,
`SUMO_HOME`, and a consistent `.sumocfg`/`.net.xml`/`.rou.xml` map triplet.

## Operating invariants

1. Merge the default YAML with the scenario override; do not silently replace
   the whole configuration. Keep `world.sync_mode` true and make
   `fixed_delta_seconds` agree with Traffic Manager or SUMO.
2. In a CARLA-only loop, tick the scenario manager, update each CAV, run its
   controller, apply the returned `carla.VehicleControl`, and destroy actors and
   sensors on exit.
3. Preserve module contracts: localization produces a CARLA transform and
   speed, perception returns categorized object dictionaries, behavior returns
   target speed/location, and control returns a CARLA vehicle command.
4. Treat CARLA server, GPU/rendering, SUMO, ScenarioRunner, and ML model
   execution as explicit external gates. The construction verification proved
   offline package/core imports and safe algorithms, not those services.
5. Do not copy source-checkout paths, private environments, large maps, model
   weights, or generated review artifacts into a runtime task. Use the bundled
   references and safe helpers instead.

Files in this skill

  • SKILL.md3.7 KB
  • references/repo-provenance.md2.5 KB
  • references/repo-routing-metadata.json521 B
  • references/troubleshooting.md3.6 KB
  • scripts/check_environment.py2.4 KB
  • sub-skills/cooperative-simulation/SKILL.md2 KB
  • sub-skills/cooperative-simulation/references/co-simulation.md3.6 KB
  • sub-skills/cooperative-simulation/references/platooning-and-v2x.md4.6 KB
  • sub-skills/cooperative-simulation/references/scenario-runner.md2.4 KB
  • sub-skills/cooperative-simulation/references/sumo-conversion.md2.8 KB
  • sub-skills/cooperative-simulation/references/troubleshooting.md3.6 KB
  • sub-skills/cooperative-simulation/scripts/check_sumo_conversion_prereqs.py5.9 KB
  • sub-skills/core-driving-stack/SKILL.md3.2 KB
  • sub-skills/core-driving-stack/references/api-reference.md7.1 KB
  • sub-skills/core-driving-stack/references/planning-and-control.md8.1 KB
  • sub-skills/core-driving-stack/references/sensing-and-geometry.md6.5 KB
  • sub-skills/core-driving-stack/references/troubleshooting.md7.8 KB
  • sub-skills/customization-and-analysis/SKILL.md2.1 KB
  • sub-skills/customization-and-analysis/filter-and-debugging.md3.9 KB
  • sub-skills/customization-and-analysis/references/extension-contracts.md5.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.