ekf2-mag: rework mag strength check

This commit is contained in:
bresch
2023-07-24 10:16:37 -04:00
committed by Daniel Agar
parent e878d0c0ef
commit e4a16bfc80
7 changed files with 80 additions and 25 deletions
@@ -212,7 +212,8 @@ void EkfWrapper::setMagFuseTypeNone()
void EkfWrapper::enableMagStrengthCheck()
{
_ekf_params->check_mag_strength = 1;
_ekf_params->mag_check |= static_cast<int32_t>(MagCheckMask::STRENGTH);
}
}
bool EkfWrapper::isWindVelocityEstimated() const