Fix no Sensors for Control FDIR #858

Merged
muellerr merged 7 commits from fix-no-sensors-fdir into main 2024-02-14 10:45:51 +01:00
Showing only changes of commit 6cbd873a97 - Show all commits

View File

@ -357,7 +357,8 @@ void AcsController::performPointingCtrl() {
ptgCtrlStrat == acs::ControlModeStrategy::CTRL_NO_SENSORS_FOR_CONTROL) {
ptgCtrlLostCounter++;
if (ptgCtrlLostCounter > acsParameters.onBoardParams.ptgCtrlLostTimer) {
triggerEvent(acs::PTG_CTRL_NO_ATTITUDE_INFORMATION);
EventManagerIF::triggerEvent(objects::STAR_TRACKER, acs::PTG_CTRL_NO_ATTITUDE_INFORMATION, 0,
0);
ptgCtrlLostCounter = 0;
}
guidance.resetValues();