diff --git a/ScenarioRunner/route_scenario.py b/ScenarioRunner/route_scenario.py index e427da5..021f46a 100644 --- a/ScenarioRunner/route_scenario.py +++ b/ScenarioRunner/route_scenario.py @@ -290,7 +290,11 @@ def _get_valid_sign_transform(self, wp_transform): return None # find the first non-road waypoint so our drivers can read it (with a limit) max_tries: int = 100 - while max_tries > 0 and _wp.lane_type not in [carla.LaneType.Sidewalk, carla.LaneType.Shoulder]: + valid_sign_lanes = [ + carla.LaneType.Sidewalk, + # carla.LaneType.Shoulder, # disable shoulder + ] + while max_tries > 0 and _wp.lane_type not in valid_sign_lanes: max_tries -= 1 right_wp = _wp.get_right_lane() if right_wp is not None: