Skip to content

Commit

Permalink
Extend ALC route to make space for respawning vehicles
Browse files Browse the repository at this point in the history
  • Loading branch information
pziecina committed May 7, 2020
1 parent 344a30b commit 1a811a8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(self, *, client: carla.Client, cmd_for_changing_lane=ChauffeurComma
self._env_vehicle_column_ahead_range_m = (5, 30)

route_length_m = max(MAX_MANEUVER_LENGTH_M + BIRD_VIEW_HEIGHT_M,
max_env_vehicles_number * (MAX_VEHICLE_RANDOM_SPACE_M + VEHICLE_SLOT_LENGTH_M)) * 2
max_env_vehicles_number * (MAX_VEHICLE_RANDOM_SPACE_M + VEHICLE_SLOT_LENGTH_M)) * 3
self._topology = Topology(self._world_map)
self._routes: List[List[carla.Transform]] = self._obtain_routes(self._target_lane_waypoint, route_length_m)

Expand Down

0 comments on commit 1a811a8

Please sign in to comment.