In sensor profiling, setting no rendering mode.
This commit is contained in:
parent
6f6cf65dd2
commit
759f7bfe6d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue