prevent sign jump
EIVE/eive-obsw/pipeline/head Build started...
Details
EIVE/eive-obsw/pipeline/head Build started...
Details
This commit is contained in:
parent
ad5282ca4a
commit
346f4ff9de
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue