Fixed: ant_jump returned observations bigger then observation_space

This commit is contained in:
2023-06-10 18:48:13 +02:00
parent 42003a3f9a
commit 40d2409c26
+1 -1
View File
@@ -62,7 +62,7 @@ class AntEnvCustomXML(AntEnv):
exclude_current_positions_from_observation exclude_current_positions_from_observation
) )
obs_shape = 27 obs_shape = 27 + 1
if not exclude_current_positions_from_observation: if not exclude_current_positions_from_observation:
obs_shape += 2 obs_shape += 2
if use_contact_forces: if use_contact_forces: