Occupancy-aware Trajectory Planning for Autonomous Valet Parking in Uncertain Dynamic Environments