The invention belongs to the technical field of aircraft control, and relates to a pre-
flight inspection method for a four-axis main
joystick, which comprises the following steps of: 1, state initialization: setting the total state of the main
joystick as a periodic task, and reporting the periodic task to a flight control computer through a
bus; step 2, judging whether a pre-navigation check starting condition is met or not, and the process is as follows: S11, if
bus communication is normal and the CCDL has no fault, entering S12; otherwise, exiting; s12, if the air /
ground state dual-redundancy voting value is ground, the flight
control system pre-
flight inspection state dual-redundancy voting value is pre-flight, and the pre-
flight inspection input switch dual-redundancy voting value is effective, the main control lever pre-flight inspection starting condition is met, and the step S13 is executed; otherwise, if the starting condition of the pre-navigation check of the main
joystick is not met, entering S14; s13, setting the total state of the main joystick as pre-flight inspection, and reporting to a flight control computer through a
bus; and S14, pre-flight effective mark setting, and reporting to a flight control computer through a bus. And if so, carrying out pre-flight inspection on the control shaft, otherwise, exiting.