# How to send the GPS data to the Drone

Source: https://forum.modalai.com/topic/1514/how-to-send-the-gps-data-to-the-drone
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2022-11-02 19:07:02 UTC by Kyungtaek Oh 0
Replies: 1 · Views: 692

## Kyungtaek Oh 0 · 2022-11-02 19:07:02 UTC

Hello.

We are planning on a project without a GPS sensor. 
First, the way we consider was qvio, but it failed sometime for an unknown reason.
So we tried to find some way how to send estimated GPS data to the drone, and the fake GPS looked suitable.
I checked the fake_gps codes in PX4-Autopilot and mavros, but it looked like a way for the HITL, not for the real control.(If I understood correctly, the HITL is for the simulation world using real hardware)
So is there a way to send custom GPS data to the drone?

## Reply by Chad Sweet (ModalAI staff) · 2022-11-03 15:14:16 UTC

You will have to study PX4 architecture and work through the code to create a new type of GPS input

Did you go through the VIO troubleshooting steps? https://docs.modalai.com/flying-with-vio/#troubleshooting-vio
