Fix inverted X-Axis for PTG Target #875

Merged
meggert merged 3 commits from fix-tgt-ptg into main 2024-03-06 13:33:08 +01:00
Showing only changes of commit 7e689c9f55 - Show all commits

View File

@ -59,6 +59,7 @@ void Guidance::targetQuatPtgTarget(timeval timeAbsolute, const double timeDelta,
// this aligns with the camera, E- and S-band antennas
double xAxisIX[3] = {0, 0, 0};
VectorOperations<double>::normalize(targetDirI, xAxisIX, 3);
VectorOperations<double>::mulScalar(xAxisIX, -1, xAxisIX, 3);
// transform velocity into inertial frame
double velSatI[3] = {0, 0, 0};