Fixed: ant_jump returned observations bigger then observation_space
This commit is contained in:
parent
42003a3f9a
commit
40d2409c26
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user