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

Wrong velocity coordinate transform #95

Open
jhdwilmes opened this issue Jun 18, 2020 · 1 comment
Open

Wrong velocity coordinate transform #95

jhdwilmes opened this issue Jun 18, 2020 · 1 comment
Labels

Comments

@jhdwilmes
Copy link

ECI to ECEF conversion uses the same coordinate transformation to convert velocity as it does position when creating state vectors. The correct approach should include earth's rotational velocity when converting ECI velocity to ECEF (and ECEF to ECI) as follows:
V_ECEF = T_ECI_to_ECEF * V_ECI - [0,0,wE] x R_ECEF
V_ECI = T_ECEF_to_ECI * (V_ECEF + [0,0,wE] x R_ECEF)
where wE is the earth rotation speed (rad/sec), T is the transformation matrix, V is velocity, and R is position.

More accurate versions take into account Earth precession and nutation, though this would require modification to the ECEF-ECI position conversion as well, and is outside the scope of this bug.

@astrojuanlu
Copy link
Contributor

thanks a lot for the report @jhdwilmes! I will investigate if there's a reason to not have that part (I want to believe that we left it out because of performance reasons, although I doubt it).

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

No branches or pull requests

2 participants