Browse Source

AP_NavEKF: Reduce recovery time after a GPS fusion timeout

mission-4.1.18
Paul Riseborough 10 years ago committed by Randy Mackay
parent
commit
77d3798278
  1. 2
      libraries/AP_NavEKF/AP_NavEKF.cpp

2
libraries/AP_NavEKF/AP_NavEKF.cpp

@ -1988,6 +1988,8 @@ void NavEKF::FuseVelPosNED() @@ -1988,6 +1988,8 @@ void NavEKF::FuseVelPosNED()
decayGpsOffset();
// reset the position to the current GPS position which will include the glitch correction offset
ResetPosition();
// reset the velocity to the GPS velocity
ResetVelocity();
// don't fuse data on this time step
fusePosData = false;
}

Loading…
Cancel
Save