code: def get_speed(vehicle):
      """
      Compute speed of a vehicle in Km/h.
  
          :param vehicle: the vehicle for which speed is calculated
          :return: speed as a float in Km/h
      """
      vel = vehicle.get_velocity()
  
      return 3.6 * math.sqrt(vel.x**2 + vel.y**2 + vel.z**2)
  
file_path: carla/PythonAPI/carla/agents/tools/misc.py
imports: import math
  import numpy
  import carla
label_desc: Use image node_id 2 for calling a global function with example usage: get_speed(vehicle) and returns: unknown