I am currently working on refining my lunar lander's autopilot, and was wondering if anyone could help me work out the math behind BaseSync MFDs functionality.
As it stands I calculate my closest point of approach (CPA) by projecting the position of my target onto my own orbital plane. While this is method often "close enough" it only works for 1 orbit in advance and does not account for relative motion of the target or rotation of the reference body.
There has to be a more precise way, but I am unsure where to start.
As it stands I calculate my closest point of approach (CPA) by projecting the position of my target onto my own orbital plane. While this is method often "close enough" it only works for 1 orbit in advance and does not account for relative motion of the target or rotation of the reference body.
There has to be a more precise way, but I am unsure where to start.