The invention discloses a method and device for calculating the course angle of an obstacle based on time synchronization. Wherein, the method includes: obtaining a heading angle calculation model, wherein the heading angle calculation model is obtained by training the historical data of the heading angle yaw value; sensing obstacles through a sensing device to obtain heading angle perception data; according to the heading angle The angle perception data and the heading angle calculation model are used to generate a first heading angle calculation result; and the verification operation of the synchronization time stamp is performed on the heading angle calculation result to obtain a second heading angle calculation result. The invention solves the problem that in the perception detection algorithm of the prior art, it is difficult to calculate the yaw angle of obstacles using image perception, and the result is also difficult to be accurate; it is not easy to calculate the yaw angle of obstacles accurately by using the traditional point cloud clustering algorithm , and stability cannot be guaranteed. Secondly, the calculation of the obstacle heading angle also involves the own vehicle heading angle output by the inertial navigation of the own vehicle, the calibration results of the inertial navigation and perception sensors, and the time synchronization of the sensors, which is a technical problem involving systematic problems of software, hardware and algorithms. .