MuMech / MechJeb2

MechJeb2 - KSP mod
Other
998 stars 251 forks source link

Porkchop stuck creating node (if optimizer crashes due to outgoing Moon/Mun encounters, user needs feedback) #1086

Closed mpredosin closed 4 years ago

mpredosin commented 5 years ago

I'm trying to have mechjeb create a node from the porkchop selection. It usually works fine, but now I'm trying to transfer to Jool. Using lowest or manually picking a point on the graph causes mechjeb to get stuck when creating the node. It seems ASAP is the only way to keep it from getting stuck. I also found that switching to limited time also works.

lamont-granquist commented 5 years ago

What version of MJ?

lamont-granquist commented 5 years ago

722a1359e11515f2d849f339f21825fc056efa74 was the latest fix to that.

lamont-granquist commented 5 years ago

looks like that was in released v2.7.1 though

lamont-granquist commented 5 years ago

It may be that you're getting a Mun encounter on the way out of Kerbin. Although I don't think the UI gives you back enough information to show that.

mpredosin commented 5 years ago

MechJeb 2 v2.8.1

mpredosin commented 5 years ago

If you need logs or backtrace let me know. I'm not familiar with KSP modding. But, I'm happy to provide any info you need.

lamont-granquist commented 5 years ago

Step 1 is probably detecting issues with outgoing Moon/Mun encounters and logging details to KSP.log and/or displaying information to the user. My guess is that is what is going on, but without logging one way or the other it is impossible to prove it.

cryptiklemur commented 4 years ago

Also dealing with this in 2.9.2.0. Not sure if it's related to Mun though? I'm also trying to get to Jool

lamont-granquist commented 4 years ago

The fixes that went into the advanced transfer planner after 2.9.2.0 may have fixed this.

Those are only available via the dev builds on 1.8/1.9 right now:

https://ksp.sarbian.com/jenkins/job/MechJeb2-Dev/

There's no good reproduction steps here so I can't say specifically what the bug was or if it really got addressed, but in particular the old code was absolute crap for anything other than a near-circular parking orbit (how close to near circular? dunno).

Gonna declare bankruptcy on this issue though on the assumption that the issue probably got addressed.

If there's still issues:

  1. ensure running on a post-2.9.2.0 version that has the tickbox for planning the circularization burn at the target planet.

  2. open a new issue.

  3. include the relevant logs (there's a lot more logging from the advanced transfer planner now).

  4. include the UT of the transfer and which planets it is between so that the configuration of the solar system can be replicated.

  5. include the keplerian elements of the parking orbit (ideally all six so that the parking orbit can be fully replicated as well).