fixed shadowing
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Marius Eggert 2023-04-14 16:44:37 +02:00
parent 1e521f0575
commit 4e6b3ec9ed

View File

@ -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