Revert ACS Safe Mode Controller to FLP Design #466
@@ -60,7 +60,6 @@ void SafeCtrl::safeNonMekf(const double *magFieldB, const double *satRotRateB,
|
|||||||
const double *sunDirB, const double *sunDirRefB, double *magMomB,
|
const double *sunDirB, const double *sunDirRefB, double *magMomB,
|
||||||
double &errorAngle) {
|
double &errorAngle) {
|
||||||
// convert magFieldB from uT to T
|
// convert magFieldB from uT to T
|
||||||
double magFieldBT[3] = {0, 0, 0};
|
|
||||||
VectorOperations<double>::mulScalar(magFieldB, 1e-6, magFieldBT, 3);
|
VectorOperations<double>::mulScalar(magFieldB, 1e-6, magFieldBT, 3);
|
||||||
|
|
||||||
// calculate error angle between sunDirRef and sunDir
|
// calculate error angle between sunDirRef and sunDir
|
||||||
|
Reference in New Issue
Block a user