Initial archive: ping-pong-ping demo (USBL DS-TWR + SS-TWR + passive OWR)
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/
This commit is contained in:
16
deploy.sh
Executable file
16
deploy.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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/
|
||||
Reference in New Issue
Block a user