Skip to content

Commit

Permalink
test_model_sensors remove check for standup v3
Browse files Browse the repository at this point in the history
  • Loading branch information
Kallinteris-Andreas committed Dec 6, 2023
1 parent 47a7059 commit 9dc31e2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/envs/mujoco/test_mujoco_v5.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,11 +640,12 @@ def test_model_sensors(version: str):
assert env.data.qfrc_actuator.shape == (23,)
assert env.data.cfrc_ext.shape == (14, 6)

env = gym.make(f"HumanoidStandup-{version}").unwrapped
assert env.data.cinert.shape == (14, 10)
assert env.data.cvel.shape == (14, 6)
assert env.data.qfrc_actuator.shape == (23,)
assert env.data.cfrc_ext.shape == (14, 6)
if version != "v3": # HumanoidStandup v3 does not exist
env = gym.make(f"HumanoidStandup-{version}").unwrapped
assert env.data.cinert.shape == (14, 10)
assert env.data.cvel.shape == (14, 6)
assert env.data.qfrc_actuator.shape == (23,)
assert env.data.cfrc_ext.shape == (14, 6)


def test_dt():
Expand Down

0 comments on commit 9dc31e2

Please sign in to comment.