Self-contained HTML demo with two interactive canvas animations: - Animation 1: DS-TWR principle (mobile-mobile, both sides know distance) - Animation 2: USV master + N AUVs, SS-TWR active + passive OWR for non-target listeners Realistic AUV operating params (1-2 kt cruise, 5-700 m range). Includes README documenting the protocol, design decisions taken during the 2026-04-27 design conversation between Flag and Poulpe, deployment routing (Gateway Caddy + Core Caddy path-based), and TODO for future iterations. Live: https://laboratoire.freeboxos.fr/ping-pong-ping/
17 lines
676 B
Bash
Executable File
17 lines
676 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Deploy ping-pong-ping/index.html to Core Caddy webroot.
|
|
# Idempotent. Requires SSH access to Core (.82) as floppyrj45 + sudo.
|
|
set -euo pipefail
|
|
|
|
LOCAL="$(dirname "$0")/index.html"
|
|
REMOTE_HOST="floppyrj45@192.168.0.82"
|
|
REMOTE_TMP="/tmp/ping-pong-ping.html"
|
|
REMOTE_TARGET="/docker/caddy/www/ping-pong-ping/index.html"
|
|
|
|
scp "$LOCAL" "$REMOTE_HOST:$REMOTE_TMP"
|
|
ssh "$REMOTE_HOST" "sudo mv $REMOTE_TMP $REMOTE_TARGET && sudo chown 1000:1000 $REMOTE_TARGET"
|
|
|
|
echo "Deployed. Public URL: https://laboratoire.freeboxos.fr/ping-pong-ping/"
|
|
curl -skLo /dev/null -w 'HTTP %{http_code}, %{size_download} bytes\n' \
|
|
https://laboratoire.freeboxos.fr/ping-pong-ping/
|