BrushlessPower / SBUS2-Telemetry

Arduino Library for SBUS and SBUS2 with Futaba Telemetry
GNU General Public License v3.0
86 stars 24 forks source link

Wrong GPS LAT and LON #8

Closed BrushlessPower closed 5 years ago

BrushlessPower commented 5 years ago

That's it GPS seems to have an error.

latitude = 52312499 is 52312499 as Display latitude = 52612499 displays latitude = 53012499

If the third digit is greater than five, four is added to the third digit.

and longitude has the same problem.

https://www.rcgroups.com/forums/showpost.php?p=42932981&postcount=20

BrushlessPower commented 5 years ago

52312499 is the same as:

52 Degree 31,2499 Minutes

or

52 Degree 31 Minutes 14,9988 Seconds

or

52.520833 Decimal

So of course 61 Minutes does not work. the Futaba Transmitter calculates the 61 Minutes to 01 Minute and +1 Degree

So...the library works as expected