The invention relates to the technical field of unmanned aerial
vehicle control, and discloses a high-precision hovering
system and method for an omni-directional flying
robot, and the method comprises the steps: collecting the connection state of a module
assembly, and allowing a flying action when the connection state is judged to be normal; collecting GNSS
signal intensity of the positioning sensor, determining a positioning decision mode according to the GNSS
signal intensity, and generating flight
attitude control data according to the positioning decision mode; according to the flight
attitude control data, the flight attitude of the flying
robot is adjusted based on closed-loop PID control of a
harmonic reducer and a
servo motor; obtaining predicted
wind speed data, determining disturbance torque, and performing feed-forward compensation on the flight attitude according to the disturbance torque; and controlling the central double rotors of the flying
robot to continuously operate, and controlling the outer side rotors in the flying robot to start and stop based on Q-learning. According to the invention, the anti-wind hovering performance is guaranteed, the energy
utilization rate is improved, and the environmental adaptability, the anti-wind stability and the cruising ability of the aircraft are enhanced.