14 lines
786 B
Bash
Executable File
14 lines
786 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Genuine live Kit window, not the offline FK animation. No training.
|
|
set -euo pipefail
|
|
ROOT=$(cd -- "$(dirname -- "$0")" && pwd)
|
|
: "${DISPLAY:?A local graphical DISPLAY is required for the real Kit window}"
|
|
OUT=${SKILL_DEMO_OUTPUT:-$(mktemp -d "${TMPDIR:-/tmp}/go2-fl-gui.XXXXXXXX")}
|
|
mkdir -p "$OUT"
|
|
CLI="$ROOT/scripts/go2_fl_skill.py"
|
|
echo "Live GUI S1 (analytic); new simulation evidence: $OUT"
|
|
echo "Close Kit while running = ABORT. After completion, final frame stays (max 10 min)."
|
|
/usr/bin/python3.12 "$CLI" authorize --registration "$OUT/session/registration.json"
|
|
/usr/bin/python3.12 "$CLI" run --registration "$OUT/session/registration.json" --output "$OUT/S1" --sequence S1 --controller analytic --gui
|
|
/usr/bin/python3.12 "$CLI" status --output "$OUT/S1"
|