Improve GS PTG #876

Merged
meggert merged 5 commits from gs-ptr-improv into main 2024-03-18 11:04:02 +01:00
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] # [unreleased]
- Bumped `eive-fsfw`
## Added ## Added
- Added parameter to disable STR input for MEKF. - 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 # [v7.7.2] 2024-03-06
## Fixed ## 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; return;
} }
QuaternionOperations::preventSignJump(quatIX, quatIXprev);
// check required rotation and return if below limit // check required rotation and return if below limit
double quatXprevX[4] = {0, 0, 0, 0}, quatXprevI[4] = {0, 0, 0, 0}; double quatXprevX[4] = {0, 0, 0, 0}, quatXprevI[4] = {0, 0, 0, 0};
QuaternionOperations::inverse(quatIXprev, quatXprevI); QuaternionOperations::inverse(quatIXprev, quatXprevI);