The application discloses a kind of micro
flapping wing aircraft autonomous
obstacle avoidance method and device based on ToF
perception, it is related to
flapping wing aircraft control technical field.The method comprises the following steps: based on DFS
algorithm, according to original depth
data matrix and target state code, connected domain clustering is carried out, and obstacle feature is extracted;Based on the hierarchical
obstacle avoidance strategy of
spatial partition, according to the independent obstacle
feature set, partition
obstacle avoidance instruction mapping is carried out;Based on historical obstacle avoidance instruction
queue, according to autonomous obstacle avoidance instruction,
deadlock state check is carried out, and instruction
smoothing processing is carried out;Based on the heading
control mode, according to the safe navigation parameter, through dual-mode heading control mechanism, attitude closed-
loop control is carried out;According to the
yaw channel control quantity and safe navigation parameter fusion
control signal, drive micro
flapping wing aircraft to carry out autonomous obstacle avoidance flight control.The application is a kind of micro
flapping wing aircraft autonomous obstacle avoidance method based on ToF
perception, hardware light weight, low and high degree of
adaptation of computing power expenditure.