Unable to blend GPS1 and GPS2 data

Hi Everyone.
I am currently using Drotek F9P GPS with my drone. My goal is to blend the two GPS’s data data and use these as a fail-over/fallback mechanism so that if I lose 1 GPS module, the other takes over and tells the drone about its location. I have currently done everything in my reach. Both primary and secondary GPS are working. I have followed the following link as well (Dual Receiver part) but when I remove GPS1 connector, it stops giving me satellite counts and other data as well. ‘listener vehicle_gps_position’ command only displays data when GPS1 is connected. I have attached the images as well that show both GPS are working fine.
Please HELP!

@DonLakeFlyer If you can help please!!

Sounds like a PX4 issue, and not a QGC issue.

If you can share a log via logs.px4.io of when you try this, that might help diagnose what is going on.

What is the Px4 version here

Sorry for the late reply. Actually, I am table testing this for now. I have attached two drotek gps modules with my Pixhawk 6x. In position mode, when it shows “Ready to Fly”, I then remove GPS 1 from pixhawk to see whether the position stays or not. Secondly, when I use only GPS2, “listener_vehicle_gps_position” does not publish anything. Only after connecting GPS 1, it shows values. Then if I remove, GPS 1, it keeps showing the values. (I guess primary instance is necessary for the first time).

I am using 1.16 And pixhwak 6x pro.

I have similar issue I think. I am trying to use two GPSs - M10 at GPS1 and F9P at GPS2 ports. When I remove GPS1, there is no satellite count no at the front page. @thesurge23 Have you solved your issue? Please share me some updates, if you have. Thanks!

@white_dove what I have found till now is this:
You need to insert GPS1 first and then GPS2. Only after they both show data (you can check in this in mavlink console by typing “gps status”), you can remove GPS1 from the port. QGroundControl will stop showing satellite count but the position is not lost. You can fly the drone afterwards and it holds position in position mode flight.
This is quite strange but I guess that is how it works.

I see. Thank you. My F9P GPS is not detected in one of my Pixhawk 6x; it is detected in the other under same configuration. It is quite weird. And I want to try a lower version v1.15.4 but I don’t know where I can download it. Do I need to compile or? I couldn’t find it on google. Thanks!

@white_dove check your GPS ports baud rates. That’s most likely the issue.
For a lower version, you can go to GitHub of PX4 repository and download from there. Moreover, you can build it yourself as well. The guidelines are present in PX4 documentation.

1 Like