ACS Safe Ctrl Failure Event #484

Merged
muellerr merged 12 commits from acs-safe-mode-failure into develop 2023-03-15 16:27:43 +01:00
Showing only changes of commit e77766ae59 - Show all commits

View File

@ -271,6 +271,9 @@ void AcsController::performPointingCtrl() {
triggerEvent(acs::MEKF_INVALID_INFO);
mekfInvalidFlag = true;
}
if (result == MultiplicativeKalmanFilter::MEKF_NOT_FINITE) {
navigation.resetMekf(&mekfData);
}
if (mekfInvalidCounter == 5) {
// Trigger this so STR FDIR can set the device faulty.
EventManagerIF::triggerEvent(objects::STAR_TRACKER, acs::MEKF_INVALID_MODE_VIOLATION, 0, 0);