code: def draw_radar_measurement(
      debug_helper: carla.DebugHelper,
      data: carla.RadarMeasurement,
      velocity_range=7.5,
      size=0.075,
      life_time=0.06,
  ):
      """Code adapted from carla/PythonAPI/examples/manual_control.py:
      - White: means static points.
      - Red: indicates points moving towards the object.
      - Blue: denoted points moving away.
      """
      radar_rotation = data.transform.rotation
      for detection in data:
          azimuth = math.degrees(detection.azimuth) + radar_rotation.yaw
          altitude = (
              math.degrees(detection.altitude) + radar_rotation.pitch
          )
  
          # move to local coordinates:
          forward_vec = carla.Vector3D(x=detection.depth - 0.25)
          global_to_local(
              forward_vec,
              reference=carla.Rotation(
                  pitch=altitude, yaw=azimuth, roll=radar_rotation.roll
              ),
          )
  
          # draw:
          debug_helper.draw_point(
              data.transform.location + forward_vec,
              size=size,
              life_time=life_time,
              persistent_lines=False,
              color=carla.Color(255, 255, 255),
          )
  
imports: import os
  import cv2
  import math
  import random
  import numpy
  import carla
  import pygame
  import threading
  import datetime
  from typing import Union
  from tensorforce.agents import Agent
label_desc: Use image node_id 20 for calling a global function with example usage: draw_radar_measurement(debug_helper, data, velocity_range, size, life_time) without return types