-
Notifications
You must be signed in to change notification settings - Fork 0
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
Latest timestamp issues (2019) #21
Comments
The One Second Messages contain the satellite Signal Values, perhaps you can use those to determine if timestamps are reliable. |
When the status byte is equal to 1, the Trimble doesn't have GPS time. So it should not be very hard to determine when the timestamps are not reliable. I worry about race conditions, though. The GPS first loses GPS time, then when the hardware triggers unreliable events are generated, and only then will the software receive the GPS status byte. Maybe require a GPS status message for every event? Something else to throw into the stew. If we can make that work, we will never have 1999 or 2019 events again. That's worth something. |
That is indeed worth something, especially in |
Haha, I thought about that, too! Not too distant, anymore. Really need to make sure the server does not drop events in 2019. |
While it is an issue to upload events with incorrect timestamps, I believe events are never blocked or thrown away. There is a problem that the |
Damn. One year. |
This just happened again on pysparc1. GPS time jumped to April 17, 2019. Must fix this. |
related: HiSPARC/firmware#3 |
When the GPS does not track satellites, the GPS time can be wildly wrong. We've seen 1999 and 2019 a lot. When the timestamp jumps to 2019, the
_latest_timestamp
variable will always be later than the correct timestamp. This means that once the GPS time is correct again, all subsequent events will still be rejected. We should probably track the GPS time status, but make sure there are no race conditions.The text was updated successfully, but these errors were encountered: