From 02c8249bf1a7f34d3f3ac10138b0c5b5330a883d Mon Sep 17 00:00:00 2001 From: xuhao3e8 Date: Wed, 30 Jul 2025 11:22:11 +0800 Subject: [PATCH] Fix failed problem if do not have stable_punch.pkl --- neural_wbc/inference_env/inference_env/neural_wbc_env_cfg_h1.py | 2 +- .../neural_wbc/isaac_lab_wrapper/neural_wbc_env_cfg_h1.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neural_wbc/inference_env/inference_env/neural_wbc_env_cfg_h1.py b/neural_wbc/inference_env/inference_env/neural_wbc_env_cfg_h1.py index 4d3f39f..650f147 100644 --- a/neural_wbc/inference_env/inference_env/neural_wbc_env_cfg_h1.py +++ b/neural_wbc/inference_env/inference_env/neural_wbc_env_cfg_h1.py @@ -177,5 +177,5 @@ class NeuralWBCEnvCfgH1(NeuralWBCEnvCfg): upper_body_joint_ids = [10, 11, 12, 13, 14, 15, 16, 17, 18] # torso, shoulders, elbows def __post_init__(self): - self.reference_motion_cfg.motion_path = get_data_path("motions/stable_punch.pkl") + self.reference_motion_cfg.motion_path = "" self.reference_motion_cfg.skeleton_path = get_data_path("motion_lib/h1.xml") diff --git a/neural_wbc/isaac_lab_wrapper/neural_wbc/isaac_lab_wrapper/neural_wbc_env_cfg_h1.py b/neural_wbc/isaac_lab_wrapper/neural_wbc/isaac_lab_wrapper/neural_wbc_env_cfg_h1.py index 83999c2..87884ab 100644 --- a/neural_wbc/isaac_lab_wrapper/neural_wbc/isaac_lab_wrapper/neural_wbc_env_cfg_h1.py +++ b/neural_wbc/isaac_lab_wrapper/neural_wbc/isaac_lab_wrapper/neural_wbc_env_cfg_h1.py @@ -285,7 +285,7 @@ class NeuralWBCEnvCfgH1(NeuralWBCEnvCfg): def __post_init__(self): super().__post_init__() - self.reference_motion_manager.motion_path = get_data_path("motions/stable_punch.pkl") + self.reference_motion_manager.motion_path = "" self.reference_motion_manager.skeleton_path = get_data_path("motion_lib/h1.xml") if self.terrain.terrain_generator == HARD_ROUGH_TERRAINS_CFG: