feat: implement GPS L1 subframe 4 and 5 decoding#22
Draft
Conversation
Add support for decoding the remaining GPS LNAV subframes: Subframe 4: - Page 18: Ionospheric parameters (α0-α3, β0-β3) and UTC parameters (A0, A1, ΔtLS, tot, WNt, WNLSF, DN, ΔtLSF) - Page 25: SV configurations/A-S flags for all 32 SVs and health status for SV 25-32 - Pages 2-5, 7-10: Almanac data for SV 25-32 Subframe 5: - Pages 1-24: Almanac data for SV 1-24 - Page 25: SV health for SV 1-24 and almanac reference time/week Almanac data includes: eccentricity, toa, δi, Ω_dot, sv_health, sqrt_A, Ω_0, ω, M_0, af0, and af1. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
I asked Claude to implement the decoding of subframes 4 and 5 based on Interface Specification (IS-GPS-200N, 01 Aug 2022)
And this is what I got ;)
I open this as a draft, because I don't yet have a good way to test it.
Add support for decoding the remaining GPS LNAV subframes:
Subframe 4:
Subframe 5:
Almanac data includes: eccentricity, toa, δi, Ω_dot, sv_health, sqrt_A, Ω_0, ω, M_0, af0, and af1.