A new control program for automatic aiming of guns is presented based on the geometric theory of liner space. Since the varies of gun attitude angle and the vertical vector of the homograph plane are onetoone
all the elements of adjustment gun can be transformed into the calculation of the vertical vector angle
avoiding the calculation accuracy loss of the traditional approach under the condition of the tiny attitude angle disturbance. The simulation states the validity of the approach presented.