diff --git a/sim/humanoid_gym/envs/legs_config.py b/sim/humanoid_gym/envs/legs_config.py index 2c98a793..8be39bcd 100755 --- a/sim/humanoid_gym/envs/legs_config.py +++ b/sim/humanoid_gym/envs/legs_config.py @@ -3,9 +3,8 @@ from humanoid.envs.base.legged_robot_config import LeggedRobotCfg, LeggedRobotCfgPPO from sim.env import stompy_urdf_path -from sim.stompy.joints import StompyFixed from sim.humanoid_gym.envs.stompy_config import StompyCfg - +from sim.stompy.joints import StompyFixed NUM_JOINTS = len(StompyFixed.default_standing()) # 17 diff --git a/sim/humanoid_gym/envs/legs_env.py b/sim/humanoid_gym/envs/legs_env.py index 8d4e1214..f9fdddf9 100755 --- a/sim/humanoid_gym/envs/legs_env.py +++ b/sim/humanoid_gym/envs/legs_env.py @@ -1,14 +1,13 @@ # mypy: disable-error-code="valid-newtype" """Defines the environment for training the Stompy with fixed torso.""" +import torch from humanoid.envs import LeggedRobot from humanoid.envs.base.legged_robot_config import LeggedRobotCfg from humanoid.utils.terrain import HumanoidTerrain from isaacgym import gymtorch from isaacgym.torch_utils import * -import torch - from sim.stompy.joints import StompyFixed diff --git a/sim/humanoid_gym/envs/stompy_env.py b/sim/humanoid_gym/envs/stompy_env.py index 6b257229..461c9a6a 100755 --- a/sim/humanoid_gym/envs/stompy_env.py +++ b/sim/humanoid_gym/envs/stompy_env.py @@ -1,14 +1,13 @@ # mypy: disable-error-code="valid-newtype" """Defines the environment for training the humanoid.""" +import torch from humanoid.envs import LeggedRobot from humanoid.envs.base.legged_robot_config import LeggedRobotCfg from humanoid.utils.terrain import HumanoidTerrain from isaacgym import gymtorch from isaacgym.torch_utils import * -import torch - from sim.stompy.joints import Stompy