thank god we never needed this before
This commit is contained in:
parent
77ffc62236
commit
6bdafe62ad
@ -323,18 +323,18 @@ void AcsController::performDetumble() {
|
|||||||
if (acsParameters.safeModeControllerParameters.useMekf) {
|
if (acsParameters.safeModeControllerParameters.useMekf) {
|
||||||
if (mekfData.satRotRateMekf.isValid() and
|
if (mekfData.satRotRateMekf.isValid() and
|
||||||
VectorOperations<double>::norm(mekfData.satRotRateMekf.value, 3) <
|
VectorOperations<double>::norm(mekfData.satRotRateMekf.value, 3) <
|
||||||
acsParameters.detumbleParameter.omegaDetumbleStart) {
|
acsParameters.detumbleParameter.omegaDetumbleEnd) {
|
||||||
detumbleCounter++;
|
detumbleCounter++;
|
||||||
}
|
}
|
||||||
} else if (acsParameters.safeModeControllerParameters.useGyr) {
|
} else if (acsParameters.safeModeControllerParameters.useGyr) {
|
||||||
if (gyrDataProcessed.gyrVecTot.isValid() and
|
if (gyrDataProcessed.gyrVecTot.isValid() and
|
||||||
VectorOperations<double>::norm(gyrDataProcessed.gyrVecTot.value, 3) <
|
VectorOperations<double>::norm(gyrDataProcessed.gyrVecTot.value, 3) <
|
||||||
acsParameters.detumbleParameter.omegaDetumbleStart) {
|
acsParameters.detumbleParameter.omegaDetumbleEnd) {
|
||||||
detumbleCounter++;
|
detumbleCounter++;
|
||||||
}
|
}
|
||||||
} else if (fusedRotRateData.rotRateTotal.isValid() and
|
} else if (fusedRotRateData.rotRateTotal.isValid() and
|
||||||
VectorOperations<double>::norm(fusedRotRateData.rotRateTotal.value, 3) <
|
VectorOperations<double>::norm(fusedRotRateData.rotRateTotal.value, 3) <
|
||||||
acsParameters.detumbleParameter.omegaDetumbleStart) {
|
acsParameters.detumbleParameter.omegaDetumbleEnd) {
|
||||||
detumbleCounter++;
|
detumbleCounter++;
|
||||||
} else if (detumbleCounter > 0) {
|
} else if (detumbleCounter > 0) {
|
||||||
detumbleCounter -= 1;
|
detumbleCounter -= 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user