Skip to content
Snippets Groups Projects
Commit 62af7592 authored by Erik Nygren's avatar Erik Nygren
Browse files

updated how generator check for distance map data.

Updated test for generators to check that distance map is not recomputed when loaded correctly
fixed formatting and removed debug prints
parent 02e9d8d0
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,6 @@ class TreeObsForRailEnv(ObservationBuilder):
def _compute_distance_map(self):
agents = self.env.agents
print("Computing distance map")
# For testing only --> To assert if a distance map need to be recomputed.
self.distance_map_computed = True
nb_agents = len(agents)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment