fixed shadowing
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
1e521f0575
commit
4e6b3ec9ed
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user