ant jump seeding fix
This commit is contained in:
parent
77976aef21
commit
5d4fc4d52f
@ -84,7 +84,7 @@ class AntJumpEnv(AntEnv):
|
|||||||
options: Optional[dict] = None, ) -> Union[ObsType, Tuple[ObsType, dict]]:
|
options: Optional[dict] = None, ) -> Union[ObsType, Tuple[ObsType, dict]]:
|
||||||
self.current_step = 0
|
self.current_step = 0
|
||||||
self.max_height = 0
|
self.max_height = 0
|
||||||
self.goal = np.random.uniform(1.0, 2.5,
|
self.goal = self.np_random.uniform(1.0, 2.5,
|
||||||
1) # goal heights from 1.0 to 2.5; can be increased, but didnt work well with CMORE
|
1) # goal heights from 1.0 to 2.5; can be increased, but didnt work well with CMORE
|
||||||
return super().reset()
|
return super().reset()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user