From 2364f7d5d9713dc9ce8d0466c72b080dfc024d99 Mon Sep 17 00:00:00 2001 From: meggert Date: Tue, 5 Mar 2024 17:35:06 +0100 Subject: [PATCH 1/2] fix of the century --- mission/controller/acs/MultiplicativeKalmanFilter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mission/controller/acs/MultiplicativeKalmanFilter.cpp b/mission/controller/acs/MultiplicativeKalmanFilter.cpp index c6431aa2..5dce2a84 100644 --- a/mission/controller/acs/MultiplicativeKalmanFilter.cpp +++ b/mission/controller/acs/MultiplicativeKalmanFilter.cpp @@ -342,7 +342,7 @@ ReturnValue_t MultiplicativeKalmanFilter::kfGain( double *measSensMatrix, double *measCovMatrix, double *kalmanGain, acsctrl::AttitudeEstimationData *attitudeEstimationData) { // Kalman Gain: K = P * H' / (H * P * H' + R) - double kalmanGainDen[6][matrixDimensionFactor] = {{0}}, + double kalmanGainDen[matrixDimensionFactor][matrixDimensionFactor] = {{0}}, invKalmanGainDen[matrixDimensionFactor][matrixDimensionFactor] = {{0}}, residualCov[6][matrixDimensionFactor] = {{0}}, measSensMatrixTransposed[6][matrixDimensionFactor] = {{0}}; From e052470cf478abcc3849f3053a15eaca6da2fc4a Mon Sep 17 00:00:00 2001 From: meggert Date: Wed, 6 Mar 2024 09:08:31 +0100 Subject: [PATCH 2/2] changelog --- CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 47237e1a..009ab806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,11 @@ will consitute of a breaking change warranting a new major release: # [unreleased] +## Fixed + +- Fixed wrong dimension of a matrix within the `MEKF`, which would lead to a seg fault, if the + star tracker was available. + # [v7.7.0] 2024-02-29 - Bumped `eive-tmtc` to v6.1.0