C++ class to parse NMEA0183 sentences
Written many years ago... Designed to be easy to reuse. Simply delete the sentence objects you don't want to parse.
C++ class to parse 81 different NMEA0183 sentences
License: MIT License
Thanks for your C++ class, it very interesting.
I am new in the GPS World and I was looking for a clean and small solution for my project. My question is if this class is still compatible/working with newer GPS receivers which I think they now support the newer NMEA0183 protocol.
Trying a simple C++ application I found in the codeproject.com (Add GPS support to your desktop) I get "parse error" with this class library.
Best Regards,
George
I'm not sure if this library indicates which version of the NMEA 0183 standard that it's built against, however it appears to be a 2.x version. If you'd like to use this library with 3.x standard sentences here are a couple issues I ran into and how to fix it.
The GVS sentence parser can only handle 12 satellites using 3 sentences. The NMEA standard (3.01) indicates 9 sentences are supported for up to 36 satellites. This will cause a crash in the parser for GVS sentences reporting more than 12 satellites. The fix is to increase the array size from 12 to 36 in GSV.HPP.
The RMC message fails the checksum evaluation because it's not referencing the checksum field in the sentence. Field 12 is the Mode Indicator field (per the 3.01 standard) and field 13 is used as the checksum. The fix is to pass 13 instead of 12 into the sentence.IsChecksumBad() method call in RMC.CPP.
I'm sure there may be issues with other sentences but these are the only sentences where I've noticed issues.
Cheers.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.