From 846b24cfac671de81d561ee7619067e57222c4b5 Mon Sep 17 00:00:00 2001 From: Daniel Santos-Olivan Date: Fri, 18 Dec 2020 12:54:04 +0100 Subject: [PATCH] Removed synchronization causing timeout in apply_settings --- LibCarla/source/carla/client/detail/Simulator.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/LibCarla/source/carla/client/detail/Simulator.cpp b/LibCarla/source/carla/client/detail/Simulator.cpp index be6a1b1af..85e5d99a9 100644 --- a/LibCarla/source/carla/client/detail/Simulator.cpp +++ b/LibCarla/source/carla/client/detail/Simulator.cpp @@ -204,8 +204,7 @@ namespace detail { } } const auto frame = _client.SetEpisodeSettings(settings); - using namespace std::literals::chrono_literals; - SynchronizeFrame(frame, *_episode, 10s); + return frame; }