Open blazczak opened 4 years ago
Has this been worked on in 1.11.x by any chance? The GPS setup performs worse in dual mode than in single mode on Linux: PX4 in dual takes longer to acquire a fix, then a lock and in fact caused "GPS error too large" warning in-flight in plain view of satellites with two receivers attached and active - both are the same type, u-blox M8N.
Looking at the GPS stats it appears that in dual mode one of the receivers might "drag" the other one down: one receiver may have 15 satellites and a fix but PX4 still won't lock. Perhaps some sort of a weighing approach should be used in blended mode based on each receiver's fix, error and/or number of acquired satellites.
https://logs.px4.io/plot_app?log=b4bc8c8b-5e48-4bcb-8eab-9c396ec2f33f
Describe the bug With code changes from #16124, px4 is not using the secondary GPS for positioning/blending.
ekf_gps_position
messages are generated, but the the flight system (including QGC) seems to be aware of primary GPS only.ekf_gps_position
messages are unavailable.In both cases, the system seems to "see" and report data from the primary GPS only
To Reproduce Steps to reproduce the behavior:
gps start -d /dev/spidev0.0 -i spi -e /dev/ttyACM0 -j uart -p ubx
Expected behavior Data from both GPS systems should be blended.
Log Files and Screenshots
1.10.1:
1.11.1:
Are there more configuration changes needed for dual GPS in 1.11.x?
Drone (please complete the following information):