.
This commit is contained in:
parent
aa63f374fe
commit
7e828b8af9
@ -81,7 +81,7 @@ class PosPointEnv(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
|
||||
reward = -1*min(max(0, distance - 3), 100)*self.action_penalty / 1000
|
||||
return next_obs, reward, False, {}
|
||||
|
||||
def _calculate_maze_size(self) -> float:
|
||||
|
Loading…
Reference in New Issue
Block a user