# deonticai/osc-ncap-scenarios architecture

> Architecture diagram of the GitHub repository deonticai/osc-ncap-scenarios, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/deonticai/osc-ncap-scenarios
- Repository: https://github.com/deonticai/osc-ncap-scenarios

## Overview

This repository is a collection of Euro NCAP virtual-test assets, not an application: users select OpenSCENARIO definitions and provide them, with their referenced OpenDRIVE road networks, to a compatible simulator. The assets cover 2026 frontal-collision scenarios, 2023 car-to-car and vulnerable-road-user scenarios, variations, and reusable catalogs. The README documents the simulator-input role and OpenSCENARIO-to-OpenDRIVE references; no source excerpts were available to verify individual file-level links or catalog use.

Main entry points: [`OpenSCENARIO/NCAP/CA-FC_2026`](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026) (2026 Base Scenarios), [`OpenSCENARIO/NCAP/AEB_C2C_2023`](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_C2C_2023) (2023 Car Scenarios), [`OpenSCENARIO/NCAP/AEB_VRU_2023`](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_VRU_2023) (2023 VRU Scenarios), [`OpenDRIVE/NCAP`](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenDRIVE/NCAP) (NCAP Road Assets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_roads["Road Networks"]
  node_road_assets["NCAP Road Assets"]
end

subgraph group_ncap26["NCAP 2026"]
  node_sc26_base["2026 Base Scenarios"]
  node_sc26_standard["Standard Range"]
  node_sc26_extended["Extended Range"]
  node_sc26_single["Single Execution"]
end

subgraph group_ncap23["NCAP 2023"]
  node_sc23_c2c["2023 Car Scenarios"]
  node_sc23_c2c_var["Car Variations"]
  node_sc23_vru["2023 VRU Scenarios"]
  node_sc23_vru_var["VRU Variations"]
end

subgraph group_catalogs["Scenario Catalogs"]
  node_catalog_env["Environment Catalog"]
  node_catalog_maneuver["Maneuver Catalog"]
  node_catalog_ped["Pedestrian Catalog"]
  node_catalog_routes["Route Catalog"]
  node_catalog_traj["Trajectory Catalog"]
  node_catalog_vehicles["Vehicle Catalog"]
end

node_user(("Scenario User"))
node_simulator["Standard Simulator"]

node_user -->|"selects scenarios"| node_sc26_base
node_user -->|"selects scenarios"| node_sc23_c2c
node_user -->|"selects scenarios"| node_sc23_vru
node_sc26_base -->|"provides input"| node_simulator
node_sc26_standard -->|"provides input"| node_simulator
node_sc26_extended -->|"provides input"| node_simulator
node_sc26_single -->|"provides input"| node_simulator
node_sc23_c2c -->|"provides input"| node_simulator
node_sc23_c2c_var -->|"provides input"| node_simulator
node_sc23_vru -->|"provides input"| node_simulator
node_sc23_vru_var -->|"provides input"| node_simulator
node_sc26_base -->|"references roads"| node_road_assets
node_sc23_c2c -->|"references roads"| node_road_assets
node_sc23_vru -->|"references roads"| node_road_assets

click node_road_assets "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenDRIVE/NCAP"
click node_sc26_base "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026"
click node_sc26_standard "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026/Variations/StandardRange"
click node_sc26_extended "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026/Variations/ExtendedRange"
click node_sc26_single "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026/Variations/SingleExecution"
click node_sc23_c2c "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_C2C_2023"
click node_sc23_c2c_var "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_C2C_2023/Variations"
click node_sc23_vru "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_VRU_2023"
click node_sc23_vru_var "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_VRU_2023/Variations"
click node_catalog_env "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Environments"
click node_catalog_maneuver "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Maneuver"
click node_catalog_ped "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Pedestrians"
click node_catalog_routes "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Routes"
click node_catalog_traj "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Trajectories"
click node_catalog_vehicles "https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Vehicles"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_road_assets,node_user toneBlue
class node_sc26_base,node_sc26_standard,node_sc26_extended,node_sc26_single toneAmber
class node_sc23_c2c,node_sc23_c2c_var,node_sc23_vru,node_sc23_vru_var toneMint
class node_catalog_env,node_catalog_maneuver,node_catalog_ped,node_catalog_routes,node_catalog_traj,node_catalog_vehicles toneRose
class node_simulator toneIndigo
```

## Components

### Road Networks

- [NCAP Road Assets](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenDRIVE/NCAP): `OpenDRIVE/NCAP`

### NCAP 2026

- [2026 Base Scenarios](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026): `OpenSCENARIO/NCAP/CA-FC_2026`
- [Standard Range](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026/Variations/StandardRange): `OpenSCENARIO/NCAP/CA-FC_2026/Variations/StandardRange`
- [Extended Range](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026/Variations/ExtendedRange): `OpenSCENARIO/NCAP/CA-FC_2026/Variations/ExtendedRange`
- [Single Execution](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/CA-FC_2026/Variations/SingleExecution): `OpenSCENARIO/NCAP/CA-FC_2026/Variations/SingleExecution`

### NCAP 2023

- [2023 Car Scenarios](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_C2C_2023): `OpenSCENARIO/NCAP/AEB_C2C_2023`
- [Car Variations](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_C2C_2023/Variations): `OpenSCENARIO/NCAP/AEB_C2C_2023/Variations`
- [2023 VRU Scenarios](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_VRU_2023): `OpenSCENARIO/NCAP/AEB_VRU_2023`
- [VRU Variations](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/AEB_VRU_2023/Variations): `OpenSCENARIO/NCAP/AEB_VRU_2023/Variations`

### Scenario Catalogs

- [Environment Catalog](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Environments): `OpenSCENARIO/NCAP/Catalogs/Environments`
- [Maneuver Catalog](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Maneuver): `OpenSCENARIO/NCAP/Catalogs/Maneuver`
- [Pedestrian Catalog](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Pedestrians): `OpenSCENARIO/NCAP/Catalogs/Pedestrians`
- [Route Catalog](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Routes): `OpenSCENARIO/NCAP/Catalogs/Routes`
- [Trajectory Catalog](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Trajectories): `OpenSCENARIO/NCAP/Catalogs/Trajectories`
- [Vehicle Catalog](https://github.com/deonticai/osc-ncap-scenarios/tree/main/OpenSCENARIO/NCAP/Catalogs/Vehicles): `OpenSCENARIO/NCAP/Catalogs/Vehicles`

### Other components

- **Scenario User**
- **Standard Simulator**

## Connections

- Scenario User → 2026 Base Scenarios: selects scenarios (evidence: `README.md`)
- Scenario User → 2023 Car Scenarios: selects scenarios (evidence: `README.md`)
- Scenario User → 2023 VRU Scenarios: selects scenarios (evidence: `README.md`)
- 2026 Base Scenarios → Standard Simulator: provides input (evidence: `README.md`)
- Standard Range → Standard Simulator: provides input (evidence: `README.md`)
- Extended Range → Standard Simulator: provides input (evidence: `README.md`)
- Single Execution → Standard Simulator: provides input (evidence: `README.md`)
- 2023 Car Scenarios → Standard Simulator: provides input (evidence: `README.md`)
- Car Variations → Standard Simulator: provides input (evidence: `README.md`)
- 2023 VRU Scenarios → Standard Simulator: provides input (evidence: `README.md`)
- VRU Variations → Standard Simulator: provides input (evidence: `README.md`)
- 2026 Base Scenarios → NCAP Road Assets: references roads (evidence: `README.md`)
- 2023 Car Scenarios → NCAP Road Assets: references roads (evidence: `README.md`)
- 2023 VRU Scenarios → NCAP Road Assets: references roads (evidence: `README.md`)
