Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Flatland
Flatland
Commits
9bb10186
Commit
9bb10186
authored
Jun 22, 2019
by
Erik Nygren
🚅
Browse files
Fixed formatting
parent
77e447fe
Pipeline
#1210
failed with stages
in 9 minutes and 35 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
flatland/envs/rail_env.py
View file @
9bb10186
...
...
@@ -195,8 +195,6 @@ class RailEnv(Environment):
# for i in range(len(self.agents_handles)):
for
iAgent
in
range
(
self
.
get_num_agents
()):
agent
=
self
.
agents
[
iAgent
]
if
iAgent
%
2
==
0
:
agent
.
speed_data
[
"speed"
]
=
1.
/
10.
if
self
.
dones
[
iAgent
]:
# this agent has already completed...
continue
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment