Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cd877f8

Browse files
committed
docs: Add comprehensive wifi-Mat user guide and fix compilation
- Add detailed wifi-Mat user guide covering: - Installation and setup - Detection capabilities (breathing, heartbeat, movement) - Localization system (triangulation, depth estimation) - START protocol triage classification - Alert system with priority escalation - Field deployment guide - Hardware setup requirements - API reference and troubleshooting - Update main README.md with wifi-Mat section and links - Fix compilation issues: - Add missing deadline field in AlertPayload - Fix type ambiguity in powi calls - Resolve borrow checker issues in scan_cycle - Export CsiDataBuffer from detection module - Add missing imports in test modules - All 83 tests now passing
1 parent a5044b0 commit cd877f8

14 files changed

Lines changed: 1341 additions & 63 deletions

File tree

.claude-flow/daemon-state.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
"isRunning": false
1313
},
1414
"audit": {
15-
"runCount": 3,
15+
"runCount": 4,
1616
"successCount": 0,
17-
"failureCount": 3,
17+
"failureCount": 4,
1818
"averageDurationMs": 0,
19-
"lastRun": "2026-01-13T17:14:43.155Z",
19+
"lastRun": "2026-01-13T17:29:43.161Z",
2020
"nextRun": "2026-01-13T17:24:43.156Z",
2121
"isRunning": false
2222
},
@@ -44,7 +44,7 @@
4444
"failureCount": 2,
4545
"averageDurationMs": 0,
4646
"lastRun": "2026-01-13T17:20:43.154Z",
47-
"nextRun": "2026-01-13T17:15:43.151Z",
47+
"nextRun": "2026-01-13T17:40:43.155Z",
4848
"isRunning": false
4949
},
5050
"predict": {
@@ -131,5 +131,5 @@
131131
}
132132
]
133133
},
134-
"savedAt": "2026-01-13T17:20:43.155Z"
134+
"savedAt": "2026-01-13T17:29:43.162Z"
135135
}

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,61 @@ Mathematical correctness validated:
7373

7474
See [Rust Port Documentation](/rust-port/wifi-densepose-rs/docs/) for ADRs and DDD patterns.
7575

76+
## 🚨 WiFi-Mat: Disaster Response Module
77+
78+
A specialized extension for **search and rescue operations** - detecting and localizing survivors trapped in rubble, earthquakes, and natural disasters.
79+
80+
### Key Capabilities
81+
82+
| Feature | Description |
83+
|---------|-------------|
84+
| **Vital Signs Detection** | Breathing (4-60 BPM), heartbeat via micro-Doppler |
85+
| **3D Localization** | Position estimation through debris up to 5m depth |
86+
| **START Triage** | Automatic Immediate/Delayed/Minor/Deceased classification |
87+
| **Real-time Alerts** | Priority-based notifications with escalation |
88+
89+
### Use Cases
90+
91+
- Earthquake search and rescue
92+
- Building collapse response
93+
- Avalanche victim location
94+
- Mine collapse detection
95+
- Flood rescue operations
96+
97+
### Quick Example
98+
99+
```rust
100+
use wifi_densepose_mat::{DisasterResponse, DisasterConfig, DisasterType, ScanZone, ZoneBounds};
101+
102+
let config = DisasterConfig::builder()
103+
.disaster_type(DisasterType::Earthquake)
104+
.sensitivity(0.85)
105+
.max_depth(5.0)
106+
.build();
107+
108+
let mut response = DisasterResponse::new(config);
109+
response.initialize_event(location, "Building collapse")?;
110+
response.add_zone(ScanZone::new("North Wing", ZoneBounds::rectangle(0.0, 0.0, 30.0, 20.0)))?;
111+
response.start_scanning().await?;
112+
113+
// Get survivors prioritized by triage status
114+
let immediate = response.survivors_by_triage(TriageStatus::Immediate);
115+
println!("{} survivors require immediate rescue", immediate.len());
116+
```
117+
118+
### Documentation
119+
120+
- **[WiFi-Mat User Guide](docs/wifi-mat-user-guide.md)** - Complete setup, configuration, and field deployment
121+
- **[Architecture Decision Record](docs/adr/ADR-001-wifi-mat-disaster-detection.md)** - Design decisions and rationale
122+
- **[Domain Model](docs/ddd/wifi-mat-domain-model.md)** - DDD bounded contexts and entities
123+
124+
**Build:**
125+
```bash
126+
cd rust-port/wifi-densepose-rs
127+
cargo build --release --package wifi-densepose-mat
128+
cargo test --package wifi-densepose-mat
129+
```
130+
76131
## 📋 Table of Contents
77132

78133
<table>
@@ -81,6 +136,8 @@ See [Rust Port Documentation](/rust-port/wifi-densepose-rs/docs/) for ADRs and D
81136

82137
**🚀 Getting Started**
83138
- [Key Features](#-key-features)
139+
- [Rust Implementation (v2)](#-rust-implementation-v2)
140+
- [WiFi-Mat Disaster Response](#-wifi-mat-disaster-response-module)
84141
- [System Architecture](#️-system-architecture)
85142
- [Installation](#-installation)
86143
- [Using pip (Recommended)](#using-pip-recommended)

0 commit comments

Comments
 (0)