def convert_transform_from_source_to_agent(self, source: carla.Transform) -> Transform:
    'Convert CARLA raw location and rotation to Transform(location,rotation).'
    return Transform(location=self.convert_location_from_source_to_agent(source=source.location), rotation=self.convert_rotation_from_source_to_agent(source=source.rotation))
Convert CARLA raw location and rotation to Transform(location,rotation).
def convert_transform_from_source_to_agent(self, source: carla.Transform) -> Transform:
    
    return Transform(location=self.convert_location_from_source_to_agent(source=source.location), rotation=self.convert_rotation_from_source_to_agent(source=source.rotation))