How ny78455/indoor-gps- works
VLCL is an interactive indoor visible-light communication and localization digital twin. Users configure and run simulations through a React interface; the Express service routes requests to the Python simulation core, whose pipeline produces environment, physics, communication/localization, and adaptive results. The graph also retains the dataset-generation capability surfaced by the UI. Some subsystem links are documented or visible only in the source index; those are shown as documented or explicitly unverified rather than inferred call chains.
Main entry points: pipeline.py Simulation Pipeline · App.tsx Lab Interface · engine.py Integrated VLCL · server.ts Express API
Components 19
Simulation UI
- Lab Interface
frontend/src/App.tsx - 3D View
frontend/src/components/ThreeCanvas.tsx - Live Results
frontend/src/components/results/LiveResults.tsx - Dataset Panel
frontend/src/components/DatasetPanel.tsx
Request Service
- Express API
backend/server.ts
Simulation Core
- Simulation Pipeline
backend/VLCL_AI/pipeline.py - Shared State
backend/VLCL_AI/system_state.py - Environment Simulator
backend/VLCL_AI/environment/simulator.py - Geometry State
backend/VLCL_AI/environment/state.py - Optical Physics
backend/VLCL_AI/physics/physics_engine.py - Integrated VLCL
backend/VLCL_AI/integrated_vlcl/engine.py - Communication DSP
backend/VLCL_AI/communication/engine.py - A-DPDOA Localization
backend/VLCL_AI/localization/engine.py - Metrics Aggregation
backend/VLCL_AI/system_metrics_aggregator.py
Adaptive Transmission
- Resource Allocation
backend/VLCL_AI/adaptive/engine.py - Power Optimization
backend/VLCL_AI/adaptive/power_engine.py
Dataset Generation
- Dataset Manager
backend/VLCL_AI/dataset_generation/dataset_manager.py - Scenario Generator
backend/VLCL_AI/dataset_generation/generator.py
Other components
- Researcher
Connections 20
- Researcher → Lab Interface: configures and runs
- Lab Interface → 3D View: renders
frontend/src/App.tsx - Lab Interface → Live Results: shows results
frontend/src/App.tsx - Lab Interface → Dataset Panel: opens
frontend/src/App.tsx - Lab Interface → Express API: sends HTTP requests
- Express API → Simulation Pipeline: routes simulation
- Express API → Simulation Pipeline: executes Python
- Simulation Pipeline → Environment Simulator: steps
backend/VLCL_AI/pipeline.py - Simulation Pipeline → Optical Physics: computes
backend/VLCL_AI/pipeline.py - Simulation Pipeline → Integrated VLCL: runs
backend/VLCL_AI/pipeline.py - Simulation Pipeline → Resource Allocation: allocates
backend/VLCL_AI/pipeline.py - Simulation Pipeline → Power Optimization: optimizes power
backend/VLCL_AI/pipeline.py - Simulation Pipeline → Metrics Aggregation: aggregates
backend/VLCL_AI/pipeline.py - Environment Simulator → Geometry State: produces geometry
- Optical Physics → Geometry State: consumes geometry
backend/VLCL_AI/physics/physics_engine.py - Integrated VLCL → Resource Allocation: requests allocation
backend/VLCL_AI/integrated_vlcl/engine.py - Integrated VLCL → Power Optimization: instantiates
backend/VLCL_AI/integrated_vlcl/engine.py - Integrated VLCL → Communication DSP: coordinates communication
- Integrated VLCL → A-DPDOA Localization: coordinates localization
- Dataset Manager → Scenario Generator: uses
backend/VLCL_AI/dataset_generation/dataset_manager.py