Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flatland
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pranjal_dhole
Flatland
Commits
bea5c35c
There was an error fetching the commit references. Please try again later.
Commit
bea5c35c
authored
5 years ago
by
u214892
Browse files
Options
Downloads
Patches
Plain Diff
test_utils: improved documentation
parent
a2c767a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_utils.py
+4
-3
4 additions, 3 deletions
tests/test_utils.py
with
4 additions
and
3 deletions
tests/test_utils.py
+
4
−
3
View file @
bea5c35c
...
...
@@ -62,9 +62,10 @@ def run_replay_config(env: RailEnv, test_configs: List[ReplayConfig], rendering:
Parameters
----------
env
test_configs
rendering
activate_agents: should the agents directly be activated when the environment is initially setup by `reset()`?
env: the environment; is `reset()` to set the agents
'
intial position, direction, target and speed
test_configs: the `ReplayConfig`s, one for each agent
rendering: should be rendered during replay?
"""
if
rendering
:
renderer
=
RenderTool
(
env
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment