Infrastructure-Assisted Collaborative Perception in Automated Valet Parking: A Safety Perspective