Commit 6b20ff0
committed
feat: Add wifi-Mat disaster detection enhancements
Implement 6 optional enhancements for the wifi-Mat module:
1. Hardware Integration (csi_receiver.rs + hardware_adapter.rs)
- ESP32 CSI support via serial/UDP
- Intel 5300 BFEE file parsing
- Atheros CSI Tool integration
- Live UDP packet streaming
- PCAP replay capability
2. CLI Commands (wifi-densepose-cli/src/mat.rs)
- `wifi-mat scan` - Run disaster detection scan
- `wifi-mat status` - Check event status
- `wifi-mat zones` - Manage scan zones
- `wifi-mat survivors` - List detected survivors
- `wifi-mat alerts` - View and acknowledge alerts
- `wifi-mat export` - Export data in various formats
3. REST API (wifi-densepose-mat/src/api/)
- Full CRUD for disaster events
- Zone management endpoints
- Survivor and alert queries
- WebSocket streaming for real-time updates
- Comprehensive DTOs and error handling
4. WASM Build (wifi-densepose-wasm/src/mat.rs)
- Browser-based disaster dashboard
- Real-time survivor tracking
- Zone visualization
- Alert management
- JavaScript API bindings
5. Detection Benchmarks (benches/detection_bench.rs)
- Single survivor detection
- Multi-survivor detection
- Full pipeline benchmarks
- Signal processing benchmarks
- Hardware adapter benchmarks
6. ML Models for Debris Penetration (ml/)
- DebrisModel for material analysis
- VitalSignsClassifier for triage
- FFT-based feature extraction
- Bandpass filtering
- Monte Carlo dropout for uncertainty
All 134 unit tests pass. Compilation verified for:
- wifi-densepose-mat
- wifi-densepose-cli
- wifi-densepose-wasm (with mat feature)1 parent 8a43e8f commit 6b20ff0
25 files changed
Lines changed: 14452 additions & 60 deletions
File tree
- rust-port/wifi-densepose-rs
- crates
- wifi-densepose-cli
- src
- wifi-densepose-mat
- benches
- src
- api
- detection
- integration
- ml
- wifi-densepose-wasm
- src
- examples
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 49 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
6 | 17 | | |
7 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
Lines changed: 51 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments