mirror of https://github.com/ArduPilot/ardupilot
AP_NavEKF3: Add missing covariance row reset
This commit is contained in:
parent
8527fd42d1
commit
5178f4a7d0
|
@ -1940,6 +1940,7 @@ void NavEKF3_core::ConstrainVariances()
|
|||
}
|
||||
// reset all delta velocity bias covariances
|
||||
zeroCols(P,13,15);
|
||||
zeroRows(P,13,15);
|
||||
// restore all delta velocity bias variances
|
||||
for (uint8_t i=0; i<=2; i++) {
|
||||
P[i+13][i+13] = delVelBiasVar[i];
|
||||
|
|
Loading…
Reference in New Issue