Browse Source

AP_NavEKF3: Remove unwanted line

zr-v5.1
Paul Riseborough 4 years ago committed by Randy Mackay
parent
commit
b0763f04f1
  1. 1
      libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp

1
libraries/AP_NavEKF3/AP_NavEKF3_PosVelFusion.cpp

@ -711,7 +711,6 @@ void NavEKF3_core::FuseVelPosNED() @@ -711,7 +711,6 @@ void NavEKF3_core::FuseVelPosNED()
// Always fuse data if bad IMU to prevent aliasing and clipping pulling the state estimate away
// from the measurement un-opposed if test threshold is exceeded.
if (posCheckPassed || posTimeout || badIMUdata) {
posCheckPassed = true;
lastPosPassTime_ms = imuSampleTime_ms;
// if timed out or outside the specified uncertainty radius, reset to the external sensor
if (posTimeout || ((P[8][8] + P[7][7]) > sq(float(frontend->_gpsGlitchRadiusMax)))) {

Loading…
Cancel
Save