betaflight / betaflight

Open Source Flight Controller Firmware
GNU General Public License v3.0
8.55k stars 3.02k forks source link

Support for DJI (style) GPS (one UART for both "GPS and Mag") #8708

Open JulianGoesPro opened 5 years ago

JulianGoesPro commented 5 years ago

Hello :)

I am coming from iNav and noticed BetaFlight does not support the Naza GPS protocol (which uses one UART for both "GPS and Mag") which I think is kind of sad (already using SoftSerial for vTx control on the Mamba Mini Stack)

Maybe its an easy pull copy paste job to move it from iNav to BetaFlight so I thought I would ask...

BTW, not only DJI is using that protocol: https://www.banggood.com/Ublox-M8N-GPS-Compatible-with-DJI-NAZA-Lite-V1-V2-Flight-Controller-Phantom-1-2-Vision-p-991718.html?p=273012693807201407N5

Thanks a lot :)

Screenshot 2019-08-11 at 17 59 49 Screenshot 2019-08-11 at 19 05 24
Cc2Gre commented 5 years ago

Great !

seriousrob commented 4 years ago

If you need anyone to test, i have an iNAV setup using the SpeedyBee F4 and the NAZA GPS. It works great except DSHOT protocol. That's why i'd love to go back to betaflight with it. Well, as soon as we are allowed to go out again.....