How vinitpatil519/sentinel works
SENTINEL turns WiFi CSI sensing into per-subject vitals, behavioral states, and a safety-biased approach advisory, then presents live operations and research records in a console. The principal flow runs from ESP32 nodes through the external RuView sensing server, backend normalization and analysis, and the console; SQLite supports session history, exports, and labeling. The README documents console capabilities whose individual frontend implementations were not sampled, so those are represented at their listed paths; detailed wiring among some components remains unverified.
Main entry points: main.py Application runtime · telemetry.py Telemetry hub · pipeline.py Frame pipeline · ruview_rf.py RuView adapter
Components 22
Sensing input
- ESP32 CSI nodes
hardware/esp32-csi-node/main/app_main.c - RuView sensing server
- RuView adapter
backend/sentinel/sensors/ruview_rf.py - Sensor abstraction
backend/sentinel/sensors/base.py
Analysis pipeline
- Frame pipeline
backend/sentinel/core/pipeline.py - Signal processing
backend/sentinel/core/dsp.py - Vitals estimation
backend/sentinel/core/vitals.py - Subject tracking
backend/sentinel/core/tracks.py - State and advisory
backend/sentinel/core/assessment.py - Event engine
backend/sentinel/core/events.py
Backend services
- Application runtime
backend/sentinel/main.py - Configuration
backend/sentinel/config/settings.py - Telemetry hub
backend/sentinel/core/telemetry.py - HTTP and WebSocket API
backend/sentinel/api/routes.py
Operator console
- Six-screen console
frontend/src/app - Console shell
frontend/src/components/Shell.tsx - 3-D sensing volume
frontend/src/components/VolumeScene.tsx - Console panels
frontend/src/components/panels
Research records
- Session database
backend/sentinel/database/db.py - Scenario simulator
backend/sentinel/simulation/scenario.py - Model evaluation
backend/sentinel/evaluation.py
Other components
- Operator
Connections 29
- Operator → Six-screen console: views and labels
README.md - ESP32 CSI nodes → RuView sensing server: sends CSI
README.md - RuView sensing server → RuView adapter: streams sensing updates
README.md - RuView adapter → Telemetry hub: publishes frames
backend/sentinel/sensors/ruview_rf.py - Sensor abstraction → RuView adapter: defines sensor contract
backend/sentinel/sensors/__init__.py - Application runtime → Configuration: loads configuration
backend/sentinel/main.py - Application runtime → RuView adapter: starts sensors
backend/sentinel/main.py - Application runtime → Frame pipeline: creates pipeline
backend/sentinel/main.py - Application runtime → Telemetry hub: creates hub
backend/sentinel/main.py - Application runtime → Event engine: starts event engine
backend/sentinel/main.py - Application runtime → Session database: opens and closes
backend/sentinel/main.py - Frame pipeline → Telemetry hub: publishes derived channels
backend/sentinel/core/pipeline.py - Frame pipeline → Subject tracking: ingests frames
backend/sentinel/core/pipeline.py - Subject tracking → Vitals estimation: estimates per-subject vitals
backend/sentinel/core/tracks.py - Subject tracking → State and advisory: assesses tracks
backend/sentinel/core/tracks.py - Vitals estimation → Signal processing: uses signal processing
backend/sentinel/core/vitals.py - State and advisory → Signal processing: uses signal features
backend/sentinel/core/assessment.py - State and advisory → Vitals estimation: uses vital features
backend/sentinel/core/assessment.py - HTTP and WebSocket API → Telemetry hub: reads live channels
backend/sentinel/api/routes.py - HTTP and WebSocket API → Session database: queries history
backend/sentinel/api/routes.py - Telemetry hub → Session database: taps telemetry
backend/sentinel/main.py - Telemetry hub → Six-screen console: streams telemetry
README.md - HTTP and WebSocket API → Six-screen console: serves console API
- Six-screen console → Console shell: renders screens
- Console shell → 3-D sensing volume: renders sensing volume
- Console shell → Console panels: renders panels
- Scenario simulator → Frame pipeline: supplies simulated frames
- Model evaluation → Frame pipeline: evaluates pipeline
backend/sentinel/evaluation.py - Model evaluation → Scenario simulator: scores scenarios
backend/sentinel/evaluation.py