One of the problems faced by developers of artificial intelligence algorithms when creating car control systems is that the actions of other road users are difficult to predict and have a large variability. Even if we assume that all actions comply with traffic rules and participants do not make mistakes, that is, to bring the actual environment closer to the ideal, the task of automating vehicle control still contains many difficulties. This paper describes what difficulties exist in the field of predicting the trajectory of objects, shows concepts that will help in solving this problem, and also describes a particular method of forecasting, which allows you to make a forecast for cars moving along traffic lanes. The main forecasting stages and the results of testing the method collected by using a ready-made data set are given. The results presented in the form of a set of metrics, are compared with another algorithm for predicting trajectories. As a result, the advantages and disadvantages of the created solution were identified.