From f736489430a24ecc51a73cc1e8cb2cc94b202361 Mon Sep 17 00:00:00 2001 From: meggert Date: Fri, 21 Jul 2023 11:10:09 +0200 Subject: [PATCH] bugfix --- mission/controller/acs/FusedRotationEstimation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/controller/acs/FusedRotationEstimation.cpp b/mission/controller/acs/FusedRotationEstimation.cpp index aa801494..20f12d05 100644 --- a/mission/controller/acs/FusedRotationEstimation.cpp +++ b/mission/controller/acs/FusedRotationEstimation.cpp @@ -51,7 +51,7 @@ void FusedRotationEstimation::estimateFusedRotationRateSafe( susDataProcessed->susVecTot.value, fusedRotRateOrthogonal); VectorOperations::mulScalar( fusedRotRateOrthogonal, - pow(VectorOperations::norm(susDataProcessed->susVecTot.value, 2), 2), + pow(VectorOperations::norm(susDataProcessed->susVecTot.value, 3), -2), fusedRotRateOrthogonal, 3); // calculate total rotation rate