In sensor profiling, setting no rendering mode.

This commit is contained in:
Daniel Santos-Olivan 2020-06-29 10:18:52 +02:00 committed by Marc Garcia Puig
parent 6f6cf65dd2
commit 759f7bfe6d
1 changed files with 2 additions and 0 deletions

View File

@ -250,6 +250,8 @@ def one_run(args, client):
settings.fixed_delta_seconds = 0.05 settings.fixed_delta_seconds = 0.05
world.apply_settings(settings) world.apply_settings(settings)
if args.profiling:
settings.no_rendering_mode = True
# Instanciating the vehicle to which we attached the sensors # Instanciating the vehicle to which we attached the sensors