Merge pull request 'Improve GS PTG' (#876) from gs-ptr-improv into main
EIVE/eive-obsw/pipeline/head This commit looks good Details

Reviewed-on: #876
Reviewed-by: Robin Müller <muellerr@irs.uni-stuttgart.de>
This commit is contained in:
Marius Eggert 2024-03-18 11:04:01 +01:00
commit f9f5ba5d46
3 changed files with 10 additions and 1 deletions

View File

@ -16,10 +16,17 @@ will consitute of a breaking change warranting a new major release:
# [unreleased]
- Bumped `eive-fsfw`
## Added
- Added parameter to disable STR input for MEKF.
## Fixed
- Added prevention of sign jump for target quaternion of GS pointing, which would reduce the
performance of the controller.
# [v7.7.2] 2024-03-06
## Fixed

2
fsfw

@ -1 +1 @@
Subproject commit 47b21caf5fa2a27c7ace89f960141b3f24c329ee
Subproject commit 43ea29cb845d4a7d190c87df490eb53c4992618b

View File

@ -244,6 +244,8 @@ void Guidance::limitReferenceRotation(const double xAxisIX[3], double quatIX[4])
return;
}
QuaternionOperations::preventSignJump(quatIX, quatIXprev);
// check required rotation and return if below limit
double quatXprevX[4] = {0, 0, 0, 0}, quatXprevI[4] = {0, 0, 0, 0};
QuaternionOperations::inverse(quatIXprev, quatXprevI);