Skip to content
This repository has been archived by the owner on Apr 13, 2021. It is now read-only.

Work saturdays #200

Merged
merged 3 commits into from
Jul 22, 2015
Merged

Work saturdays #200

merged 3 commits into from
Jul 22, 2015

Conversation

henryhallam
Copy link
Contributor

I don't claim that this is the most rigorous possible way of handling time-of-week rollovers, but it's better than keeling over.

In this edition, the tracking channel doesn't attempt to keep track of the week number. Instead when it's time to form a measurement, it uses gps_time_match_week() to set the measurement week number appropriately from the ephemeris, which may be equal, a week ahead or a week behind.

Bad results are still possible if we happen to have a cached ephemeris that's 7 days out of date and try to use it at just the wrong time. A separate piksi_firmware update will regularly invalidate outdated ephemerides to prevent that from happening.

@mookerji @fnoble @cbeighley @denniszollo

@swiftnav-jenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://zazu.ci.swiftnav.com/job/libswiftnav%20Pull%20Requests/271/
Test PASSed.

@swiftnav-jenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
http://zazu.ci.swiftnav.com/job/libswiftnav%20Pull%20Requests/272/
Test PASSed.

@cbeighley
Copy link
Member

@henryhallam Can you add an issue for invalidating out of date ephemerides?

@henryhallam
Copy link
Contributor Author

Issue created swift-nav/piksi_firmware#523

henryhallam pushed a commit that referenced this pull request Jul 22, 2015
@henryhallam henryhallam merged commit a044445 into master Jul 22, 2015
@henryhallam henryhallam deleted the work_saturdays branch July 22, 2015 05:59
@mfine mfine restored the work_saturdays branch July 23, 2015 17:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants