.
This commit is contained in:
parent
1965899903
commit
3864909174
@ -78,8 +78,7 @@ class DirPointEnv(AgentModel):
|
||||
self.data.site_xpos[-1][2] = 0.1 # Slightly higher in space
|
||||
|
||||
next_obs = self._get_obs()
|
||||
reward = -1*min(max(0, distance - 3), 100)*self.action_penalty / 1000
|
||||
return next_obs, reward, False, {}
|
||||
return next_obs, 0.0, False, {}
|
||||
|
||||
def _calculate_maze_size(self) -> float:
|
||||
"""Calculate the effective size of the maze."""
|
||||
|
Loading…
Reference in New Issue
Block a user