Avoid late GPS LNAV recovery compilation - #93
Open
zsoerenm wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #93 +/- ##
==========================================
- Coverage 98.10% 98.10% -0.01%
==========================================
Files 28 28
Lines 2849 2847 -2
==========================================
- Hits 2795 2793 -2
Misses 54 54 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Capture the concrete decoder state in the HOW recovery closure so rejected or missing HOW histories do not create new closure types during live tracking. This removes a measured 292 ms first-call compilation stall on Orin while preserving TOW recovery behavior. Refs JuliaGNSS/GNSSReceiver.jl#107
zsoerenm
force-pushed
the
fix/lnav-recovery-compilation
branch
from
September 9, 2026 06:33
ab4b619 to
2872590
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
An obstructed-sky receiver can reject or miss a GPS LNAV HOW after its symbol counter has started. The next recovery attempt currently creates a new
can_decode_wordclosure type from theInt64/Nothingcombination of the captured TOW fields, causing a 292 ms live compilation pause on an Orin.Capture the concrete decoder state instead. The state type remains stable through cold start, valid HOWs, rejection, and recovery, while the existing plausibility checks and TOW anchoring remain unchanged.
The added test exercises parity failure, implausible TOW rejection, and a later valid recovery while the symbol counter keeps running.
Validation:
Companion to JuliaGNSS/GNSSReceiver.jl#107.