def convert_rotation_from_source_to_agent(self, source: carla.Rotation) -> Rotation:
    'Convert a CARLA raw rotation to Rotation(pitch=float,yaw=float,roll=float).'
    return Rotation(pitch=source.yaw, yaw=source.pitch, roll=source.roll)
Convert a CARLA raw rotation to Rotation(pitch=float,yaw=float,roll=float).
def convert_rotation_from_source_to_agent(self, source: carla.Rotation) -> Rotation:
    
    return Rotation(pitch=source.yaw, yaw=source.pitch, roll=source.roll)