giuliodondi / kOS-Shuttle_OPS1

kOS ascent guidance script for the Space Shuttle in KSP Realism Overhaul
9 stars 3 forks source link

Error during ET Sep #18

Closed GlebKerman closed 1 hour ago

GlebKerman commented 4 days ago

During ET Sep, I get an error which also saturates the orbiter's RCS unknown_2024 07 03-14 51 unknown_2024 07 03-15 07

GlebKerman commented 4 days ago

Posted this in the Ops 3 repo by mistake, apologies for that one

giuliodondi commented 4 days ago

The reason the RCS is stuck is that the script commands the translation manoeuvre and then crashes before stopping it. The way to do it manually is to run 'SET SHIP:CONTROL:NEUTRALIZE TO TRUE.'

As to why it crashes in the first place, I'll have to investigate. It would be helpful to see the full message, if you coul take another screenshot but with the terminal window much bigger than that

GlebKerman commented 4 days ago

I'll try to but I have no idea how to reproduce the error, as far as I'm aware it happens at random

giuliodondi commented 4 days ago

well, how often does it appear? Have you tried updating the latest scripts?

I'd like to see the full message but what little I can read so far is already puzzling. First, the code lines in the terminal do not match the source code. Second, the program isn't even supposed to land in the block of code that does the function call to get_shuttle_res_left during the et sep loop.

GlebKerman commented 4 days ago

Hey, it tended to happen if I launched the shuttle after loading a quicksave or reverting to launch, I can't tell you if this was a factor in causing the error but just in case installed the latest version of the script and after 10+ launches (and reverts) it seems to have fixed itself as I have been unable to get the error to happen

giuliodondi commented 1 hour ago

I'm closing the issue since you reported nothing further. If the problem arises again, you can comment here and I'll re-open