Files
SkillFactory/demo_gui.sh
T
chenlin c528dd268f feat: checkpoint Go2 FL simulation performance v0.4.2
Include callable skill and live-GUI prerequisites, epoch sensor reads, packed snapshots, sampled bit-exact kinematics, and verified-tick rendering without changing the physical/control schedule.

Record bounded analytic S1 GUI/headless qualification, original failures and CPU evidence (1557 passed, 6 skipped). Preserve accepted_skill=false and sub-real-time limitations. Exclude native authorities, caches, large media and local delivery copies; retain sealed artifact digest.
2026-10-16 15:46:01 +08:00

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"