class_docstr: SimulationSynchronization class is responsible for the synchronization of sumo and carla
  simulations.
code: def __init__(
      self,
      sumo_simulation,
      carla_simulation,
      tls_manager="none",
      sync_vehicle_color=False,
      sync_vehicle_lights=False,
  ):
      self.sumo = sumo_simulation
      self.carla = carla_simulation
  
      self.tls_manager = tls_manager
      self.sync_vehicle_color = sync_vehicle_color
      self.sync_vehicle_lights = sync_vehicle_lights
  
      if tls_manager == "carla":
          self.sumo.switch_off_traffic_lights()
      elif tls_manager == "sumo":
          self.carla.switch_off_traffic_lights()
  
      # Mapped actor ids.
      self.sumo2carla_ids = (
          {}
      )  # Contains only actors controlled by sumo.
      self.carla2sumo_ids = (
          {}
      )  # Contains only actors controlled by carla.
  
      BridgeHelper.blueprint_library = (
          self.carla.world.get_blueprint_library()
      )
      BridgeHelper.offset = self.sumo.get_net_offset()
  
      # Configuring carla simulation in sync mode.
      settings = self.carla.world.get_settings()
      settings.synchronous_mode = True
      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)
  
file_path: carla/Co-Simulation/Sumo/run_synchronization.py
imports: import argparse
  import logging
  import time
  import glob
  import os
  import sys
  from sumo_integration.bridge_helper import BridgeHelper
  from sumo_integration.carla_simulation import CarlaSimulation
  from sumo_integration.constants import INVALID_ACTOR_ID
  from sumo_integration.sumo_simulation import SumoSimulation
label_desc: Use image node_id 1 to create a new SimulationSynchronization object from inherited base classes: object with example: obj = SimulationSynchronization(sumo_simulation, carla_simulation, tls_manager, sync_vehicle_color, sync_vehicle_lights)