Skip to content
Snippets Groups Projects
Commit 7e4db340 authored by nimishsantosh107's avatar nimishsantosh107
Browse files

removed comment in wrappers.py

parent 157d8872
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ def possible_actions_sorted_by_distance(env: RailEnv, handle: int): ...@@ -26,7 +26,6 @@ def possible_actions_sorted_by_distance(env: RailEnv, handle: int):
else: else:
print("no action possible!") print("no action possible!")
print("agent status: ", agent.state) print("agent status: ", agent.state)
#return None
# NEW: if agent is at target, DO_NOTHING, and distance is zero. # NEW: if agent is at target, DO_NOTHING, and distance is zero.
# NEW: (needs to be tested...) # NEW: (needs to be tested...)
return [(RailEnvActions.DO_NOTHING, 0)] * 2 return [(RailEnvActions.DO_NOTHING, 0)] * 2
......
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