mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 07:43:33 +08:00
Increase matrix library usage even more
This commit is contained in:
committed by
Mathieu Bresciani
parent
630be60930
commit
4a69b41015
@@ -263,11 +263,7 @@ void Ekf::fuseSideslip()
|
||||
// only apply covariance and state corrections if healthy
|
||||
if (healthy) {
|
||||
// apply the covariance corrections
|
||||
for (unsigned row = 0; row < _k_num_states; row++) {
|
||||
for (unsigned column = 0; column < _k_num_states; column++) {
|
||||
P(row,column) = P(row,column) - KHP(row,column);
|
||||
}
|
||||
}
|
||||
P -= KHP;
|
||||
|
||||
// correct the covariance matrix for gross errors
|
||||
fixCovarianceErrors(true);
|
||||
|
||||
Reference in New Issue
Block a user