glidernet / ogn-tracker

OGN prototype tracker
15 stars 10 forks source link

Add Condor NMEA output parsing #2

Open SylwBar opened 10 years ago

SylwBar commented 10 years ago

Example Condor NMEA output:

$GPGGA,120009.136,4621.5849,N,01410.2437,E,1,12,10,504.7,M,,,,,0000_00 $GPRMC,120009.136,A,4621.5849,N,01410.2437,E,0.00,134.00,,,,_20 $LXWP0,Y,0.1,504.7,0.00,,,,,,134,351,19.5*71

It looks like there is height of geoid and date missing.

pjalocha commented 10 years ago

I am almost there, just need to tolerate the absence of $GPGSA in Condor NMEA output.

Turbo87 commented 9 years ago

FYI

https://github.com/XCSoar/XCSoar/blob/0d761690a26b2ba25a381c91b092c8231bd8fce8/src/Device/Descriptor.cpp#L247-L248

https://github.com/XCSoar/XCSoar/blob/01664dee36fc6fdbe00f58b2ece84a6b818f1d4c/src/Device/Driver/LX/Parser.cpp#L56

https://github.com/XCSoar/XCSoar/blob/0d761690a26b2ba25a381c91b092c8231bd8fce8/src/Device/Driver/Condor.cpp#L49-L52