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
702 stars 195 forks source link

Documentation for location_t.OffsetBy is incorrect #167

Open theoHC opened 1 year ago

theoHC commented 1 year ago

The current documentation describes the function as

location.OffsetBy(bearing, distance)

with distance in radians and heading strongly implied to be in degrees. However, according to the header file the function is actually

location.OffsetBy(distance, bearing)

with both values being in radians. Hopefully this can be easily corrected!