From 6d2e35d842a6958b14f5f175793a752964e797a8 Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 21 Jun 2018 13:31:58 +0200 Subject: [PATCH] Increase polling rate for non-gui mode (30 Hz) --- source/carla_host.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/carla_host.py b/source/carla_host.py index 58343c3f7..92badb576 100644 --- a/source/carla_host.py +++ b/source/carla_host.py @@ -2881,7 +2881,7 @@ def runHostWithoutUI(host): while host.is_engine_running() and not gCarla.term: host.engine_idle() - sleep(0.5) + sleep(0.0333) # 30 Hz # -------------------------------------------------------------------------------------------------------- # Stop