Patent attributes
A method for autonomous driving includes detecting an environment around a vehicle, autonomously driving the vehicle based on the detected environment, determining whether a target parking position has been set, determining an autonomous driving mode of the vehicle from among a first mode for controlling a speed of the vehicle to move the vehicle to the target parking position and a second mode for searching for an available parking position, based on a determination of the autonomous driving mode from among the first and second modes, autonomously driving the vehicle in one of the first and second modes, based on autonomously driving the vehicle in one of the first and second modes, determining whether a condition is satisfied, and based on a determination that the condition is satisfied, switching the autonomous driving mode to the other of the first and second modes.