-
Notifications
You must be signed in to change notification settings - Fork 241
Description
When calculating how to tune the PIDs, SteeringManager makes use of the stock call ITorqueProvider.GetPotentialTorque() to find out how capable the ship is of turning.
The problem is that GetPotentialTorque() always returns the max torque that a reactionwheel COULD provide, ignoring the slider that can reduce reaction wheel strength.
(To test, print steeringmanager:rawtorque. in a terminal, move the reaction wheel's slider, and print it again - there is no difference.)
I tested it with an RCS block and the RCS blocks don't seem to have the same problem - they do vary with the thrust limiter. I also tested with a gimbal-able engine - it also seems to change with the thrust limiter since it pays attention to the actual thrust the engine is currently providing when calculating it (if the throttle is off, a gimbal engine does not contribute to GetPotentialTorque, as it should be.)
It seems that ONLY reaction wheels have this problem.