code: def __init__(self, world, bp_sensor, sensor_tick):
      self.bp_sensor = bp_sensor
      bp_sensor.set_attribute("sensor_tick", str(sensor_tick))
      self.sensor = world.spawn_actor(bp_sensor, carla.Transform())
      self.sensor.listen(lambda sensor_data: self.listen(sensor_data))
      self.num_ticks = 0
  
file_path: carla/PythonAPI/test/smoke/test_sensor_tick_time.py
imports: from .None import SyncSmokeTest
  import carla
  import time
  import math
label_desc: Use image node_id 1 to create a new Sensor object  with example: obj = Sensor(world, bp_sensor, sensor_tick)