This commit is contained in:
parent
efd17a971f
commit
dbb5d6d359
@ -62,9 +62,9 @@ void PtgCtrl::ptgLaw(AcsParameters::PointingLawParameters *pointingLawParameters
|
|||||||
|
|
||||||
// Inverse of gainMatrix
|
// Inverse of gainMatrix
|
||||||
double gainMatrixInverse[3][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}};
|
double gainMatrixInverse[3][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}};
|
||||||
gainMatrixInverse[0][0] = 1 / gainMatrix[0][0];
|
gainMatrixInverse[0][0] = 1. / gainMatrix[0][0];
|
||||||
gainMatrixInverse[1][1] = 1 / gainMatrix[1][1];
|
gainMatrixInverse[1][1] = 1. / gainMatrix[1][1];
|
||||||
gainMatrixInverse[2][2] = 1 / gainMatrix[2][2];
|
gainMatrixInverse[2][2] = 1. / gainMatrix[2][2];
|
||||||
|
|
||||||
double pMatrix[3][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}};
|
double pMatrix[3][3] = {{0, 0, 0}, {0, 0, 0}, {0, 0, 0}};
|
||||||
MatrixOperations<double>::multiply(
|
MatrixOperations<double>::multiply(
|
||||||
|
Loading…
Reference in New Issue
Block a user