# vasu1992/stremlit-integration architecture

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

- Interactive diagram: https://gitdiagram.com/vasu1992/stremlit-integration
- Repository: https://github.com/vasu1992/stremlit-integration

## Overview

Operations Control Center is a Streamlit dashboard backed by independent REST services for fleet state, robot control, sensing, cameras, traffic, and robot-cloud telemetry. The main workflow is operators viewing or changing fleet and robot state through the dashboard, which calls the relevant service; the services then simulate, transform, or bridge data from their respective sources. The README documents capabilities beyond the sampled excerpts. Some modules listed in the source index are absent from the supplied tree, so their nodes use only paths named in that index; links without direct evidence are omitted.

Main entry points: [`streamlit_app.py`](https://github.com/vasu1992/stremlit-integration/blob/main/streamlit_app.py) (Operations dashboard), [`teleop_service.py`](https://github.com/vasu1992/stremlit-integration/blob/main/teleop_service.py) (Teleoperation), [`lidar_service.py`](https://github.com/vasu1992/stremlit-integration/blob/main/lidar_service.py) (ROS LiDAR bridge), [`mqtt_lidar_service.py`](https://github.com/vasu1992/stremlit-integration/blob/main/mqtt_lidar_service.py) (MQTT LiDAR)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Operations interfaces"]
  node_dashboard["Operations dashboard<br/>[streamlit_app.py]"]
  node_traffic_dashboard["Traffic dashboard"]
end

subgraph group_fleet["Fleet and control"]
  node_fleet_service["Fleet telemetry<br/>[vehicle_service.py]"]
  node_teleop["Teleoperation<br/>[teleop_service.py]"]
  node_isaac["Warehouse simulation"]
end

subgraph group_sensing["Sensors and cameras"]
  node_ros_lidar["ROS LiDAR bridge<br/>[lidar_service.py]"]
  node_sim_lidar["LiDAR simulator"]
  node_mqtt_lidar["MQTT LiDAR"]
  node_camera["Camera streams<br/>[camera_service.py]"]
  node_webrtc_camera["WebRTC camera"]
end

subgraph group_traffic["Traffic monitoring"]
  node_traffic_service["Traffic lights"]
end

subgraph group_bridges["Robot integrations"]
  node_robot_telemetry["Robot telemetry"]
end

node_operator(("Operator"))
node_ros_robot(("ROS robot"))
node_mqtt_broker(("MQTT brokers"))
node_innok_cloud(("Innok cloud API"))
node_camera_hardware(("Camera hardware"))

node_operator -->|"uses"| node_dashboard
node_operator -->|"uses"| node_traffic_dashboard
node_dashboard -->|"requests fleet data"| node_fleet_service
node_dashboard -->|"sends commands"| node_teleop
node_teleop -->|"syncs position"| node_fleet_service
node_dashboard -->|"views scans"| node_ros_lidar
node_dashboard -->|"views scans"| node_sim_lidar
node_dashboard -->|"views scans"| node_mqtt_lidar
node_dashboard -->|"requests camera status"| node_camera
node_dashboard -->|"views traffic data"| node_traffic_service
node_dashboard -->|"views warehouse simulation"| node_isaac
node_ros_lidar -->|"subscribes scans"| node_ros_robot
node_mqtt_lidar -->|"subscribes scans"| node_mqtt_broker
node_traffic_service -->|"subscribes traffic"| node_mqtt_broker
node_robot_telemetry -->|"polls and forwards commands"| node_innok_cloud
node_camera -->|"captures frames"| node_camera_hardware
node_webrtc_camera -->|"streams video"| node_camera_hardware

click node_dashboard "https://github.com/vasu1992/stremlit-integration/blob/main/streamlit_app.py"
click node_traffic_dashboard "https://github.com/vasu1992/stremlit-integration/blob/main/traffic_dashboard.py"
click node_fleet_service "https://github.com/vasu1992/stremlit-integration/blob/main/vehicle_service.py"
click node_teleop "https://github.com/vasu1992/stremlit-integration/blob/main/teleop_service.py"
click node_isaac "https://github.com/vasu1992/stremlit-integration/blob/main/isaac_sim_service.py"
click node_ros_lidar "https://github.com/vasu1992/stremlit-integration/blob/main/lidar_service.py"
click node_sim_lidar "https://github.com/vasu1992/stremlit-integration/blob/main/dummy_lidar_service.py"
click node_mqtt_lidar "https://github.com/vasu1992/stremlit-integration/blob/main/mqtt_lidar_service.py"
click node_camera "https://github.com/vasu1992/stremlit-integration/blob/main/camera_service.py"
click node_webrtc_camera "https://github.com/vasu1992/stremlit-integration/blob/main/webrtc_camera_service.py"
click node_traffic_service "https://github.com/vasu1992/stremlit-integration/blob/main/mqtt_traffic_service.py"
click node_robot_telemetry "https://github.com/vasu1992/stremlit-integration/blob/main/robot_telemetry_service.py"

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_dashboard,node_traffic_dashboard toneBlue
class node_fleet_service,node_teleop,node_isaac toneAmber
class node_ros_lidar,node_sim_lidar,node_mqtt_lidar,node_camera,node_webrtc_camera,node_innok_cloud toneMint
class node_traffic_service toneRose
class node_robot_telemetry,node_operator,node_ros_robot,node_mqtt_broker,node_camera_hardware toneIndigo
```

## Components

### Operations interfaces

- [Operations dashboard](https://github.com/vasu1992/stremlit-integration/blob/main/streamlit_app.py): `streamlit_app.py`
- [Traffic dashboard](https://github.com/vasu1992/stremlit-integration/blob/main/traffic_dashboard.py): `traffic_dashboard.py`

### Fleet and control

- [Fleet telemetry](https://github.com/vasu1992/stremlit-integration/blob/main/vehicle_service.py): `vehicle_service.py`
- [Teleoperation](https://github.com/vasu1992/stremlit-integration/blob/main/teleop_service.py): `teleop_service.py`
- [Warehouse simulation](https://github.com/vasu1992/stremlit-integration/blob/main/isaac_sim_service.py): `isaac_sim_service.py`

### Sensors and cameras

- [ROS LiDAR bridge](https://github.com/vasu1992/stremlit-integration/blob/main/lidar_service.py): `lidar_service.py`
- [LiDAR simulator](https://github.com/vasu1992/stremlit-integration/blob/main/dummy_lidar_service.py): `dummy_lidar_service.py`
- [MQTT LiDAR](https://github.com/vasu1992/stremlit-integration/blob/main/mqtt_lidar_service.py): `mqtt_lidar_service.py`
- [Camera streams](https://github.com/vasu1992/stremlit-integration/blob/main/camera_service.py): `camera_service.py`
- [WebRTC camera](https://github.com/vasu1992/stremlit-integration/blob/main/webrtc_camera_service.py): `webrtc_camera_service.py`

### Traffic monitoring

- [Traffic lights](https://github.com/vasu1992/stremlit-integration/blob/main/mqtt_traffic_service.py): `mqtt_traffic_service.py`

### Robot integrations

- [Robot telemetry](https://github.com/vasu1992/stremlit-integration/blob/main/robot_telemetry_service.py): `robot_telemetry_service.py`

### Other components

- **Operator**
- **ROS robot**
- **MQTT brokers**
- **Innok cloud API**
- **Camera hardware**

## Connections

- Operator → Operations dashboard: uses (evidence: `README.md`)
- Operator → Traffic dashboard: uses (evidence: `README.md`)
- Operations dashboard → Fleet telemetry: requests fleet data (evidence: `streamlit_app.py`)
- Operations dashboard → Teleoperation: sends commands (evidence: `streamlit_app.py`)
- Teleoperation → Fleet telemetry: syncs position (evidence: `README.md`)
- Operations dashboard → ROS LiDAR bridge: views scans (evidence: `README.md`)
- Operations dashboard → LiDAR simulator: views scans (evidence: `streamlit_app.py`)
- Operations dashboard → MQTT LiDAR: views scans (evidence: `mqtt_lidar_service.py`)
- Operations dashboard → Camera streams: requests camera status (evidence: `streamlit_app.py`)
- Operations dashboard → Traffic lights: views traffic data (evidence: `README.md`)
- Operations dashboard → Warehouse simulation: views warehouse simulation (evidence: `isaac_sim_service.py`)
- ROS LiDAR bridge → ROS robot: subscribes scans (evidence: `lidar_service.py`)
- MQTT LiDAR → MQTT brokers: subscribes scans (evidence: `mqtt_lidar_service.py`)
- Traffic lights → MQTT brokers: subscribes traffic (evidence: `README.md`)
- Robot telemetry → Innok cloud API: polls and forwards commands (evidence: `README.md`)
- Camera streams → Camera hardware: captures frames (evidence: `camera_service.py`)
- WebRTC camera → Camera hardware: streams video (evidence: `webrtc_camera_service.py`)
