Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
wise-move
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wise-lab
wise-move
Commits
2cedd22c
Commit
2cedd22c
authored
Nov 18, 2018
by
Jae Young Lee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert some changes in simple_intersection_env and maneuver_base.
parent
0593724d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
env/simple_intersection/simple_intersection_env.py
env/simple_intersection/simple_intersection_env.py
+1
-1
options/simple_intersection/maneuver_base.py
options/simple_intersection/maneuver_base.py
+2
-2
No files found.
env/simple_intersection/simple_intersection_env.py
View file @
2cedd22c
...
...
@@ -256,7 +256,7 @@ class SimpleIntersectionEnv(RoadEnv, EpisodicEnvBase):
ego_heading_towards_lane_centre
=
\
kwargs
.
setdefault
(
'ego_heading_towards_lane_centre'
,
True
)
randomize_special_scenarios
=
\
kwargs
.
setdefault
(
'randomize_special_scenarios'
,
Tru
e
)
kwargs
.
setdefault
(
'randomize_special_scenarios'
,
Fals
e
)
if
n_others_range
[
0
]
<
0
:
raise
ValueError
(
"the number of other vehicles has to be non-negative."
)
...
...
options/simple_intersection/maneuver_base.py
View file @
2cedd22c
...
...
@@ -29,7 +29,7 @@ class ManeuverBase(EpisodicEnvBase):
# _extra_action_weights_flag = True); note that a cost is defined
# as a negative reward, so a cost will be summed up to the reward
# with subtraction.
_cost_weights
=
(
20
.0
*
1e-3
,
1.0
*
1e-3
,
0.25
*
1e-3
,
1.0
*
1e-3
,
_cost_weights
=
(
1
.0
*
1e-3
,
1.0
*
1e-3
,
0.25
*
1e-3
,
1.0
*
1e-3
,
100.0
*
1e-3
,
0.1
*
1e-3
,
0.25
*
1e-3
,
0.1
*
1e-3
)
_extra_r_terminal
=
None
...
...
@@ -49,7 +49,7 @@ class ManeuverBase(EpisodicEnvBase):
#: enable the property for low-level policy training only, if any.
# this flag is useful in low-level policy learning
# (see maneuvers.py
. In ManeuverBase, this plays no role
).
# (see maneuvers.py).
_enable_low_level_training_properties
=
False
#: the additional reward given to the high-level learner for choosing
...
...
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