code: def process_sensors(w_frame, sensor_queue, sensor_number):
      if sensor_number != 2:
          print("Error!!! Sensor number should be two")
  
      sl_data = None
      bb_data = None
  
      try:
          for i in range(0, sensor_number):
              s_frame = sensor_queue.get(True, 1.0)
              while s_frame[0] != w_frame:
                  print(
                      "Warning! Missmatch for sensor %s in the frame timestamp (w: %d, s: %d)"
                      % (s_frame[1], w_frame, s_frame[0])
                  )
                  print(
                      "This could be due to accumulated data for previous steps"
                  )
                  s_frame = sensor_queue.get(True, 1.0)
  
              if s_frame[1] == "semlidar":
                  sl_data = s_frame
              elif s_frame[1] == "bb":
                  bb_data = s_frame
              # print("    Frame: %d   Sensor: %s Len: %d " % (s_frame[0], s_frame[1], len(s_frame[2])))
      except Empty:
          print("Error!!! The needeinformation is not here!!!")
          return
  
      if sl_data == None or bb_data == None:
          print(
              "Error!!! Missmatch for sensor %s in the frame timestamp (w: %d, s: %d)"
              % (s_frame[1], w_frame, s_frame[0])
          )
  
      for actor_data in bb_data[2]:
          trace_vehicle = ActorTrace(actor_data, sl_data)
          trace_vehicle.process()
          trace_vehicle.check_lidar_data()
  
imports: import glob
  import os
  import sys
  import numpy
  from queue import Queue
  from queue import Empty
  import carla
label_desc: Use image node_id 6 for calling a global function with example usage: process_sensors(w_frame, sensor_queue, sensor_number) without return types