Compilation fix

This commit is contained in:
Axel 2021-03-05 10:32:50 +01:00 committed by Jacopo Bartiromo
parent 081bb4191f
commit c5fe20ab60
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ void TrafficManagerLocal::Run() {
episode_proxy.Lock()->WaitForTick( episode_proxy.Lock()->WaitForTick(
carla::time_duration::milliseconds( carla::time_duration::milliseconds(
TM_WAIT_FOR_TICK_TIMEOUT)); TM_WAIT_FOR_TICK_TIMEOUT));
} catch (const carla::client::TimeoutException& e) {} } catch (const std::exception &e) {}
carla::client::Timestamp timestamp = world.GetSnapshot().GetTimestamp(); carla::client::Timestamp timestamp = world.GetSnapshot().GetTimestamp();
if (timestamp.frame == last_frame) { if (timestamp.frame == last_frame) {
continue; continue;