Fix inverted X-Axis for PTG Target #875
@ -59,6 +59,7 @@ void Guidance::targetQuatPtgTarget(timeval timeAbsolute, const double timeDelta,
|
|||||||
// this aligns with the camera, E- and S-band antennas
|
// this aligns with the camera, E- and S-band antennas
|
||||||
double xAxisIX[3] = {0, 0, 0};
|
double xAxisIX[3] = {0, 0, 0};
|
||||||
VectorOperations<double>::normalize(targetDirI, xAxisIX, 3);
|
VectorOperations<double>::normalize(targetDirI, xAxisIX, 3);
|
||||||
|
VectorOperations<double>::mulScalar(xAxisIX, -1, xAxisIX, 3);
|
||||||
|
|
||||||
// transform velocity into inertial frame
|
// transform velocity into inertial frame
|
||||||
double velSatI[3] = {0, 0, 0};
|
double velSatI[3] = {0, 0, 0};
|
||||||
|
Loading…
Reference in New Issue
Block a user