In order to clarify the principle and method of spacecraft attitude measurement, further understand the importance of star trackers in aerospace applications and the difference from other attitude sensors, Here briefly introduces the situation of the main attitude sensors on spacecraft.