isnt finished
This commit is contained in:
parent
d8ae45b352
commit
ef730022a0
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user