The invention discloses an automatic parking method and
system based on an optimal path. By means of an environment
data acquisition module being composed of a look-around camera and an ultrasonic
radar, the vehicle parking environment data is acquired and whether the
parking space is suitable for parking or not is judged; a
central processing unit module calculates and analyzes the position relation between the vehicle body and the
parking space, generates an optimal parking path, and finally sends the optimal parking path to the vehicle executing mechanism module to control the gear, steering, braking, accelerator and other control quantities of the vehicle, so that the effect of automatic parking is achieved. A man-
machine interaction module displays the current state information, environmental parameters and operation steps of the automobile through the display screen, a driver can select whether to enter a parking state or not or stop the automatic parking process in real time, and the beneficial effects of being more practical, more convenient, more accurate,
safer and the like are achieved.