EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.57k stars 333 forks source link

low cost GPS not supported #3906

Closed sdellava closed 6 months ago

sdellava commented 1 year ago

Is there an existing issue for this problem?

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

Currently, adding a GPS to a radio requires a specific configuration (NEMA, 9600 Bps).

Unfortunately, many small GPSs do not have an internal flash and if they are not preconfigured in the correct mode, EDGTX will not recognize and use them.

My suggestion is to add an audobaud configuration and GPS initialization step when selecting a model.

GPS inizialization example can be seen here: https://github.com/betaflight/betaflight/blob/master/src/main/io/gps.c (gpsInitData_t)

Expected Behavior

GPS should be inizialided by the radio with the proper configuration.

Steps To Reproduce

Connect a BN180 GPS or Flywoo GPS 2 and you will see it do not work

Version

2.9.0

Transmitter

Jumper T-Pro

Operating System (OS)

Windows

OS Version

No response

Anything else?

No response

sdellava commented 1 year ago

Update: actually most of the low cost GPS are able to autoconfigure the port speed, but many of them are configured to use UBLOX protocol by default instead of NMEA. So It could be useful to add the UBLOX protocol to the GPS interface. In the BETAFLIGHT repoository there is the required code.

pfeerick commented 6 months ago

Support for UBX GPSs has started with #4689