Skip to content
Snippets Groups Projects
Commit fbb9b168 authored by Jae Young Lee's avatar Jae Young Lee
Browse files

Revert a change in KeepLane.

parent 228db9b4
No related branches found
No related tags found
1 merge request!2Final test
...@@ -24,7 +24,7 @@ class KeepLane(ManeuverBase): ...@@ -24,7 +24,7 @@ class KeepLane(ManeuverBase):
def generate_learning_scenario(self): def generate_learning_scenario(self):
self.generate_scenario(enable_LTL_preconditions=False, self.generate_scenario(enable_LTL_preconditions=False,
ego_pos_range=(rd.hlanes.near_stop_region, rd.hlanes.end_pos), ego_pos_range=(rd.hlanes.start_pos, rd.hlanes.end_pos),
ego_perturb_lim=(rd.hlanes.width / 4, np.pi / 6), ego_perturb_lim=(rd.hlanes.width / 4, np.pi / 6),
ego_heading_towards_lane_centre=True) ego_heading_towards_lane_centre=True)
# the goal reward and termination is led by the SimpleIntersectionEnv # the goal reward and termination is led by the SimpleIntersectionEnv
......
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