MechJeb2

MechJeb2

4M Downloads

New Update auto land issue version 2.6.1

Ksp567 opened this issue ยท 14 comments

commented

kerbal space program screenshot 2017 10 15 - 17 43 34 26
Using the land at target feature puts you directly 180 degrees on the other side of the moon/planet. Doesn't matter what planet or moon it is.
kerbal space program screenshot 2017 10 15 - 17 43 28 12

commented

Landing guidance is working fine. Thanks Sarbian (?) for your attention to this matter.

commented

I have begun noticing issues with MechJeb land at target since the latest KSP update (was working fine previously).

It may be related to this KSP code change:
"CelestialBody GetRelSurfacePosition now calling correct methods."

https://wiki.kerbalspaceprogram.com/wiki/1.3.1

I can see that this method is used to compute the adjustments needed to find the landing spot in at least one place within MechJeb code:

Vector3d currentTargetRadialVector = mainBody.GetRelSurfacePosition(core.target.targetLatitude, core.target.targetLongitude, 0); //Find the current vector from the planet center to the target landing site

commented

Win10 KSP User. I am using MechJeb2-2.6.1.0 as my only mod. Since the upgrade to KSP V1.3.1.1891 I have had the issue described above. MechJeb still works fine except when trying to use landing guidance from an orbital spacecraft, MechJeb will try to land, unsuccessfully, on opposite side of Mun from the target. Same results at Minmus.
Results are similar to the screenshots in the original post, though the spacecraft comes in at too high speed and crashes.

commented

sarbian, Thanks so much for looking at this.
I tested MechJeb Dev #745 landing guidance with a spacecraft orbiting Minmus. It behaves differently, but still not working. Target looks correct, but MechJeb remains in the "Moving to high orbit burn point" status for multiple orbits.
screenshot370

commented

It should now be fixed in the dev build. I do not really have the tome to test so you ll have to see for yourself.
Thanks @bcwinters for the 1.3.1 change hint

commented

Definitely NOT fixed by https://ksp.sarbian.com/jenkins/job/MechJeb2-Dev/745/. Still tries to do correction burn AWAY from target.

commented

After hours of debugging, I figured out how this happens. Hyper edits Coordinate become un-synced with the actual physical values on the map, sometimes its a small amount, sometimes its 180 degrees out. Easy to fix just remove hyper edit and if someone wants to report that bug to hyper edit page. It seems only effect the longitude coordinates not the latitude.

commented

@Ksp567 Good job, but I didn't even install hyperedit, the landing just not working or the accuracy is very poor

commented

It is still not 100%. But far better, the change log for the update 1.31 mentions streamlining a lot of the code. I guess they changed a lot of the background variables in the code and that is why the calculations are off now. But most of it is above my head. The game is much faster and smoother now but guess this is the cost of those changes.

commented

Really? In my case it just keep wrapping without de-orbit burn, seems we still have to wait.
Thank for all those who put efforts on this issue.

commented

I installed the update and unfortunately, it did not fix the issue. Landing Guidance is stuck in the "high deorbit burn" step. Just keeps orbiting the planet (in my case, Minmus), in time warp mode. It doesn't crash land now, so I suppose that's an improvement. Appreciate all efforts to correct this.

commented

Hello,

Where is it possible to download the new version 2.6.1 #940 (or more actualised version of your plugin) without landing guidance bug ??

Best regards.

PS https://ksp.sarbian.com are not currently online

commented

It seems works!! Cool!

commented

Nice! MechJeb2-2.6.1.0-747 Dev Landing Guidance is working for me.
Thanks!