How pilestin/livedelivery works
Project type and purpose
• This is a specialized simulation-and-visualization tool. It combines:
• A Python-based Streamlit frontend ("main.py") where users upload route files, start/monitor SUMO simulations, view basic stats, and export CSVs.
• A static HTML/JS vehicle-tracking frontend ("index.html") that loads CSV output and animates multi-vehicle movement.
• An external simulation engine (SUMO) that consumes XML configs and produces raw trajectory data.
File structure
• Top-level:
• main.py – Streamlit “backend” & UI controller
• index.html – standalone web visualization tool
• requirements.txt – Python deps (Streamlit, SUMO bindings, pandas, etc.)
• Extended_Trajectory_Data.csv/images – example data & assets
• configs/ – SUMO network and route definitions
• outputs/ – simulation result CSVs
• Notice: the code orchestrates SUMO via subprocess or API, writes outputs, and then either visualizes in Streamlit or feeds the static HTML.
Key insights from README
• Dual-mode UI: interactive Streamlit app + static vehicle-tracker HTML.
• SUMO is an external service—invoked at runtime with config files.
• Data flow: user → Streamlit → SUMO → CSV → Streamlit & index.html.