code: def get_float_texture(image):
      if image is None:
          return carla.TextureFloatColor(0, 0)
      height = len(image)
      width = len(image[0])
      texturefloat = carla.TextureFloatColor(width, height)
      for x in range(0, width):
          for y in range(0, height):
              color = image[y][x]
              r = int(color[0]) / 255.0 * 5
              g = int(color[1]) / 255.0 * 5
              b = int(color[2]) / 255.0 * 5
              a = 1.0
              texturefloat.set(
                  x, height - y - 1, carla.FloatColor(r, g, b, a)
              )
      return texturefloat
  
file_path: carla/PythonAPI/util/apply_texture.py
imports: import glob
  import os
  import sys
  import argparse
  import math
  import time
  import queue
  import imageio
  import carla
label_desc: Use image node_id 2 for calling a global function with example usage: get_float_texture(image) and returns: texturefloat, carla