diff --git a/simulation_ws/src/mars/launch/mars_full_sim.launch b/simulation_ws/src/mars/launch/mars_full_sim.launch index 22e6410..9699915 100644 --- a/simulation_ws/src/mars/launch/mars_full_sim.launch +++ b/simulation_ws/src/mars/launch/mars_full_sim.launch @@ -12,6 +12,7 @@ + gui = false @@ -21,4 +22,4 @@ - \ No newline at end of file + 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 9b0f3b4..7eb7d8e 100644 --- a/simulation_ws/src/rl-agent/markov/environments/mars_env.py +++ b/simulation_ws/src/rl-agent/markov/environments/mars_env.py @@ -484,8 +484,7 @@ def reward_function(self): """ progress = INITIAL_DISTANCE_TO_CHECKPOINT / self.current_distance_to_checkpoint - if progress >=1.3 and progress <1.7: - # Determine if Rover already received one time reward for reaching this waypoint + if progress >=1.3 and progress <1.7: # Determine if Rover already received one time reward for reaching this waypoint if not self.reached_waypoint_1: self.reached_waypoint_1 = True print("Congratulations! The rover has reached waypoint 1!")