DFRobot / DFRobot_GNSS

MIT License
3 stars 2 forks source link

Lat/Lon directions are swapped! #2

Closed theGOTOguy closed 4 months ago

theGOTOguy commented 10 months ago

This is an issue technically baked into the DFRobot GNSS/GPS device itself and not the drivers, but the issue needs to be ideally addressed in the firmware, or if not, it must be worked around in the drivers.

This line of code, which ostensibly reads latitude direction (N/S), instead returns the correct direction of longitude (E/W)!

On the other hand, this line of code, which likewise is supposed to read longitude direction (E/W), instead returns the correct direction of latitude (N/S)!

96liuzhixin commented 4 months ago

Have been modified