From bd5ea9439b9e1fbe36c9710748ee360a46eac4bb Mon Sep 17 00:00:00 2001 From: Liam Arbuckle Date: Wed, 11 Mar 2020 02:52:28 +0800 Subject: [PATCH] #13 --- simulation_ws/src/rl-agent/markov/environments/mars_env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/simulation_ws/src/rl-agent/markov/environments/mars_env.py b/simulation_ws/src/rl-agent/markov/environments/mars_env.py index 7eb7d8e..1891868 100644 --- a/simulation_ws/src/rl-agent/markov/environments/mars_env.py +++ b/simulation_ws/src/rl-agent/markov/environments/mars_env.py @@ -478,9 +478,9 @@ def reward_function(self): # No Episode ending events - continue to calculate reward - general waypoints not helpful - # smooth reward with no waypoints + """ # smooth reward with no waypoints multiplier = 1 - (self.current_distance_to_checkpoint/INITIAL_DISTANCE_TO_CHECKPOINT)**4 - + """ """ progress = INITIAL_DISTANCE_TO_CHECKPOINT / self.current_distance_to_checkpoint