From 9861772c38fc87abf37e209c8876ae335c3a2f2b Mon Sep 17 00:00:00 2001 From: meggert Date: Thu, 13 Apr 2023 17:12:52 +0200 Subject: [PATCH] fixed copy pasta --- mission/controller/acs/control/SafeCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/controller/acs/control/SafeCtrl.cpp b/mission/controller/acs/control/SafeCtrl.cpp index 0b732556..544e5402 100644 --- a/mission/controller/acs/control/SafeCtrl.cpp +++ b/mission/controller/acs/control/SafeCtrl.cpp @@ -124,7 +124,7 @@ void SafeCtrl::calculateRotationalRateTorque(const double *sunDirB, const double // calculate torque for orthogonal rotational rate double orthoFactor[3][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}}; MatrixOperations::multiplyScalar(*inertiaMatrix, gainOrtho, *orthoFactor, 3, 3); - MatrixOperations::multiply(*orthoFactor, satRotRateOrthogonalB, cmdAlign, 3, 3, 1); + MatrixOperations::multiply(*orthoFactor, satRotRateOrthogonalB, cmdOrtho, 3, 3, 1); } void SafeCtrl::calculateAngleErrorTorque(const double *sunDirB, const double *sunDirRefB,