mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 03:43:33 +08:00
Increase matrix library usage even more
This commit is contained in:
committed by
Mathieu Bresciani
parent
630be60930
commit
4a69b41015
@@ -261,11 +261,7 @@ void Ekf::fuseGpsAntYaw()
|
||||
if (healthy) {
|
||||
_time_last_gps_yaw_fuse = _time_last_imu;
|
||||
// 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