feat(itbwifi): local deployment, ITBwifi landing page, Observatory live mode#948
Open
Omrius wants to merge 1 commit into
Open
feat(itbwifi): local deployment, ITBwifi landing page, Observatory live mode#948Omrius wants to merge 1 commit into
Omrius wants to merge 1 commit into
Conversation
…ve mode ## What changed ### New files - `ui/itbwifi.html` — ITBwifi landing page: Three.js particle canvas, animated skeleton demo, REST live data feed from localhost:8000, full feature showcase - `start-api.ps1` / `start-ui.ps1` — One-click PowerShell launchers for the FastAPI backend (port 8000) and static UI server (port 3000) ### Observatory — live data mode - `ui/observatory/js/main.js`: auto-detects ITBwifi API at localhost:8000 via `/health/health`; switches from demo mode to 5 Hz REST polling (`/api/v1/pose/current`); adapts the JSON response to the SensingUpdate contract expected by the Three.js renderer; DEMO→LIVE badge update - `ui/observatory.html`: default WS URL updated to correct endpoint `ws://localhost:8000/api/v1/stream/pose` ### Realistic mock data (2 seated persons) - `archive/v1/src/testing/mock_pose_generator.py`: full rewrite — stateful `_PersonState` class replaces pure-random generation; always returns exactly 2 persons in anatomically correct seated pose; temporal coherence via IIR low-pass filter (breathing ±0.003, head ±0.004, wrist ±0.006); activity locked to "sitting"; confidence stable 0.82–0.94 - `archive/v1/src/testing/mock_csi_generator.py`: noise_level 0.1→0.018, movement_amplitude 0.3→0.04, movement_freq 0.5→0.25 Hz (respiratory rate) ## Why Previous mock generator produced random teleporting skeletons, 1–3 random persons per frame, and noisy CSI — inconsistent with a real seated 2-person scene. The Observatory and ITBwifi landing page needed a stable, realistic data source to demonstrate the system accurately.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ui/itbwifi.html) — landing page avec canvas WebGL animé, squelette 3D, courbe vitaux temps réel, connexion live à l'APIlocalhost:8000:8000, polling REST 5 Hz, adaptateur SensingUpdate, badge DEMO→LIVEstart-api.ps1etstart-ui.ps1pour lancement one-clickTest plan
start-api.ps1démarre sans erreurhttp://localhost:3000/itbwifi.html— canvas animé + données livehttp://localhost:3000/observatory.html— badge passe DEMO→LIVE en <2s/api/v1/pose/currentretourne toujours 2 personnesactivity: "sitting"🤖 Generated with Claude Code