feat(server): ingest temps réel WS + GUI live + client PC

Serveur FastAPI reçoit le flux JSONL (sim ou ROV réel) sur /ws/ingest,
SLAM incrémental, rediffuse carte+poses sur /ws/live, GUI live et export PLY.
Déployé Docker sur caddy-net, exposé /moulin-live/. Client PC stream_client.py.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Flag
2026-06-06 20:27:17 +00:00
parent 06e198c7d9
commit 6e83bbd73f
15 changed files with 12675 additions and 0 deletions

46
server/client/README.md Normal file
View File

@@ -0,0 +1,46 @@
# moulin-mapper — client stream
## Prérequis
```bash
pip install -r requirements.txt
```
## Commande (simulation rapide)
```bash
python stream_client.py \
--file ../data/sim/run_L.jsonl \
--url wss://laboratoire.freeboxos.fr/moulin-live/ws/ingest \
--token moulin-2026 \
--speed 0
```
## Commande temps réel
```bash
python stream_client.py \
--file ../data/sim/run_L.jsonl \
--url wss://laboratoire.freeboxos.fr/moulin-live/ws/ingest \
--token moulin-2026 \
--speed 1.0
```
## Bridge ROV (futur)
```bash
rov_bridge | python stream_client.py \
--stdin \
--url wss://laboratoire.freeboxos.fr/moulin-live/ws/ingest \
--token moulin-2026
```
## Options
| Option | Défaut | Description |
|--------|--------|-------------|
| `--file FILE` | — | Fichier JSONL à envoyer |
| `--stdin` | — | Lit depuis stdin (bridge ROV) |
| `--url URL` | `ws://127.0.0.1:8211/ws/ingest` | URL WebSocket du serveur |
| `--token TOKEN` | `moulin-2026` | Token d'authentification |
| `--speed FLOAT` | `1.0` | 0=max, 1=temps réel, 2=2× plus vite |