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 __enter__(self):
      self._settings = self.world.get_settings()
      self.frame = self.world.apply_settings(
          carla.WorldSettings(
              no_rendering_mode=False,
              fixed_delta_seconds=self.delta_seconds,
              synchronous_mode=True,
          )
      )
  
      for sensor in self.sensors.values():
          sensor.start()
  
      return self
  
file_path: tensorforce/tensorforce/environments/carla/synchronous_mode.py
imports: import carla
  import queue
label_desc: Use image node_id 2 for calling the CARLASyncContext obj's underlying member method code with example usage: obj.__enter__() and returns: self