AP_NavEKF: fixed corrected del velocity to use both accels

This commit is contained in:
Andrew Tridgell 2015-06-17 11:59:38 +10:00
parent db4ac68f5e
commit c221959d5a

View File

@ -733,7 +733,7 @@ void NavEKF::UpdateFilter()
// sum delta angles and time used by covariance prediction
summedDelAng = summedDelAng + correctedDelAng;
summedDelVel = summedDelVel + correctedDelVel1;
summedDelVel = summedDelVel + correctedDelVel12;
dt += dtIMUactual;
// perform a covariance prediction if the total delta angle has exceeded the limit