In the paper a hierarchical overtaking strategy, which is a driver assistance function or rather an autonomous function in electric/autonomous vehicles, is proposed. The solution uses speed and acceleration signals from the surrounding vehicles. These signals are processed with clustering methods in order to achieve probability density functions and predict their expected motion. The strategy includes several additional layers, such as decision making concerning the maneuver, the computation of the required trajectory, and the tracking control of the vehicle. Trajectory generation is formed as an optimization task, which is able to include the prediction model of the surrounding vehicles in the constraints. A robust Linear Parameter Varying (LPV) control design method is proposed to guarantee the tracking of the computed reference. The proposed strategy is able to guarantee the safe motion of the vehicles and handle the interactions with the other traffic participants.