code: def equal_tol(obj_a, obj_b, tol=1e-5):
      if isinstance(obj_a, list):
          return obj_a == obj_b
  
      if isinstance(obj_a, carla.libcarla.Vector3D):
          diff = abs(obj_a - obj_b)
          return diff.x < tol and diff.y < tol and diff.z < tol
  
      return abs(obj_a - obj_b) < tol
  
imports: from .None import SyncSmokeTest
  from .None import SmokeTest
  import carla
  import time
  import math
  import numpy
  from enum import Enum
label_desc: Use image node_id 2 for calling a global function with example usage: equal_tol(obj_a, obj_b, tol) and returns: unknown, unknown, unknown