isnt finished
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Marius Eggert 2024-01-19 15:18:15 +01:00
parent d8ae45b352
commit ef730022a0

View File

@ -181,7 +181,8 @@ void AcsController::performAttitudeControl() {
if (not submode == acs::SafeSubmode::DETUMBLE) {
if (acsParameters.safeModeControllerParameters.useMekf) {
if (mgmDataProcessed.mgmVecTotDerivative.isValid() and
VectorOperations<double>::norm(mgmDataProcessed.mgmVecTotDerivative.value, 3) >
VectorOperations<double>::norm(mgmDataProcessed.mgmVecTotDerivative.value,
3) > // units do not agree
acsParameters.detumbleParameter.omegaDetumbleStart) {
detumbleCounter++;
}
@ -192,7 +193,7 @@ void AcsController::performAttitudeControl() {
detumbleCounter = 0;
// Triggers detumble mode transition in subsystem
triggerEvent(acs::SAFE_RATE_VIOLATION);
startTransition(mode, acs::SafeSubmode::DETUMBLE);
startTransition(mode, acs::SafeSubmode::DETUMBLE); // this does not work
}
}