Skip to content
Snippets Groups Projects
Commit 844f0cdb authored by Erik Nygren's avatar Erik Nygren :bullettrain_front:
Browse files

fixed bug in tree observation.

parent 2df4a434
No related branches found
No related tags found
No related merge requests found
......@@ -280,7 +280,7 @@ class TreeObsForRailEnv(ObservationBuilder):
min_fractional_speed = current_fractional_speed
# Other direction agents
# TODO: This does not work as expected yet
# TODO: Test that this behavior is as expected
other_agent_opposite_direction += self.location_has_agent[position] - \
self.location_has_agent_direction[
(position, direction)]
......
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