MechJeb2

MechJeb2

4M Downloads

[Suggestion] Changing the LAN

moverperfect opened this issue ยท 6 comments

commented

Would it be possible to add a function in the manuever planner that changes your LAN to a specified amount? Or have an option to change the inclination at a location that would make the LAN a specified amount?

commented

Having a look at the code, i guess what i am asking is to add a TimeReference.X_OF_LAN and inside that it has something that calculates how long it will take to get to that new LAN and adds that to UT, i do not know if this would be possible, i just thought that this may give a better insight into what i was looking for. I would try to do this myself but i lack the experience and software needed to add this. If nobody wants to take this on, i will try to gain these attributes to change the code myself.

commented

Can you say what the LAN is ? ^^

commented

Longitude of the ascending node, you can find it in the Orbit info i think, or you might have to add it through the window editor.

commented

Orbital math is not really my thing but with a few search I found a mathlab library with a function that : "calculates the necessary dV and the initial and final argument of longitude for a change in the right ascension of the ascending node."
http://www.mathworks.fr/matlabcentral/fileexchange/13439-orbital-mechanics-library/content/NodeChange.m
It's seem to do what you want ?
I'll see if I can extract the math from that and put them in MJ. But no sooner than next week.

commented

This functionality is already present (added in commit aee6474).

commented

Indeed