MechJeb2

MechJeb2

4M Downloads

[bug] vesselState.torqueAvailable is locked at 10

Mogeley opened this issue ยท 3 comments

commented

after .23 I noticed that vesselState.torqueAvailable no longer changes with flight conditions. for the x,y,z, components it is locked at 10. Int he previous version it adjusted depending on flight conditions.

Nothing in the code stands out as to why this is so it may be a change in KSP.

commented

You use FAR in .23 ?

commented

No it's only version .23 (steam) and MechJeb2.

I did a test and found out that torque is being calculated for max torque for torque wheels and RCS but not control surfaces.

I am working on a new space plane autopilot so I was using torqueAvailable which is how I noticed it.

It's almost like the condition: "p is ControlSurface" no longer returns true for control surfaces.

commented

Ah, thanks for that. They changed control surface to module and I did not see it. Working on it :)