Tightly joined positioning and control model for unmanned aerial vehicles based on factor graph optimization