- run_pipeline.sh: add stage 04b after frame extract - 04b_trim_water.py: skip trim if after_pct < before_pct (no-regression guard) - 05_inference.py: add --offload_to_cpu + --ply_conf_threshold flags Recovers 4 degraded segments on Lepradet mission (AUV213/GX020030, AUV212/GX010094, AUV212/GX019861, AUV210/GX029818).
cosma-pipeline
Pipeline autonome de reconstruction COSMA.
Structure
pipeline/
├── config/ # Seuils QA + params par défaut (versionnés)
├── orchestrator/ # DB SQLite, dispatcher, FastAPI
├── stages/ # Modules indépendants 01..08
├── qa/ # Vérifications pass/fail/degraded
└── cron/ # Auto-itération 6h
Usage rapide
# 1. Ingest
python3 pipeline/stages/01_ingest.py /mnt/ssd/20260505-Lepradet --name 20260505-Lepradet
# 2. Parse USBL
python3 pipeline/stages/02_usbl_parse.py /home/cosma/cosma-pipeline/20260505-Lepradet/manifest.json
# 3. Filter
python3 pipeline/stages/03_usbl_filter.py /home/cosma/cosma-pipeline/20260505-Lepradet/02_usbl_raw/
Notes données
logs/SUB/log/*_usbl.csv= bytes série bruts (Waterlinked M64), PAS lat/lon- Navigation réelle dans
logs/SUB/bag/*.mcap(ROS2 MCAP) - Mapping AUV : vidéos utilisent AUV2xx, bags utilisent AUV0xx (même 2 derniers chiffres)