# parasollab/erupt architecture

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

- Interactive diagram: https://gitdiagram.com/parasollab/erupt
- Repository: https://github.com/parasollab/erupt

## Overview

ERUPT is a Unity-based extended-reality robotics visualization tool connected to a ROS 2 robotics stack. The documented workflow is to start the ROS TCP endpoint, robot controllers, MoveIt, and planning-scene watcher, then run the Unity app on an HMD. Its Kitchen-scene LatencyBenchmark can run scripted object operations and stream latency, FPS, jitter, and GC metrics to ROS benchmarking nodes. No source excerpts were available, so the graph includes only README-documented relationships; some Unity implementation paths are therefore unknown.

Main entry points: [`Assets/Models/GeniusCrate_Games/Kitchen_Set/Scenes/Kitchen_Dinning_set(interior).unity`](https://github.com/parasollab/erupt/blob/main/Assets/Models/GeniusCrate_Games/Kitchen_Set/Scenes/Kitchen_Dinning_set(interior).unity) (Kitchen scene)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_xr["XR visualization"]
  node_app["Unity XR app"]
  node_kitchen["Kitchen scene"]
end

subgraph group_robot["ROS robotics"]
  node_tcp["ROS TCP endpoint"]
  node_controllers["UR controllers"]
  node_moveit["MoveIt"]
  node_watcher["Planning-scene watcher"]
end

subgraph group_bench["Benchmarking"]
  node_latency["LatencyBenchmark"]
  node_measurer["Latency measurer"]
  node_logger["Latency logger"]
  node_metrics["Benchmark metrics"]
end

node_user(("Operator"))

node_user -->|"runs on HMD"| node_app
node_app -->|"connects to"| node_tcp
node_controllers -->|"controlled through"| node_moveit
node_watcher -->|"watches scene"| node_moveit
node_app -->|"includes"| node_latency
node_user -->|"triggers run"| node_latency
node_latency -->|"streams metrics"| node_measurer
node_measurer -->|"measures workload"| node_logger
node_logger -->|"writes CSVs"| node_metrics
node_latency -->|"runs in"| node_kitchen

click node_kitchen "https://github.com/parasollab/erupt/blob/main/Assets/Models/GeniusCrate_Games/Kitchen_Set/Scenes/Kitchen_Dinning_set(interior).unity"

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_app,node_kitchen toneBlue
class node_tcp,node_controllers,node_moveit,node_watcher toneAmber
class node_latency,node_measurer,node_logger,node_metrics toneMint
class node_user toneIndigo
```

## Components

### XR visualization

- **Unity XR app**
- [Kitchen scene](https://github.com/parasollab/erupt/blob/main/Assets/Models/GeniusCrate_Games/Kitchen_Set/Scenes/Kitchen_Dinning_set(interior).unity): `Assets/Models/GeniusCrate_Games/Kitchen_Set/Scenes/Kitchen_Dinning_set(interior).unity`

### ROS robotics

- **ROS TCP endpoint**
- **UR controllers**
- **MoveIt**
- **Planning-scene watcher**

### Benchmarking

- **LatencyBenchmark**
- **Latency measurer**
- **Latency logger**
- **Benchmark metrics**

### Other components

- **Operator**

## Connections

- Operator → Unity XR app: runs on HMD
- Unity XR app → ROS TCP endpoint: connects to
- UR controllers → MoveIt: controlled through
- Planning-scene watcher → MoveIt: watches scene
- Unity XR app → LatencyBenchmark: includes
- Operator → LatencyBenchmark: triggers run
- LatencyBenchmark → Latency measurer: streams metrics
- Latency measurer → Latency logger: measures workload
- Latency logger → Benchmark metrics: writes CSVs
- LatencyBenchmark → Kitchen scene: runs in
