The invention relates to a method for measuring the spatial pointing precision of a panoramic camera turntable, which comprises the following steps of: firstly, establishing an initial coordinate
system for an
azimuth axis and a
pitch axis, performing data measurement on the two axes during rotary motion through a
laser tracker, and calculating circle center coordinates and
circular surface direction vectors of the two rotary axes through a spatial
circle fitting method of sphere fitting and
plane fitting; the actual position relation of the two coordinate systems can be obtained, then the offset and the
angular deviation between the two coordinate systems can be calculated through the actual position relation of the two coordinate systems, and calibration parameters are obtained; and solving a
transformation matrix between the reference coordinate
system and the measurement coordinate
system by using the actual position relation of the two coordinate systems, obtaining a
coordinate vector of a measured point in the reference coordinate system, and solving a space included angle between the two vectors according to the
coordinate vector and a theoretical position
coordinate vector of the measured point to obtain a space
pointing error. The method adopts a space coordinate calculation mode of a robotization method, not only has universal significance, but also can be popularized to precision measurement of other two-axis universal two-dimensional space pointing mechanisms.