This commit is contained in:
parent
ce59e66c05
commit
5b84808d7c
@ -180,9 +180,11 @@ void AcsController::performSafe() {
|
|||||||
safeCtrlFailureCounter++;
|
safeCtrlFailureCounter++;
|
||||||
if (safeCtrlFailureCounter > 50) {
|
if (safeCtrlFailureCounter > 50) {
|
||||||
safeCtrlFailureFlag = false;
|
safeCtrlFailureFlag = false;
|
||||||
|
safeCtrlFailureCounter = 0;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
safeCtrlFailureFlag = false;
|
safeCtrlFailureFlag = false;
|
||||||
|
safeCtrlFailureCounter = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
actuatorCmd.cmdDipolMtq(magMomMtq, cmdDipolMtqs,
|
actuatorCmd.cmdDipolMtq(magMomMtq, cmdDipolMtqs,
|
||||||
|
Loading…
Reference in New Issue
Block a user