code: def compute_distance(location_1, location_2):
      """
      Euclidean distance between 3D points
  
          :param location_1, location_2: 3D points
      """
      x = location_2.x - location_1.x
      y = location_2.y - location_1.y
      z = location_2.z - location_1.z
      norm = np.linalg.norm([x, y, z]) + np.finfo(float).eps
      return norm
  
file_path: carla/PythonAPI/carla/agents/tools/misc.py
imports: import math
  import numpy
  import carla
label_desc: Use image node_id 8 for calling a global function with example usage: compute_distance(location_1, location_2) and returns: norm