MechJeb2

MechJeb2

4M Downloads

Throttle Control Issue

petercubic opened this issue ยท 6 comments

commented

I am having a problem where automated throttle controls are not functioning properly. I first noticed it when my Ascent Module would not limit the craft to a specific acceleration. I then noticed that any automated maneuver that I executed would end with the craft not limiting it's throttle at the end of the maneuver to precisely finish it. I have looked a bit online to find if anyone else is having this issue, and couldn't find anything else.

commented

I've seen the problem during ascent guidance. I have both the "Limit acceleration to x m/s" and "Limit to terminal velocity" checked, and only terminal velocity ever triggers. Once an overpowered craft is in the upper atmosphere, it will accelerate at 100% throttle, regardless of the t/w ratio. I've seen this on build 309 and another build around 300-303 (I don't remember exactly which), but it's not in the previous build I tried (somewhere around 288, I think).

Edit: I have not specifically checked for the problem in other circumstances - most of my flights recently were low-powered probes, so I wouldn't hit an acceleration limit once the launch stages are gone.

commented

I had a report about some to NP engine gimbal having a typo in they config
gimbalTransformName = Engine_Nozzel
It crash some of MJ code since the gimbal report 0 transform while the engine has more.
it seems to work with
gimbalTransformName = Engine_Nozzle

I'd make an MM patch, but lazy :p

commented

I tried to narrow down the issue even more, and I think it might have to do with something in Novapunch's parts. It seems like the other parts will work properly with the throttle control and general automation of Mechjeb.

commented
commented

Thanks so much! Keep up the good job with Mechjeb!

commented

I am not using NP engines. I am using the NASA mission (Squad) Size3EngineCluster (4-nozzle rocket). I removed the HotRockets MM config to see if that was the problem, and I get the same behavior even with stock engine configuration. The craft will limit to terminal velocity, but it ignores the max acceleration thrust limiter. This same craft and config works correctly with earlier MJ builds.

Edit: I am seeing the throttle control kick in with a number of engines, but it appears to happen at a T/W over 4, instead of over 3 (for 30 m/s^2 max acceleration). It looks like the method used to compute acceleration changed(?). In any case, it doesn't look like I've got a bug.