-
Notifications
You must be signed in to change notification settings - Fork 197
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
NMEA senteces not valid? #155
Comments
A couple things:
Also, you would typically access lat and lon values via |
Hello @danalvarez , Many thanks for your suggestion, I'll try to remove "location". Another information: the while loop that read the GPS messages is inside a task that runs at 10Hz, exacly like the GPS. Is it possible that some timing issue is happening? It's pretty strange the validation thing... but at the link you posted I can read: I'll need to change to true the two #defines?
|
Hello guys,
I'm trying to figure out why my GPS sometimes throws strange values.
An example on LAT:
......................
345129181
345129183
444
345129184
345129182
......................
First of all, I'm running an Ublox SAM-M8Q gps module with an ESP32 microcontroller.
The GPS is set to 10Hz and a baudrate of 240400. To set everything I'm using this init function:
I'm logging the data into an SD card (which is very fast). My original code was without the "if" statemets and I add them just for debugging purposes.
The loop is:
The consolle output is pretty strange. I can clearly see that the FIX was not valid, but the printed values of LAT,LON,ALT,SPEED are constantly updated!
The text was updated successfully, but these errors were encountered: