Files
Gym_GPU/rl_game/get_up/__init__.py
2026-04-01 04:40:00 -04:00

12 lines
349 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import gymnasium as gym
# 导入你的配置
from rl_game.get_up.config.t1_env_cfg import T1EnvCfg
# 注册环境到 Gymnasium防止重复注册冲突
if "Isaac-T1-GetUp-v0" not in gym.registry:
gym.register(
id="Isaac-T1-GetUp-v0",
entry_point="isaaclab.envs:ManagerBasedRLEnv",
kwargs={"cfg": T1EnvCfg()},
)