Skip to content

Commit

Permalink
Merge pull request #468 from carla-simulator/fix/RouteSpawnException
Browse files Browse the repository at this point in the history
Removed exception for vehicle spawning to not break route scenarios
  • Loading branch information
jackbart94 authored Feb 26, 2020
2 parents ed4be41 + 88e299b commit 6e34564
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions srunner/scenariomanager/carla_data_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,8 +494,6 @@ def handle_actor_batch(batch):
for response in responses:
if not response.error:
actor_ids.append(response.actor_id)
else:
raise RuntimeError("Error: Unable to spawn actor")

carla_actors = CarlaActorPool._world.get_actors(actor_ids)
for actor in carla_actors:
Expand Down

0 comments on commit 6e34564

Please sign in to comment.