diff --git a/mission/controller/acs/AttitudeEstimation.cpp b/mission/controller/acs/AttitudeEstimation.cpp index 5e07642f..cf55a31e 100644 --- a/mission/controller/acs/AttitudeEstimation.cpp +++ b/mission/controller/acs/AttitudeEstimation.cpp @@ -10,7 +10,7 @@ void AttitudeEstimation::quest(acsctrl::SusDataProcessed *susData, acsctrl::MgmDataProcessed *mgmData, acsctrl::AttitudeEstimationData *attitudeEstimation) { if (not(susData->susVecTot.isValid() and susData->sunIjkModel.isValid() and - mgmData->mgmVecTot.value and mgmData->magIgrfModel.isValid())) { + mgmData->mgmVecTot.isValid() and mgmData->magIgrfModel.isValid())) { { PoolReadGuard pg{attitudeEstimation}; if (pg.getReadResult() == returnvalue::OK) {