Merge pull request 'Fix Dimension Error in MEKF' (#873) from fix-mekf-dim into main
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/head This commit looks good
Reviewed-on: #873 Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
This commit is contained in:
commit
be0bae58ac
@ -16,6 +16,11 @@ will consitute of a breaking change warranting a new major release:
|
|||||||
|
|
||||||
# [unreleased]
|
# [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
|
# [v7.7.0] 2024-02-29
|
||||||
|
|
||||||
- Bumped `eive-tmtc` to v6.1.0
|
- Bumped `eive-tmtc` to v6.1.0
|
||||||
|
@ -342,7 +342,7 @@ ReturnValue_t MultiplicativeKalmanFilter::kfGain(
|
|||||||
double *measSensMatrix, double *measCovMatrix, double *kalmanGain,
|
double *measSensMatrix, double *measCovMatrix, double *kalmanGain,
|
||||||
acsctrl::AttitudeEstimationData *attitudeEstimationData) {
|
acsctrl::AttitudeEstimationData *attitudeEstimationData) {
|
||||||
// Kalman Gain: K = P * H' / (H * P * H' + R)
|
// Kalman Gain: K = P * H' / (H * P * H' + R)
|
||||||
double kalmanGainDen[6][matrixDimensionFactor] = {{0}},
|
double kalmanGainDen[matrixDimensionFactor][matrixDimensionFactor] = {{0}},
|
||||||
invKalmanGainDen[matrixDimensionFactor][matrixDimensionFactor] = {{0}},
|
invKalmanGainDen[matrixDimensionFactor][matrixDimensionFactor] = {{0}},
|
||||||
residualCov[6][matrixDimensionFactor] = {{0}},
|
residualCov[6][matrixDimensionFactor] = {{0}},
|
||||||
measSensMatrixTransposed[6][matrixDimensionFactor] = {{0}};
|
measSensMatrixTransposed[6][matrixDimensionFactor] = {{0}};
|
||||||
|
Loading…
Reference in New Issue
Block a user