This commit is contained in:
Dominik Moritz Roth 2024-05-18 15:59:58 +02:00
parent aa63f374fe
commit 7e828b8af9

View File

@ -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: