-
Notifications
You must be signed in to change notification settings - Fork 7
Description
In some cases, particularly where the node needed is a relatively long time away, the maneuver node Flight Plan produces results in an orbit that will not encounter the target and may be so poorly timed that it's not even readily adjustable to give an encounter. This is frequently encountered in Moon Returns from Minmus and interplanetary transfers where the next window is more than a short time away, and a similar effect can be seen where a Course Correction maneuver node does not result in an improved encounter.
This is a known issue first observed and reported in Issue 10 (Hohmann Transfers less than ideal) on May 8, 2023, and in Issue 31 (Moon return) on Oct 30th, 2023. I believe these issues are related so I'm approaching the solution in that way and have combined them into this issue so that the problem may be better understood and workarounds captured in the meantime.
Flight Plan leverages a lot of code from MechJeb that has been adapted to work in KSP2, and as a result, tends to give very good results in most cases, however, the KSP2 adaptation is not currently ideal. I believe that is where the problem lies as the rest of it is a proven implementation of orbital mechanics equations coupled with well-established numerical solvers. The adapted MechJeb code is found in both Flight Plan and Node Manager, and so the solution may involve fixes in both, but as the problems are visible to players using Flight Plan I will document them here.