adafruit/Adafruit_GPS

Parsing issue - latitude, longitude

Closed this issue · 1 comments

I have the same problem as this closed issue with the latest 1.7.2 on Feather 32u4 with hardware connected to Ultimate GPS breakout.

Here is the output:

Time: 18:05:03.000
Date: 27/4/2023
Fix: 1 quality: 2
Location: 4526.0615N, 7349.4267W
Speed (knots): 0.09
Angle: 200.86
Altitude: 159.90
Satellites: 7
Antenna status: 0
$GPGGA,180504.000,4526.0614,N,07349.4269,W,2,07,1.13,159.9,M,-32.2,M,,5D
$GPRMC,180504.000,A,4526.0614,N,07349.4269,W,0.19,200.86,270423,,,D73
$GPGGA,180505.000,4526.0614,N,07349.4270,W,2,07,1.13,159.9,M,-32.2,M,,54
$GPRMC,180505.000,A,4526.0614,N,07349.4270,W,0.00,200.86,270423,,,D72

OK, it was not clear in the sample but reading at the source code, there are two fields
latitude, and latitudeDegrees