# ad-eye/open-kth architecture

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

- Interactive diagram: https://gitdiagram.com/ad-eye/open-kth
- Repository: https://github.com/ad-eye/open-kth

## Overview

OPEN-KTH is a downloadable campus LiDAR dataset: users extract ROS bags and PCD/LAS map data from the repository’s segmented files. The README also documents how the PCD map was produced from collected data with ROS `ndt_mapping`. Extraction relationships and the mapping workflow are documented; source excerpts were unavailable, so no implementation-level calls are inferred.

Main entry points: [`extract_rosbags.bash`](https://github.com/ad-eye/open-kth/blob/main/extract_rosbags.bash) (Extract rosbags), [`extract_pcd_map.bash`](https://github.com/ad-eye/open-kth/blob/main/extract_pcd_map.bash) (Extract PCD map), [`extract_las_map.bash`](https://github.com/ad-eye/open-kth/blob/main/extract_las_map.bash) (Extract LAS map), [`rosbags`](https://github.com/ad-eye/open-kth/tree/main/rosbags) (Collected rosbags)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_extract["Extraction"]
  node_rosbag_script["Extract rosbags"]
  node_pcd_script["Extract PCD map"]
  node_las_script["Extract LAS map"]
end

subgraph group_data["Dataset files"]
  node_rosbags["Collected rosbags"]
  node_pcd_map["PCD map data"]
  node_las_map["LAS map data"]
end

subgraph group_mapping["Map generation"]
  node_ndt_mapping["ROS ndt_mapping"]
end

node_user(("Dataset user"))

node_user -->|"runs extraction"| node_rosbag_script
node_rosbag_script -->|"extracts files"| node_rosbags
node_user -->|"runs extraction"| node_pcd_script
node_pcd_script -->|"extracts files"| node_pcd_map
node_user -->|"runs extraction"| node_las_script
node_las_script -->|"extracts files"| node_las_map
node_rosbags -->|"mapping input"| node_ndt_mapping
node_ndt_mapping -->|"generates map"| node_pcd_map

click node_rosbag_script "https://github.com/ad-eye/open-kth/blob/main/extract_rosbags.bash"
click node_pcd_script "https://github.com/ad-eye/open-kth/blob/main/extract_pcd_map.bash"
click node_las_script "https://github.com/ad-eye/open-kth/blob/main/extract_las_map.bash"
click node_rosbags "https://github.com/ad-eye/open-kth/tree/main/rosbags"
click node_pcd_map "https://github.com/ad-eye/open-kth/tree/main/map_pcd"
click node_las_map "https://github.com/ad-eye/open-kth/tree/main/map_las"

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_rosbag_script,node_pcd_script,node_las_script,node_user toneBlue
class node_rosbags,node_pcd_map,node_las_map toneAmber
class node_ndt_mapping toneMint
```

## Components

### Extraction

- [Extract rosbags](https://github.com/ad-eye/open-kth/blob/main/extract_rosbags.bash): `extract_rosbags.bash`
- [Extract PCD map](https://github.com/ad-eye/open-kth/blob/main/extract_pcd_map.bash): `extract_pcd_map.bash`
- [Extract LAS map](https://github.com/ad-eye/open-kth/blob/main/extract_las_map.bash): `extract_las_map.bash`

### Dataset files

- [Collected rosbags](https://github.com/ad-eye/open-kth/tree/main/rosbags): `rosbags`
- [PCD map data](https://github.com/ad-eye/open-kth/tree/main/map_pcd): `map_pcd`
- [LAS map data](https://github.com/ad-eye/open-kth/tree/main/map_las): `map_las`

### Map generation

- **ROS ndt_mapping**

### Other components

- **Dataset user**

## Connections

- Dataset user → Extract rosbags: runs extraction (evidence: `README.md`)
- Extract rosbags → Collected rosbags: extracts files (evidence: `README.md`)
- Dataset user → Extract PCD map: runs extraction (evidence: `README.md`)
- Extract PCD map → PCD map data: extracts files (evidence: `README.md`)
- Dataset user → Extract LAS map: runs extraction (evidence: `README.md`)
- Extract LAS map → LAS map data: extracts files (evidence: `README.md`)
- Collected rosbags → ROS ndt_mapping: mapping input (evidence: `README.md`)
- ROS ndt_mapping → PCD map data: generates map (evidence: `README.md`)
