No description
Find a file
jedarden 2824affde7 feat: crowd flow visualization implementation
Implements comprehensive crowd flow visualization for the Spaxel
WiFi CSI-based indoor positioning system. The feature tracks movement
patterns over time and renders them as directional flow maps and dwell
hotspot heatmaps.

Key components:
- FlowAccumulator: Subscribes to TrackManager updates (10 Hz) and
  accumulates trajectory data with 0.2m sampling threshold
- SQLite tables: trajectory_segments, dwell_accumulator, detected_corridors
- Flow map computation: Bresenham's line algorithm for grid traversal,
  5-minute cache, time/person filtering
- Dwell heatmap: Stationary detection (< 0.1 m/s), normalized 0-1
- Corridor detection: Circular variance analysis, connected components
- 3D visualization: Animated arrows (flow), heatmap patches (dwell),
  raised platforms (corridors)
- REST API: /api/analytics/flow, /api/analytics/dwell, /api/analytics/corridors
- Dashboard controls: Time/person filters, layer toggles, auto-refresh

Background tasks:
- Daily pruning of trajectory segments older than 90 days
- Weekly corridor detection and recomputation

Load shedding integration:
- Suspends crowd flow accumulation at Level 1 (≥80ms iteration time)
- Respects ShouldAccumulateCrowdFlow() flag from loadshed package

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-11 08:54:10 -04:00
.beads feat: crowd flow visualization implementation 2026-04-11 08:54:10 -04:00
.github/workflows feat: wire anomaly detection & security mode API endpoints 2026-04-07 15:09:34 -04:00
.marathon ci: set VERSION to 0.1.0 for image build 2026-04-06 08:53:25 -04:00
dashboard fix: resolve analytics API test failures and improve corridor response format 2026-04-11 08:34:24 -04:00
docs init: spaxel project — docs, plan, and marathon infrastructure 2026-03-26 06:43:25 -04:00
firmware feat: implement firmware LED blink handler for identify command 2026-04-09 07:01:42 -04:00
mothership feat: crowd flow visualization implementation 2026-04-11 08:54:10 -04:00
tests/e2e feat: complete anomaly detection & security mode dashboard UI 2026-04-07 15:50:25 -04:00
.dockerignore feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
.gitignore feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
.needle-predispatch-sha feat: crowd flow visualization implementation 2026-04-11 08:54:10 -04:00
.needle.yaml feat: trigger CI build and verify deployment 2026-04-06 09:54:08 -04:00
API_IMPLEMENTATION_STATUS.md docs: verify REST API implementation completeness 2026-04-09 18:18:42 -04:00
docker-compose.yml feat(deploy): Docker packaging with multi-stage build and compose orchestration 2026-03-26 07:46:15 -04:00
Dockerfile feat: implement comprehensive /healthz endpoint 2026-04-07 11:09:36 -04:00
fix_ble_handlers.py feat: implement spatial quick actions with follow camera 2026-04-09 22:54:36 -04:00
PROGRESS.md docs: document Phase 7 completion - presence prediction implementation 2026-04-09 10:17:32 -04:00
VERSION ci: auto-bump version to 0.1.176 2026-04-11 12:34:41 +00:00