The following ROS package can be used to park a car-like robot autonomously using geometric approaches to calculate the trajectory based on the position of the obstacles and the available parking space.
yowlings/Autonomous-Parallel-Parking-Car-like-Robot-Gazebo-ROS
Autonomous Parallel Parking of a car like robot using Gazebo simulation environment
CMakeMIT