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
694 stars 193 forks source link

How to query RTK Status? #168

Open whatuptkhere opened 1 year ago

whatuptkhere commented 1 year ago

Hi!

Long time lover of this library, first time caller.

I'm wondering if there's a method to query RTK/fix status using NeoGPS? I'm using NavSpark GPS modules with an RTK setup. I believe the fix status (ie. 3D fix, RTK Float, RTK Fix) is reported in the GGA messages, as below:

$GPGGA,115739.00,4158.8441367,N,09147.4416929,W,4,13,0.9,255.747,M,-32.00,M,01,0000*6E

W = East or West Hemisphere. This is always either ‘E’ or ‘W’. When converting to decimal degrees, the western hemisphere is a negative number.

4 = Fix type. This is always a single number. Reportable solutions include:
    0 = Invalid, no position available.
    1 = Autonomous GPS fix, no correction data used.
    2 = DGPS fix, using a local DGPS base station or correction service such as WAAS or EGNOS.
    3 = PPS fix, I’ve never seen this used.
    4 = RTK fix, high accuracy Real Time Kinematic.
    5 = RTK Float, better than DGPS, but not quite RTK.
    6 = Estimated fix (dead reckoning).
    7 = Manual input mode.
    8 = Simulation mode.
    9 = WAAS fix (not NMEA standard, but NovAtel receivers report this instead of a 2).
dizcza commented 3 months ago

Hi @whatuptkhere did you manage to parse RTK messages and apply corrections to achieve a sub-meter accuracy? This library isn't maintained, unfortunately, and I'm looking for a GPS lib to handle RTK updates. I'm considering either NavSpark or SIM66MD.