reworked multiple rw failure handling
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...

This commit is contained in:
2023-06-05 09:43:31 +02:00
parent 939eeb09ec
commit a5f9bb3177
3 changed files with 7 additions and 1 deletions

View File

@ -349,7 +349,8 @@ void AcsController::performPointingCtrl() {
double rwPseudoInv[4][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}, {0, 0, 0}};
result = guidance.getDistributionMatrixRw(&sensorValues, *rwPseudoInv);
if (result == returnvalue::FAILED) {
if (multipleRwUnavailableCounter == 5) {
if (multipleRwUnavailableCounter >=
acsParameters.rwHandlingParameters.multipleRwInvalidTimeout) {
triggerEvent(acs::MULTIPLE_RW_INVALID);
}
multipleRwUnavailableCounter++;