不建议用STM32来操作mavlink,用MAVROS会简单很多。 https://bbs.amovlab.com/forum.php?mod=viewthread&tid=87&highlight=mavlink