diff --git a/options/simple_intersection/maneuvers.py b/options/simple_intersection/maneuvers.py index 8e2f58971316e0f45d651999b07a8567ec8dbd7e..ab802ffc700088442189c8f7743ef5409fcc3051 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