From 3864909174a1396dab6f788c6fab186153e4c456 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sun, 19 May 2024 19:00:06 +0200 Subject: [PATCH] . --- mujoco_maze/dir_point.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mujoco_maze/dir_point.py b/mujoco_maze/dir_point.py index f019be9..1ff2ba2 100644 --- a/mujoco_maze/dir_point.py +++ b/mujoco_maze/dir_point.py @@ -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."""