Skip to content
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

Better handling of system time changes #250

Closed
wellenvogel opened this issue Oct 28, 2022 · 1 comment
Closed

Better handling of system time changes #250

wellenvogel opened this issue Oct 28, 2022 · 1 comment

Comments

@wellenvogel
Copy link
Owner

Currently AvNav on Linux is at least prepared for system time changes (including backwards). But the reaction is rather "hard" - all internal GPS data is deleted if a time shift backward is detected.
On Android there is currently no real handling.
But the systems provide the ability to rely on some steady clock sources (time.monotonic for python and System.uptimeMillis() or System.elapsedRealTime(9 on android).
So AvNav should utilize those time sources. This can avoid the need for deleting internal data.
Also the browser part should be considered (maybe using performance.now())

@wellenvogel
Copy link
Owner Author

20240520

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant