code: def uturn_scenario(world, bp_veh):
      spectator_transform = carla.Transform(
          carla.Location(30, -180, 20),
          carla.Rotation(yaw=-140, pitch=-36),
      )
      try:
          spectator = world.get_spectator()
          spectator.set_transform(spectator_transform)
      except:
          pass
  
      init_pos = carla.Transform(
          carla.Location(15, -190, 0.2), carla.Rotation(yaw=0)
      )
      controls = [
          (
              1000,
              carla.VehicleControl(throttle=1.0),
              VehicleControlStop(x_max=19),
          ),
          (
              1000,
              carla.VehicleControl(throttle=0.25, steer=-0.4),
              VehicleControlStop(yaw_min=-170),
          ),
          (
              100,
              carla.VehicleControl(throttle=0.4),
              VehicleControlStop(x_min=10),
          ),
      ]
  
      data = run_scenario(
          world, bp_veh, init_loc=init_pos, controls=controls
      )
      end_vel = 3.6 * norm(data.get_telemetry(3).velocity)
  
imports: import glob
  import os
  import sys
  import argparse
  import time
  import numpy
  import carla
label_desc: Use image node_id 8 for calling a global function with example usage: uturn_scenario(world, bp_veh) without return types