class_docstr: VissimVehicle holds the data relative to traffic vehicles in vissim.
code: def __init__(
      self,
      vehicle_id,
      type_id,
      model_filename,
      color,
      location,
      rotation,
      velocity,
      lights_state=VissimLightState.NONE,
  ):
      # Static parameters.
      self.id = vehicle_id
      self.type = type_id
      self.model_filename = model_filename
      self.color = color
  
      # Dynamic attributes.
      loc = carla.Location(location[0], location[1], location[2])
      rot = carla.Rotation(
          math.degrees(rotation[0]),
          math.degrees(rotation[1]),
          math.degrees(rotation[2]),
      )
      self._transform = carla.Transform(loc, rot)
      self._velocity = carla.Vector3D(
          velocity
          * math.cos(math.radians(rot.yaw))
          * math.cos(math.radians(rot.pitch)),
          velocity
          * math.sin(math.radians(rot.yaw))
          * math.cos(math.radians(rot.pitch)),
          velocity * math.sin(math.radians(rot.pitch)),
      )
      self._lights_state = lights_state
  
imports: import enum
  import logging
  import math
  import os
  import carla
  from ctypes import *
  from .None import constants
label_desc: Use image node_id 1 to create a new VissimVehicle object from inherited base classes: object with example: obj = VissimVehicle(vehicle_id, type_id, model_filename, color, location, rotation, velocity, lights_state)