From 4d9af295068a3b29611331c5f423c03e0a903a81 Mon Sep 17 00:00:00 2001 From: Daniel Santos-Olivan Date: Mon, 2 Aug 2021 13:40:54 +0200 Subject: [PATCH] Modified also start_recording script --- PythonAPI/examples/start_recording.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/PythonAPI/examples/start_recording.py b/PythonAPI/examples/start_recording.py index f966cd068..f9589af00 100755 --- a/PythonAPI/examples/start_recording.py +++ b/PythonAPI/examples/start_recording.py @@ -90,8 +90,13 @@ def main(): if args.safe: blueprints = [x for x in blueprints if int(x.get_attribute('number_of_wheels')) == 4] - blueprints = [x for x in blueprints if not x.id.endswith('isetta')] + blueprints = [x for x in blueprints if not x.id.endswith('microlino')] blueprints = [x for x in blueprints if not x.id.endswith('carlacola')] + blueprints = [x for x in blueprints if not x.id.endswith('cybertruck')] + blueprints = [x for x in blueprints if not x.id.endswith('t2')] + blueprints = [x for x in blueprints if not x.id.endswith('sprinter')] + blueprints = [x for x in blueprints if not x.id.endswith('firetruck')] + blueprints = [x for x in blueprints if not x.id.endswith('ambulance')] spawn_points = world.get_map().get_spawn_points() number_of_spawn_points = len(spawn_points)