The invention relates to the technical field of unmanned aerial vehicle flight
attitude control, in particular to an unmanned aerial vehicle flight attitude adjustment method and
system based on
reinforcement learning. Comprising the following steps: constructing a dynamic environment grid map based on a digital map and a real-time semantic segmentation result, and generating an initial track by introducing a space-time constraint fast search
random tree algorithm; collecting flight state information, environment
perception information and image definition indexes of the unmanned aerial vehicle, inputting the flight state information, the environment
perception information and the image definition indexes into a space-time attention
encoder, and generating a semantic-fused state
tensor; performing importance distribution on the state
tensor through an information entropy weighting mechanism to obtain a weighted
state vector; inputting into a Meta-SAC model with meta-learning ability, and outputting a target flight reference
pose and an LQR controller dynamic
gain coefficient; the control module drives the LQR controller to generate a flight control instruction based on the information; and a reward function is constructed based on the
image quality and the
energy consumption efficiency, and a
reinforcement learning strategy is fed back in real time.