fixed bug tm vehicle not moving

This commit is contained in:
Joel Moriana 2020-12-17 17:40:33 +01:00 committed by bernat
parent 5d7a978527
commit 79ffc83f74
1 changed files with 3 additions and 0 deletions

View File

@ -93,6 +93,9 @@ class SimulationSynchronization(object):
settings.fixed_delta_seconds = self.carla.step_length
self.carla.world.apply_settings(settings)
traffic_manager = self.carla.client.get_trafficmanager()
traffic_manager.set_synchronous_mode(True)
def tick(self):
"""
Tick to simulation synchronization