SlashDevin / NeoGPS

NMEA and ublox GPS parser for Arduino, configurable to use as few as 10 bytes of RAM
GNU General Public License v3.0
709 stars 195 forks source link

big difference between distances #133

Open naxisinc opened 4 years ago

naxisinc commented 4 years ago

NeoGPS::Location_t target(26691215L, -78998265L); // Bahamas float dist = NeoGPS::Location_t::DistanceMiles(fix.location, target); Serial.print(dist); Serial.println(F(" miles")); // output 5046.22miles - real ~101miles

Anybody can explain me what happen here?