From fbb9b168b4eb2917e1a4c27829c90a9145929131 Mon Sep 17 00:00:00 2001 From: Jaeyoung Lee <jaeyoung.lee@uwaterloo.ca> Date: Sun, 18 Nov 2018 03:14:58 -0500 Subject: [PATCH] Revert a change in KeepLane. --- options/simple_intersection/maneuvers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options/simple_intersection/maneuvers.py b/options/simple_intersection/maneuvers.py index 8e2f589..ab802ff 100644 --- a/options/simple_intersection/maneuvers.py +++ b/options/simple_intersection/maneuvers.py @@ -24,7 +24,7 @@ class KeepLane(ManeuverBase): def generate_learning_scenario(self): 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_heading_towards_lane_centre=True) # the goal reward and termination is led by the SimpleIntersectionEnv -- GitLab