class_docstr: Context manager to synchronize output from different sensors. Synchronous
  mode is enabled as long as we are inside this context
  
      with CARLASyncContext(world, sensors) as sync_mode:
          while True:
              data = sync_mode.tick(timeout=1.0)
  
  This code is based on https://github.com/carla-simulator/carla/blob/master/PythonAPI/examples/synchronous_mode.py
class_docstr_tok: ["Context","manager","to","synchronize","output","from","different","sensors",".","Synchronous","mode","is","enabled","as","long","as","we","are","inside","this","context","with","CARLASyncContext","(","world",",","sensors",")","as","sync_mode",":","while","True",":","data","=","sync_mode.tick","(","timeout=1.0",")","This","code","is","based","on","https",":","\/\/github.com\/carla-simulator\/carla\/blob\/master\/PythonAPI\/examples\/synchronous_mode.py"]
code: def __init__(self, world, sensors: dict, fps=30):
      self.world = world
      self.sensors = sensors
      self.frame = None
      self.delta_seconds = 1.0 / fps
      self._settings = None
  
      # Make a queue for each sensor and for world:
      self._queues = dict()
      self._add_queue("world", self.world.on_tick)
  
      for name, sensor in self.sensors.items():
          self._add_queue(name, sensor.add_callback)
  
file_path: tensorforce/tensorforce/environments/carla/synchronous_mode.py
imports: import carla
  import queue
label_desc: Use image node_id 1 to create a new CARLASyncContext object from inherited base classes: object with example: obj = CARLASyncContext(world, sensors, fps)