fancy GPS fdir #562

Merged
muellerr merged 3 commits from fancy_gps_fdir into develop 2023-04-04 18:02:55 +02:00
Showing only changes of commit 1d82977ca2 - Show all commits

View File

@ -295,17 +295,13 @@ ReturnValue_t AcsBoardAssembly::checkAndHandleHealthStates(Mode_t deviceMode,
overwriteDeviceHealth(helper.healthDevGps1, overwriteDeviceHealth(helper.healthDevGps1,
healthHelper.healthTable->getHealth(helper.healthDevGps1)); healthHelper.healthTable->getHealth(helper.healthDevGps1));
} }
if (healthHelper.healthTable->getHealth(helper.healthDevGps0) == FAULTY and
healthHelper.healthTable->getHealth(helper.healthDevGps1) == FAULTY) { if (deviceSubmode == duallane::DUAL_MODE) {
overwriteDeviceHealth(helper.healthDevGps0, FAULTY); checkAcsBoardSensorGroup(helper.mgm0Lis3IdSideA, helper.mgm1Rm3100IdSideA,
overwriteDeviceHealth(helper.healthDevGps1, FAULTY); helper.mgm2Lis3IdSideB, helper.mgm3Rm3100IdSideB);
} else if () checkAcsBoardSensorGroup(helper.gyro0AdisIdSideA, helper.gyro1L3gIdSideA,
if (deviceSubmode == duallane::DUAL_MODE) { helper.gyro2AdisIdSideB, helper.gyro3L3gIdSideB);
checkAcsBoardSensorGroup(helper.mgm0Lis3IdSideA, helper.mgm1Rm3100IdSideA, }
helper.mgm2Lis3IdSideB, helper.mgm3Rm3100IdSideB);
checkAcsBoardSensorGroup(helper.gyro0AdisIdSideA, helper.gyro1L3gIdSideA,
helper.gyro2AdisIdSideB, helper.gyro3L3gIdSideB);
}
return status; return status;
} }