def convert_vehicle_from_source_to_agent(self, source: carla.Vehicle) -> Vehicle:
    control: VehicleControl = self.convert_control_from_source_to_agent(source.get_control())
    transform: Transform = self.convert_transform_from_source_to_agent(source.get_transform())
    velocity: Vector3D = self.convert_vector3d_from_source_to_agent(source.get_velocity())
    return Vehicle(velocity=velocity, transform=transform, control=control)
def convert_vehicle_from_source_to_agent(self, source: carla.Vehicle) -> Vehicle:
    control: VehicleControl = self.convert_control_from_source_to_agent(source.get_control())
    transform: Transform = self.convert_transform_from_source_to_agent(source.get_transform())
    velocity: Vector3D = self.convert_vector3d_from_source_to_agent(source.get_velocity())
    return Vehicle(velocity=velocity, transform=transform, control=control)