code-Psi0-yth-v21 / scripts /deploy /run_sonic_sim_record_online.sh
Tinghong-Ye22's picture
Add files using upload-large-folder tool
c4f8e4a verified
Raw History Blame Contribute Delete
1.13 kB
cd /cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl
source .venv_sim/bin/activate
export PYTHONPATH=/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/GR00T-WholeBodyControl:/cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18/src
export SONIC_LIVE_STATE_NPY="/tmp/psi0_sonic_live_state.npy"
export SONIC_LIVE_STATE_PERIOD="0.02"
export MUJOCO_GL="egl"
export PYOPENGL_PLATFORM="egl"
VIDEO_PATH="/tmp/psi0_sonic_jog_ff_start_180_r_tracking.mp4"
MAX_SECONDS="240"
RECORD_FLAG_PATH="/tmp/psi0_sonic_record_enabled.flag"
# <modify> 与GR00T/gear_sonic/scripts/2_run.sh的离线渲染参数对齐。
python /cpfs01/thscc/sharestorage/AIGC-06-01/Hithink_VideoGen_Group/user_workspace/yetinghong/code/Psi0-yth-v18/scripts/deploy/run_sonic_sim_record_online.py \
--video-path "$VIDEO_PATH" \
--max-seconds "$MAX_SECONDS" \
--video-width 1440 \
--video-height 832 \
--video-fps 15 \
--sim-frequency 200 \
--record-flag-path "$RECORD_FLAG_PATH"