File size: 1,126 Bytes
c4f8e4a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"