code: def run_scenario(
      self,
      bp_veh,
      veh_control,
      continous=False,
      reset_after_first=False,
      sticky=None,
  ):
      ref_pos = -1
      veh_transf = carla.Transform(
          carla.Location(235, ref_pos, 0.2), carla.Rotation(yaw=90)
      )
      veh_forward = veh_transf.rotation.get_forward_vector()
  
      if sticky is not None:
          bp_veh.set_attribute("sticky_control", sticky)
  
      batch = [
          SpawnActor(bp_veh, veh_transf).then(
              ApplyTargetVelocity(FutureActor, carla.Vector3D(0, 0, 0))
          )
      ]
  
      responses = self.client.apply_batch_sync(batch)
  
      if len(responses) != 1 or responses[0].error:
          self.fail(
              "%s: The test car could not be correctly spawned"
              % (bp_veh.id)
          )
  
      vehicle_id = responses[0].actor_id
      vehicle_00 = self.world.get_actor(vehicle_id)
  
      for _i in range(0, 10):
          self.world.tick()
  
      self.client.apply_batch_sync(
          [ApplyVehicleControl(vehicle_00, veh_control)]
      )
      self.world.tick()
  
      for _i in range(0, 150):
          if continous:
              self.client.apply_batch_sync(
                  [ApplyVehicleControl(vehicle_00, veh_control)]
              )
          if reset_after_first:
              self.client.apply_batch_sync(
                  [
                      ApplyVehicleControl(
                          vehicle_00, carla.VehicleControl()
                      )
                  ]
              )
          self.world.tick()
  
      loc_veh_00 = vehicle_00.get_location().y
      vel_veh_00 = vehicle_00.get_velocity().y
      dist_veh_00 = loc_veh_00 - ref_pos
  
      self.client.apply_batch([carla.command.DestroyActor(vehicle_id)])
      self.world.tick()
  
      return dist_veh_00, vel_veh_00
  
imports: from .None import SyncSmokeTest
  from .None import SmokeTest
  import carla
  import time
  import math
  import numpy
  from enum import Enum
label_desc: Use image node_id 2 for calling the TestStickyControl obj's underlying member method code with example usage: obj.run_scenario(bp_veh, veh_control, continous, reset_after_first, sticky) and returns: dist_veh_00,  vel_veh_00