Jump to content

[1.12.x] Anatid Robotics / MuMech - MechJeb - Autopilot - [2.14.3] [4th March 2023]


sarbian

Recommended Posts

If sarbian is content with inducing people to complain here about problems in other mods and to analyze their logs for them to find out what other mods they use are broken, that's his prerogative.

I wouldn't be willing to do that on a regular basis myself, but I am entertained when he points out the error of their ways.

Edited by RoboRay
Link to comment
Share on other sites

@sarbian, I am using MJ 2.8.4 for KSP 1.7 (because I'm still running that version), and I get errors like "ejection optimization failed" when trying to use Transfer to Another Planet to intercept asteroids from Kerbin orbit (equatorial, circular). Porkchop plots fine, but MJ fails to produce a node. Am I using the wrong function of MJ to intercept asteroids?

Link to comment
Share on other sites

 

KSP: Kerbal Space Program - 1.8.0.2686 (LinuxPlayer) de-de, with Making History + Breaking Grounds

OS: Linux 4.15 Ubuntu 18.04 64bit
CPU: Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz (8)
RAM: 32112
GPU: GeForce GTX 760/PCIe/SSE2 (2048MB)
SM: 50 (OpenGL 4.5.0 NVIDIA 396.54)
RT Formats: ARGB32, Depth, ARGBHalf, Shadowmap, RGB565, ARGB4444, ARGB1555, Default, ARGB2101010, DefaultHDR, ARGB64, ARGBFloat, RGFloat, RGHalf, RFloat, RHalf, R8, ARGBInt, RGInt, RInt, BGRA32, RGB111110Float, RG32, RGBAUShort, RG16, BGRA10101010_XR, BGR101010_XR, R16

Problem: NREs in SPH/VAB with Mechjebbed Capsules/Pods/Cockpits and Toolbar

Mods Installed: Clean Install with Mechjeb 2.9.0, Toolbar Controller 1.9.2, Toolbar 1.8.0.3 and Click-Through-Blocker 0.1.9, MM 4.1.0

Reproduction: After Entering of SPH/VAB and grabbing a Command-Module (Cockpit/Capsule/Probe etc) with an enabled Mechjeb-Module the Logs are spammed with NREs and all Animations in SPH/VAB are stuttering/lagging until the Mechjeb-Module of the part is disabled.

My temporary solution: Without Toolbar/Toolbar-Controller the Problem is gone (or hidden)


Parts of the Logs:

Spoiler

 

KSP.LOG:


[LOG 23:32:59.153] [MechJeb2] Loading Mechjeb 2.9.0
[LOG 23:32:59.336] ScaleModList: listSize 287 maxListSize 1083
[LOG 23:32:59.340] Create button for module Aircraft Approach & Autoland
[LOG 23:32:59.341] [MechJeb2] No icon for Aircraft_Approach_&_Autoland
[LOG 23:32:59.342] Create button for module Aircraft Autopilot
[LOG 23:32:59.342] [MechJeb2] No icon for Aircraft_Autopilot
[LOG 23:32:59.342] Create button for module Ascent Guidance
[LOG 23:32:59.343] Create button for module Attitude Adjustment
[LOG 23:32:59.343] Create button for module Custom Window Editor
[LOG 23:32:59.343] Create button for module Docking Autopilot
[LOG 23:32:59.344] Create button for module Flight Recorder
[LOG 23:32:59.344] [MechJeb2] No icon for Flight_Recorder
[LOG 23:32:59.344] Create button for module Landing Guidance
[LOG 23:32:59.344] Create button for module Maneuver Node Editor
[LOG 23:32:59.345] Create button for module Maneuver Planner
[LOG 23:32:59.345] Create button for module RCS Balancer
[LOG 23:32:59.345] Create button for module Rendezvous Autopilot
[LOG 23:32:59.345] Create button for module Rendezvous Planner
[LOG 23:32:59.345] Create button for module Rover Autopilot
[LOG 23:32:59.346] Create button for module Scripting Module
[LOG 23:32:59.346] [MechJeb2] No icon for Scripting_Module
[LOG 23:32:59.346] Create button for module Settings
[LOG 23:32:59.346] Create button for module Smart A.S.S.
[LOG 23:32:59.347] Create button for module SmartRcs
[LOG 23:32:59.347] [MechJeb2] No icon for SmartRcs
[LOG 23:32:59.347] Create button for module Translatron
[LOG 23:32:59.347] Create button for module Utilities
[LOG 23:32:59.347] Create button for module Warp Helper
[LOG 23:32:59.348] Create button for module Custom Info Window
[LOG 23:32:59.348] [MechJeb2] No icon for Custom_Info_Window
[LOG 23:32:59.348] Create button for module Delta-V Stats
[LOG 23:32:59.348] Create button for module Orbit Info
[LOG 23:32:59.348] Create button for module Surface Info
[LOG 23:32:59.349] Create button for module Vessel Info
[EXC 23:32:59.518] NullReferenceException: Object reference not set to an instance of an object
    MuMech.MechJebModuleMenu.<SetupToolBarButtons>b__30_4 () (at <2e230d4e49354a07858a9faa52799159>:0)
    MuMech.MechJebModuleMenu+<>c__DisplayClass31_0.<CreateFeatureButton>b__0 () (at <2e230d4e49354a07858a9faa52799159>:0)
    MuMech.MechJebModuleMenu.OnMenuUpdate () (at <2e230d4e49354a07858a9faa52799159>:0)
    MuMech.MechJebCore.Update () (at <2e230d4e49354a07858a9faa52799159>:0)
[EXC 23:32:59.720] NullReferenceException: Object reference not set to an instance of an object
    MuMech.MechJebModuleMenu.<SetupToolBarButtons>b__30_4 () (at <2e230d4e49354a07858a9faa52799159>:0)
    MuMech.MechJebModuleMenu+<>c__DisplayClass31_0.<CreateFeatureButton>b__0 () (at <2e230d4e49354a07858a9faa52799159>:0)
    MuMech.MechJebModuleMenu.OnMenuUpdate () (at <2e230d4e49354a07858a9faa52799159>:0)
    MuMech.MechJebCore.Update () (at <2e230d4e49354a07858a9faa52799159>:0)

Player.log:
 


[MechJeb2] Loading Mechjeb 2.9.0
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

ScaleModList: listSize 287 maxListSize 1083
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Aircraft Approach & Autoland
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] No icon for Aircraft_Approach_&_Autoland
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Aircraft Autopilot
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] No icon for Aircraft_Autopilot
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Ascent Guidance
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Attitude Adjustment
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Custom Window Editor
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Docking Autopilot
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Flight Recorder
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] No icon for Flight_Recorder
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Landing Guidance
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Maneuver Node Editor
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Maneuver Planner
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module RCS Balancer
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Rendezvous Autopilot
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Rendezvous Planner
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Rover Autopilot
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Scripting Module
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] No icon for Scripting_Module
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Settings
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Smart A.S.S.
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module SmartRcs
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] No icon for SmartRcs
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Translatron
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Utilities
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Warp Helper
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Custom Info Window
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[MechJeb2] No icon for Custom_Info_Window
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Delta-V Stats
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Orbit Info
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Surface Info
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

Create button for module Vessel Info
 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

NullReferenceException: Object reference not set to an instance of an object
  at MuMech.MechJebModuleMenu.<SetupToolBarButtons>b__30_4 () [0x00006] in <2e230d4e49354a07858a9faa52799159>:0
  at MuMech.MechJebModuleMenu+<>c__DisplayClass31_0.<CreateFeatureButton>b__0 () [0x00000] in <2e230d4e49354a07858a9faa52799159>:0
  at MuMech.MechJebModuleMenu.OnMenuUpdate () [0x000e8] in <2e230d4e49354a07858a9faa52799159>:0
  at MuMech.MechJebCore.Update () [0x0015e] in <2e230d4e49354a07858a9faa52799159>:0
 
(Filename: <2e230d4e49354a07858a9faa52799159> Line: 0)

NullReferenceException: Object reference not set to an instance of an object
  at MuMech.MechJebModuleMenu.<SetupToolBarButtons>b__30_4 () [0x00006] in <2e230d4e49354a07858a9faa52799159>:0
  at MuMech.MechJebModuleMenu+<>c__DisplayClass31_0.<CreateFeatureButton>b__0 () [0x00000] in <2e230d4e49354a07858a9faa52799159>:0
  at MuMech.MechJebModuleMenu.OnMenuUpdate () [0x000e8] in <2e230d4e49354a07858a9faa52799159>:0
  at MuMech.MechJebCore.Update () [0x0015e] in <2e230d4e49354a07858a9faa52799159>:0

 

 

 

Link to comment
Share on other sites

1 hour ago, CrisPKSP said:

Parts of the Logs:

You should upload *all* of the log file to a file sharing site then provide that link.  The reason there's a lot of information in a log file is often a lot of information has to be checked to use that log file to track down the cause of the issue.  You don't know what parts @sarbian will need, so provide him with all of it.

Link to comment
Share on other sites

11 hours ago, CrisPKSP said:

Problem: NREs in SPH/VAB with Mechjebbed Capsules/Pods/Cockpits and Toolbar

Thanks, fixed in Dev #903. It has been there since the end of august but no one complained.

@JakeFor once the report was well written and by someone who clearly code :)

An other great news: someone took the time to do the localization code changes. Dev #904 has all the changes. Now others "just" need to provide localized versions of en-us.cfg

Link to comment
Share on other sites

39 minutes ago, sarbian said:

An other great news: someone took the time to do the localization code changes. Dev #904 has all the changes. Now others "just" need to provide localized versions of en-us.cfg

I read this and it occurred to me that it would be amusing to have various versions of the US English localisation file - Southern, Non-Gender Specific, Canadian, California, East Coast...

(/me ducks and runs away)

Link to comment
Share on other sites

Question: I'm running in Sandbox gamemode and all I've got accessible is the AR202 module. Apparently the Mechjeb 2 pod, the one with the eye is only available in Advanced mode. Does anyone either have a fix for this or know how I could fix it?

Link to comment
Share on other sites

56 minutes ago, Bassoe said:

Question: I'm running in Sandbox gamemode and all I've got accessible is the AR202 module. Apparently the Mechjeb 2 pod, the one with the eye is only available in Advanced mode. Does anyone either have a fix for this or know how I could fix it?

The pod has been disabled a long time ago. Some changes in how KSP handles the pod legs made it unusable.

Link to comment
Share on other sites

@sarbian I am using MJ 2.8.4 for KSP 1.7 (because I'm still running that version), and I get errors like "ejection optimization failed" when trying to use Transfer to Another Planet to intercept asteroids from Kerbin orbit (equatorial, circular). Porkchop plots fine, but MJ fails to produce a node. Am I using the wrong function of MJ to intercept asteroids?

Link to comment
Share on other sites

4 minutes ago, aluc24 said:

@sarbian I am using MJ 2.8.4 for KSP 1.7 (because I'm still running that version), and I get errors like "ejection optimization failed" when trying to use Transfer to Another Planet to intercept asteroids from Kerbin orbit (equatorial, circular). Porkchop plots fine, but MJ fails to produce a node. Am I using the wrong function of MJ to intercept asteroids?

The problem is that when you select a point on the prokchop or just press the button to get a solution then MJ tries to optimize the ejection and it does not always work with object like asteroid that can have "exotic" orbits. KSP logs should have a couple of line of log that may help us see what is the problem. Look for "Transfer calculator: termination type" in the log. Usually the problem is that the orbit is so eccentric that the optimizer just fails.

Others may have some suggestion on how to use MJ to do that. I spend so little time actually playing the game that I do not have a ready answer here...

Link to comment
Share on other sites

4 hours ago, sarbian said:

Thanks, fixed in Dev #903. It has been there since the end of august but no one complained.

@JakeFor once the report was well written and by someone who clearly code :)

An other great news: someone took the time to do the localization code changes. Dev #904 has all the changes. Now others "just" need to provide localized versions of en-us.cfg

Good to know.  Also, don't think we'll hear from @Jake any time soon. :)

Link to comment
Share on other sites

Is Dev 904 the one pushed to and available via CKAN? If not, I'll just use CKAN to remove the current Mechjeb2 and use the link to manually install it. 

Just curious. I'd love to use the CSV export but being not so experienced, I don't quite know where to find that box/option.

Link to comment
Share on other sites

22 hours ago, sarbian said:

The problem is that when you select a point on the prokchop or just press the button to get a solution then MJ tries to optimize the ejection and it does not always work with object like asteroid that can have "exotic" orbits. KSP logs should have a couple of line of log that may help us see what is the problem. Look for "Transfer calculator: termination type" in the log. Usually the problem is that the orbit is so eccentric that the optimizer just fails.

Others may have some suggestion on how to use MJ to do that. I spend so little time actually playing the game that I do not have a ready answer here...

Thank you for replying. I tried to make a transfer to Moho from circular Kerbin orbit, using porkchop plot. It failed. The message in log was as follows:

[LOG 15:43:15.185] Transfer calculator: termination type=2
[LOG 15:43:15.185] Transfer calculator: iteration count=8

Link to comment
Share on other sites

On 10/28/2019 at 6:45 AM, aluc24 said:

Thank you for replying. I tried to make a transfer to Moho from circular Kerbin orbit, using porkchop plot. It failed. The message in log was as follows:

[LOG 15:43:15.185] Transfer calculator: termination type=2
[LOG 15:43:15.185] Transfer calculator: iteration count=8

That is normal output and isn't an error.

 

Link to comment
Share on other sites

On 10/28/2019 at 6:03 AM, Kerlix said:

Is Dev 904 the one pushed to and available via CKAN? If not, I'll just use CKAN to remove the current Mechjeb2 and use the link to manually install it. 

Just curious. I'd love to use the CSV export but being not so experienced, I don't quite know where to find that box/option.

Dev xxx are the version available from https://ksp.sarbian.com/jenkins/job/MechJeb2-Dev/ and from CKAN if your configured the dev repo with the instruction in the OP.

The csv exporter should be in the Flight Recorder window.

Link to comment
Share on other sites

On 10/27/2019 at 11:18 AM, sarbian said:

Thanks, fixed in Dev #903. It has been there since the end of august but no one complained.

@JakeFor once the report was well written and by someone who clearly code :)

An other great news: someone took the time to do the localization code changes. Dev #904 has all the changes. Now others "just" need to provide localized versions of en-us.cfg

Thank You.Great Job!!!

I could translate to Polish, but despite it being my first language I have no idea how to name most of space related stuff, I learned it all in English:/.

Besides what's the point if you can't have anything else in KSP in Polish.

 

Link to comment
Share on other sites

Someone mentioned in add on discussions the idea of a mod adding auto-pitch for the breaking ground propellers. 

This sounds like something MechJeb could do.  I thought I'd mention it here to open the discussion as well as open a feature request on the GitHub page.

Link to comment
Share on other sites

I was trying all morning to get 1.8.1 working with all the mods I love.

Two of those happen to be MechJeb, and Kerbal Foundries... more specifically KSPWheel.

MechJeb build 909, and the newest version of KSPWheel (yes I know it isn't updated for 1.8.1 yet) don't get along, and the game will stop loading at Serenity.

Just thought I would point this out, hopefully when KSPWheel gets updated, it will be solved.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...