feat(phase-8): implement operational web dashboard, rest api, and telemetry data provider
This commit is contained in:
@@ -5,6 +5,37 @@ All notable changes to the Warehouse Robot Fleet Digital Twin will be documented
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.9.0] - 2026-10-21
|
||||
|
||||
### Added - Phase 8: Operational Dashboard
|
||||
- **Dashboard Data Provider** (`warehouse_twin.dashboard.data_provider`):
|
||||
- Automated discovery of simulation experiment runs from `results/experiments/`.
|
||||
- Fast, typed parsing of `kpi_summary.json`, `config.json`, `robots.csv`, `tasks.csv`, and `aisle_congestion.csv`.
|
||||
- Markdown table parser extracting scenario comparison matrices for fleet sizing and dispatch policies.
|
||||
- Raw SVG heatmap delivery for `congestion_heatmap.svg`.
|
||||
- Safe read-only architecture preventing simulation data corruption.
|
||||
- **Lightweight Decoupled Dashboard Server** (`warehouse_twin.dashboard.server`):
|
||||
- Pure Python standard library HTTP server (`http.server.ThreadingHTTPServer`) with zero extra pip dependencies.
|
||||
- REST API endpoints for experiments, details, SVG heatmaps, and scenario comparisons.
|
||||
- Safe static asset serving with proper MIME types.
|
||||
- **Glassmorphic Modern Single Page Web UI** (`warehouse_twin.dashboard.static`):
|
||||
- Custom Vanilla CSS dark-mode design system with responsive grid layouts.
|
||||
- 6 Executive KPI summary cards with trend indicators.
|
||||
- Latency distribution percentile matrix table.
|
||||
- Real-time AMR fleet telemetry table with dynamic battery health gauges.
|
||||
- Interactive embedded 2D SVG spatial heatmap viewer.
|
||||
- Top corridor bottleneck diagnosis table with severity badges (`CRITICAL`, `WARNING`, `INFO`).
|
||||
- Tasks lifecycle summary and task-type performance breakdown.
|
||||
- Scenario comparison tables for fleet sizing ($2, 4, 6, 8$ AMRs) and dispatch policies.
|
||||
- Audit-ready executive Markdown report viewer with instant file download.
|
||||
- **Optional Streamlit Dashboard** (`warehouse_twin.dashboard.streamlit_app`):
|
||||
- Streamlit interface for environments with `streamlit` installed.
|
||||
- **CLI Subcommand**:
|
||||
- `warehouse-twin dashboard [--port 8501] [--results-dir results]`: Launches the web dashboard server.
|
||||
- **Unit Test Suite**:
|
||||
- Added 7 unit tests across `test_dashboard_data_provider.py`, `test_dashboard_server.py`, and `test_optional_dependencies.py`.
|
||||
- Expanded test suite to **144 passed unit tests (100% pass rate in 2.43s)**.
|
||||
|
||||
## [0.8.0] - 2026-10-21
|
||||
|
||||
### Added - Phase 7: NVIDIA Omniverse USD 3D Visualization & Trajectory Playback
|
||||
|
||||
Reference in New Issue
Block a user