AP_NavEKF3: Eliminate unnecessary function call
This commit is contained in:
parent
6ec69e6ed1
commit
4b3952bd15
@ -533,7 +533,7 @@ void NavEKF3_core::checkGyroCalStatus(void)
|
||||
{
|
||||
// check delta angle bias variances
|
||||
const float delAngBiasVarMax = sq(radians(0.15f * dtEkfAvg));
|
||||
if (effective_magCal() == MagCal::GSF_YAW) {
|
||||
if (effectiveMagCal == MagCal::GSF_YAW) {
|
||||
// rotate the variances into earth frame and evaluate horizontal terms only as yaw component is poorly observable without a compass
|
||||
// which can make this check fail
|
||||
Vector3f delAngBiasVarVec = Vector3f(P[10][10],P[11][11],P[12][12]);
|
||||
|
Loading…
Reference in New Issue
Block a user