mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:03:34 +08:00
ekf2-mag: rework mag strength check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user