code: def tick(self, player, clock):
      self._notifications.tick(clock)
      if not self._show_info:
          return
      t = player.get_transform()
      v = player.get_velocity()
      c = player.get_control()
  
      self._info_text = [
          "Server:  % 16.0f FPS" % self.server_fps,
          "Client:  % 16.0f FPS" % clock.get_fps(),
          "Map:     % 20s" % self.map_name,
          "",
          "Speed:   % 15.0f km/h"
          % (3.6 * math.sqrt(v.x**2 + v.y**2 + v.z**2)),
          "Location:% 20s"
          % ("(% 5.1f, % 5.1f)" % (t.location.x, t.location.y)),
          "Heading: % 20.2f" % math.radians(t.rotation.yaw),
          "",
      ]
      if self.original_vehicle_control:
          orig_control = self.original_vehicle_control
          restricted_control = self.restricted_vehicle_control
          allowed_steering_ranges = self.allowed_steering_ranges
          self._info_text += [
              (
                  "Throttle:",
                  orig_control.throttle,
                  0.0,
                  1.0,
                  restricted_control.throttle,
              ),
              (
                  "Steer:",
                  orig_control.steer,
                  -1.0,
                  1.0,
                  restricted_control.steer,
                  allowed_steering_ranges,
              ),
              (
                  "Brake:",
                  orig_control.brake,
                  0.0,
                  1.0,
                  restricted_control.brake,
              ),
          ]
      self._info_text += [("Reverse:", c.reverse), ""]
  
imports: from __future__ import print_function
  import glob
  import os
  import sys
  import signal
  import carla
  from carla import ColorConverter
  import argparse
  import logging
  import math
  import random
  import weakref
  from rss_sensor import RssSensor
  from rss_visualization import RssUnstructuredSceneVisualizer, RssBoundingBoxVisualizer, RssStateVisualizer
label_desc: Use image node_id 3 for calling the HUD obj's underlying member method code with example usage: obj.tick(player, clock) without return types