Jump to content

Mechjeb to execute a maneuver node results in engine "flutter" - it pulses the engine


Recommended Posts

First: Thanks everyone who took the time to look at this.


The issue:

The engine stutters, so I just have to do all the nodes by hand rather than relying on Mechjeb, which sucks.

Repro:
I can get repro with just Mechjeb - although the whole thing shakes so much, so I added KJR.
All mods for repro:

Kerbal Joint Reinforcement - Next (KerbalJointReinforcementNext v4.2.27)
MechJeb 2 (MechJeb2 2.14.3.0)
Module Manager (ModuleManager 4.2.3)

So here's an image of the ship that does this engine stuttering when I have Mechjeb control a maneuver node:
https://steamcommunity.com/sharedfiles/filedetails/?id=3306126647

If I hit space bar to get rid of the bottom tank and engine, so that the only remaining engines are the 2 near the top of the ship, the problem continues to exhibit.  Those engines seem to be why it stutters when Mechjeb is controlling the node execution for some strange reason.

 

Remarkably, this design also stutters:
https://steamcommunity.com/sharedfiles/filedetails/?id=3306144338

So much for my hypothesis (I had wondered if maybe it was because the original design's engines might not be precisely aligned, but these should be pretty close to exactly aligned).

I think my takeaway is that I'll just have to test every ship design using cheat-mode to make sure they work okay with Mechjeb before using them on missions.

 

Workaround:

I found that moving the engines to the bottom of the ship caused the stuttering to stop:
https://steamcommunity.com/sharedfiles/filedetails/?id=3306565772

That's kind of a shame, in that I had them at the top to work around a stability problem and I thought they were fine up there.  But it seems if I want to use Mechjeb, then I'm left with no choice.  It's an interesting bug, but I think no more development is going on for the Mechjeb mod.  Nevertheless I might post this thread as a duplicate into the Mechjeb threads.  I'm not sure where I would post that though.

Edited by derLiebeFrankie
Link to comment
Share on other sites

The problem here is not Mechjeb but actually the design. If an engine is positioned above the center of gravity, the whole thing becomes unstable. So Mechjeb has to steer and do so permanently. This then builds up at some point.
It's not for nothing that real rockets have the engine at the bottom and not at the top.
With landers where the engines are at the top, the center of gravity is quite high up and therefore a rather short design is used here.

Here you can take a helicopter as an example where the rotor is at the top.  A helicopter is therefore always unstable and difficult to fly. If you let go of the control stick and pedals, it will fly somewhere. So you have to constantly steer. Nowadays, of course, this is not done by humans but by computers.

Edited by Cheesecake
Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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...