-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RCS keeps getting enabled when toggling autopilot and when staging #1860
Comments
It also triggers during landing guidance, whenever the thrust is very low, it seems. I have to spend a lot of time just shutting off the RCS, it's very annoying and borders unplayable. |
RCS is always active when enabling MJ, be it Ascent Guidance, be it Node Execution. No Kopernicus/RO/RSS installed. This bug is persistent since build #1344. |
Sounds like RCS auto mode is on. There is a setting for that in the attitude adjustment window. (and the landing guidance window has a similar RCS control for killing lateral motion) |
The "RCS auto mode" is disabled in the attitude adjustment window, which I never opened before. |
RCS auto mode is off, never was on. As I said, the issue came up with #1344, never before, and is persistent since. Workaround: in GameData\MechJeb2\Plugins\PluginData\MechJeb2 delete all vessel specific config files if required.. Edit mechjeb_settings_global.cfg, change AutoRCSUllaging from True to False, provided you don't need that RCS Ullage. Said RCS Ullage setting should only be active using RO or RSS, yet it is even active in vanilla. |
@Sinomen Narrow that down to Real Fuels which you can have installed independently of RO or RSS. That is what is being looked for. |
No Real Fuels installed here. |
If you don't even have RF installed then that is definitely a problem, but it should make it easier to track down. I'm on my phone so I'll have to wait until I'm back on my PC to comment further. |
No Real Fuels either on my side. |
I am leaning towards this being in the thrust controller but it could be a bit deeper where it actually checks ullage. Without RF installed, all ullage checks are supposed to be assumed stable but I don't like the way that's implemented at that level. There's no sanity check and it depends on an update to actually SET the field as stable, and that leads to race conditions. (I said 4 but this last one is just ascent guidance settings, it doesn't touch RCS itself)
|
Would one of you two mind posting your logs when you've been in flight mode long enough for this to happen? |
I don't know how to generate logs, but in any case the bug happens on the launchpad so you don't need to wait "in flight mode" to see it. |
I should have said flight scene which includes the pad, prelaunch, landed, etc. Logs are in the KSP folder and they're always generated. I can make a pull request that might fix this but I won't be able to build it and test it myself because I'm not set up for it. But it might not be enough which is why I'd like to check someone's log for some things. |
Which log file(s) exactly? KSP.log? And, I assume, with AutoRCSUllaging = True? |
There's a bug reported MuMech#1860 where RCS keeps turning on when unwanted for non-Real Fuels users and requires turning off AutoRCSUllaging. This may be enough to fix it but this could use other sanity checks elsewhere. Also, RCS ullaging should either * Check for Core.Attitude.RCS_auto = true or else don't enable RCS! * Put in code to turn RCS back off when ullaging is completed.
Reminds me of Autostaging issue #1658: changes were made, things went broke. |
Yes and yes. |
Never mind the log. I made new install with just MJ/MM and I didn't see what I was looking for. I could only partially replicate it though. It happened anytime I tried to throttle up but not when staging or using other autopilot functions. And enabling the auto RCS in attitude adjustment didn't turn RCS off reliably. I don't think that's related to this bug though. |
For me, it definitely happens using the Ascent Guidance and the Node Execution, other MJ functions I only use rarely. Enabling the Ascent Guidance, the RCS thrusters are becoming active immediately while the vessel is still on the launch pad. |
For me, it happens not only when you throttle up (manually), but also maybe one second ahead of firing the engine when executing a maneuver node. Maybe we can send our saved settings to you, it could be related ? |
It's the ship I tested with. While technically stageable, it didn't have multiple stages. That was why it didn't happen for me at first. |
Which totally makes sense, the problem is the forced RCS ullaging, imo. |
The pull request I made was merged in. Try the latest dev build. |
Nope, RCS is still enabled and impossible to deactivate when on the launchpad. RCS still enables itself around 1s before starting a maneuver node. |
I concur. |
#1876 should fix the node executor RCS issue but i didn't test. |
#1877 may fix the rest of it |
It is now possible to deactivate RCS while on the launchpad. However, it is still enabled by default, and still enables itself on its own when executing a maneuver burn. |
Do you somehow have "RCS Burn" checked in the maneuver planner? |
Nope. |
@lamont-grandquist @Starwaster any news ? |
That seems to finally work !! |
I didn't find any option to disable that in the ascent autopilot settings.
This is using my RCS reserves without asking for permission, kinda rude.
When I'm on the landing pad, the mod doesn't even allow me to deactivate RCS !
The text was updated successfully, but these errors were encountered: