Skip to content

Inaccurate maneuver nodes for Moon Return, Interplanetary Transfer, and Course Correction maneuvers #49

@schlosrat

Description

@schlosrat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions