class_docstr: CarlaSimulation is responsible for the management of the carla simulation.
class_docstr_tok: ["CarlaSimulation","is","responsible","for","the","management","of","the","carla","simulation","."]
docstr: Tick to carla simulation.
docstr_tok: ["Tick","to","carla","simulation","."]
code: def tick(self):
      """
      Tick to carla simulation.
      """
      self.world.tick()
  
      # Update data structures for the current frame.
      current_actors = set(
          [
              vehicle.id
              for vehicle in self.world.get_actors().filter("vehicle.*")
          ]
      )
      self.spawned_actors = current_actors.difference(
          self._active_actors
      )
      self.destroyed_actors = self._active_actors.difference(
          current_actors
      )
      self._active_actors = current_actors
  
file_path: carla/Co-Simulation/Sumo/sumo_integration/carla_simulation.py
imports: import logging
  import carla
  from .constants import INVALID_ACTOR_ID, SPAWN_OFFSET_Z
label_desc: Use image node_id 11 for calling the CarlaSimulation obj's underlying member method code with example usage: obj.tick() without return types