From 7e828b8af905cc8cbfd495c05d9cac24e0800f68 Mon Sep 17 00:00:00 2001 From: Dominik Roth Date: Sat, 18 May 2024 15:59:58 +0200 Subject: [PATCH] . --- mujoco_maze/pos_point.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mujoco_maze/pos_point.py b/mujoco_maze/pos_point.py index 6def29d..06468d6 100644 --- a/mujoco_maze/pos_point.py +++ b/mujoco_maze/pos_point.py @@ -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: