smoke.test_vehicle_physics: add filter for cars

This commit is contained in:
Daniel Santos-Olivan 2021-04-22 11:54:04 +02:00 committed by bernat
parent 5f4583bd14
commit 3ee6a1c5d8
1 changed files with 1 additions and 0 deletions

View File

@ -494,6 +494,7 @@ class TestVehicleTireConfig(SyncSmokeTest):
self.client.load_world("Town05_Opt", False)
bp_vehicles = self.world.get_blueprint_library().filter("vehicle.*")
bp_vehicles = [x for x in bp_vehicles if int(x.get_attribute('number_of_wheels')) == 4]
for bp_veh in bp_vehicles:
ref_pos = -200