1

I am using a Quectel L80-R GPS Module coupled with an Arduino UNO to read and log my car's coordinates and speed. I am currently using TinyGPS++ library which works okay. It does spell out coordinates and speed but with some inaccuracies and delays. After some literature review I realized that NeoGPS library might be a better option. I found a thread over stackexchange where a code block is provided written by slash-dev who most possibly is the writer of NeoGPS library. However, when I am trying to compile the code, I get the following error 'class gps_fix' has no member named 'lat' .I can not get rid of the issue even tough I've tried a whole bunch of workarounds.

1 Answers1

1

According to the NeoGPS documentation for the gps_fix class, it looks like .lat and .lon are no longer part of the gps_fix class.

It looks like instead you will have to use .latitudeL and .longitudeL for high precision (Long Integer scaled by 10,000,000) GPS coordinates.

The solution would be to replace fix.lat in your code with fix.latitudeL and fix.lon with fix.longitudeL.

StarCat
  • 1,671
  • 1
  • 7
  • 15