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>
1.0 KiB
1.0 KiB
moulin-mapper — client stream
Prérequis
pip install -r requirements.txt
Commande (simulation rapide)
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
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)
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 |