vehicle name bugfix

This commit is contained in:
Sid1057 2021-08-04 13:30:35 +03:00 committed by DSantosO
parent 08570d5fe1
commit 97e40a2aed
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ def run_simulation(args, client):
# Instanciating the vehicle to which we attached the sensors # Instanciating the vehicle to which we attached the sensors
bp = world.get_blueprint_library().filter('charger2020')[0] bp = world.get_blueprint_library().filter('charger_2020')[0]
vehicle = world.spawn_actor(bp, random.choice(world.get_map().get_spawn_points())) vehicle = world.spawn_actor(bp, random.choice(world.get_map().get_spawn_points()))
vehicle_list.append(vehicle) vehicle_list.append(vehicle)
vehicle.set_autopilot(True) vehicle.set_autopilot(True)