-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPS Example #4
Comments
This is hard and/or misleading because the data with the information about the satellites' signal strengths spans multiple NMEA messages from the GPS...and ultimately may not mean anything useful. It would be easier (I think) to just report the number of visible satellites. More fundamentally, individual satellite's don't get a fix, per se. At some point, their signal is sufficiently strong such that they can be used to calculate a fix, and you need 4+ of such satellites in order to actually get a fix.
|
Proposing output like...
|
Producing that output would require parsing two different kinds of messages: one that contains the number of visible satellites and a series of a different kind of message (usually 3 messages back to back, if memory serves) which have information for signal strength and possibly for azimuth/elevation. This should all happen in the example file as opposed to the module's library because saving state like that by default is a bad idea. E.g.: you have a good fix, then go into a tunnel and receive/rely on incorrect or outdated information the next time you ask the module for coordinates. |
I propose that we change the GPS example such that it doesn't print out the entire list of detected satellites. Instead it prints out how many satellites have a fix out of the requisite for a coordinate fix.
The text was updated successfully, but these errors were encountered: