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

Fix eph2clk() and geph2clk() iterative solving #489

Open
wants to merge 1 commit into
base: rtklib_2.4.3
Choose a base branch
from

Conversation

daniestevez
Copy link

According to equation (E.3.7) in the RTKLIB docs, these functions solve the equation
t = t0 - dT(t)
by iteration, where
t0 = time - eph->toc
and then return dT(t).

The correct iteration to solve this equation is
t_{k+1} = t_0 - dT(t_k).
Formerly, the iteration was written as
t_{k+1} = t_k - dT(t_k),
which is not correct.

The difference between the incorrect iteration and the correct iteration is rather small, but the correct computation imposes no additional burden.

These functions solve the equation
t = t0 - dT(t)
by iteration, where
t0 = time - eph->toc
and then return
dT(t).

The correct iteration to solve this equation is
t_{k+1} = t_0 - dT(t_k).
Formerly, the iteration was written as
t_{k+1} = t_k - dT(t_k),
which is not correct.
AndreHauschild pushed a commit to AndreHauschild/RTKLIB that referenced this pull request Nov 4, 2024
rtcm3e msgs 1001-1004, 1009-1012: correct max satellites limit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants