2
$\begingroup$

I have some orbit, with a given semi-major axis, inclination, eccentricity, longitude of ascending node, argument of periapsis, and true anomaly. How can I, from this, calculate the position and velocity as Cartesian vectors?

For the sake of this, assume that the parent body is stationary at the origin.

$\endgroup$
  • 3
    $\begingroup$ Does this answer your question? Converting Orbital Elements to Cartesian State Vectors $\endgroup$ – Organic Marble Apr 18 at 22:49
  • $\begingroup$ Or this: space.stackexchange.com/q/12107/6944 $\endgroup$ – Organic Marble Apr 18 at 22:54
  • 2
    $\begingroup$ @uhoh sounds reasonable, retracted vote $\endgroup$ – Organic Marble Apr 19 at 3:36
  • 1
    $\begingroup$ About the above links: The first one contains links to pdfs which explain the algorithm, but they're difficult to parse (and I think SE wants the answer to not depend on external links). The top answer depends on dead links. The second one talks about how to compute osculating vs. mean elements (more general than my question, at the cost of being much more complicated by forgoing orbital dynamics). The only answer depends entirely on links to things behind a paywall (not a good answer for this site). $\endgroup$ – Jarred Allen Apr 19 at 4:05
  • 1
    $\begingroup$ The third one is about going the other direction, is just someone who wants their code debugged, and has no answers posted. The fourth link has a lot of equations, and the answer only explains some of them. The fifth link talks about non-Keplerian mechanics, which is not what I was talking about and, therefore, the answers don't answer my question. If a wiki of some kind to link all questions on this topic is being made, they may be useful things to link to, but none of them answer the question. $\endgroup$ – Jarred Allen Apr 19 at 4:05
1
$\begingroup$

I've started a Community Wiki answer so that we can consolidate all the best answers as links here, accompanied by short explanations.

I've chosen this question to do so because the question is simple and short and so it requires the most general answer.

From @OrganicMarble's comments:

I believe there are other answers that contain actual step-by-step instructions how to go from a full set of Keplerian elements to a state vector, but I haven't found them yet.

One way to find more answers will be to search for "eccentricity vector" since I think that that's central to the conversion in either direction.

$\endgroup$
  • 1
    $\begingroup$ You may remove the line which says "rotted PDFs", I got that fixed. $\endgroup$ – William R. Ebenezer Apr 20 at 13:11
  • $\begingroup$ @WilliamR.Ebenezer That's great! This is a community wiki answer, anybody can and is encouraged to edit this to improve it. Go for it! $\endgroup$ – uhoh Apr 20 at 16:57
  • 1
    $\begingroup$ Ah, alright. Editing done! $\endgroup$ – William R. Ebenezer Apr 20 at 17:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.