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:
46
server/client/README.md
Normal file
46
server/client/README.md
Normal 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 |
|
||||
Reference in New Issue
Block a user