class_docstr: PTVVissimSimulation is responsible for the management of the vissim simulation.
docstr: Updates vehicle state.
  
      :param int vehicle_id: id of the vehicle to be updated.
      :param carla.Transform transform: new vehicle transform (i.e., position and rotation).
      :param carla.Vector3D velocity: new vehicle velocity.
      :return: True if successfully updated. Otherwise, False.
docstr_tok: ["Updates","vehicle","state",".",":","param","int","vehicle_id",":","id","of","the","vehicle","to","be","updated",".",":","param","carla.Transform","transform",":","new","vehicle","transform","(","i.e.",",","position","and","rotation",")",".",":","param","carla.Vector3D","velocity",":","new","vehicle","velocity",".",":","return",":","True","if","successfully","updated",".","Otherwise",",","False","."]
code: def synchronize_vehicle(self, vehicle_id, transform, velocity):
      """
      Updates vehicle state.
  
          :param int vehicle_id: id of the vehicle to be updated.
          :param carla.Transform transform: new vehicle transform (i.e., position and rotation).
          :param carla.Vector3D velocity: new vehicle velocity.
          :return: True if successfully updated. Otherwise, False.
      """
      self._simulator_vehicles[vehicle_id] = Simulator_Veh_Data(
          transform.location.x,
          transform.location.y,
          transform.location.z,
          math.radians(transform.rotation.yaw),
          math.radians(transform.rotation.pitch),
          math.sqrt(
              velocity.x**2 + velocity.y**2 + velocity.z**2
          ),
          False,
          0,
          0,
      )
      return True
  
imports: import enum
  import logging
  import math
  import os
  import carla
  from ctypes import *
  from .None import constants
label_desc: Use image node_id 6 for calling the PTVVissimSimulation obj's underlying member method code with example usage: obj.synchronize_vehicle(vehicle_id, transform, velocity) and returns: True