diff --git a/CHANGELOG.md b/CHANGELOG.md index 29bea1bd..5204c945 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,10 @@ will consitute of a breaking change warranting a new major release: - Increased the maximum number of scheduled telecommands from 500 to 4000. Merry Christmas! +## Fixed + +- Faulty mapping of input values for QUEST algorithm. + # [v7.5.0] 2023-12-06 - `eive-tmtc` v5.12.0 diff --git a/fsfw b/fsfw index 48bcce65..e64e8b27 160000 --- a/fsfw +++ b/fsfw @@ -1 +1 @@ -Subproject commit 48bcce65b19f134658cdd9921069bfc0bf953e28 +Subproject commit e64e8b274d436502d5c5b87865b9006e52e4b1aa diff --git a/mission/controller/acs/AttitudeEstimation.cpp b/mission/controller/acs/AttitudeEstimation.cpp index e287b22f..5e07642f 100644 --- a/mission/controller/acs/AttitudeEstimation.cpp +++ b/mission/controller/acs/AttitudeEstimation.cpp @@ -24,10 +24,10 @@ void AttitudeEstimation::quest(acsctrl::SusDataProcessed *susData, // Normalize Data double normMgmB[3] = {0, 0, 0}, normMgmI[3] = {0, 0, 0}, normSusB[3] = {0, 0, 0}, normSusI[3] = {0, 0, 0}; - VectorOperations::normalize(susData->susVecTot.value, normMgmB, 3); - VectorOperations::normalize(susData->sunIjkModel.value, normMgmI, 3); - VectorOperations::normalize(mgmData->mgmVecTot.value, normSusB, 3); - VectorOperations::normalize(mgmData->magIgrfModel.value, normSusI, 3); + VectorOperations::normalize(susData->susVecTot.value, normSusB, 3); + VectorOperations::normalize(susData->sunIjkModel.value, normSusI, 3); + VectorOperations::normalize(mgmData->mgmVecTot.value, normMgmB, 3); + VectorOperations::normalize(mgmData->magIgrfModel.value, normMgmI, 3); // Create Helper Vectors double normHelperB[3] = {0, 0, 0}, normHelperI[3] = {0, 0, 0}, helperCross[3] = {0, 0, 0}, diff --git a/tmtc b/tmtc index f63a834d..4c54aa75 160000 --- a/tmtc +++ b/tmtc @@ -1 +1 @@ -Subproject commit f63a834d9acd4506f0dbd7f8e63007f17c063c1d +Subproject commit 4c54aa75865974c6026828a98f0523ed1074a8cc