mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-22 01:00:35 +08:00
Improve on flash memory usage
This commit is contained in:
committed by
Paul Riseborough
parent
459b76f9fd
commit
92ba618f57
+1
-1
@@ -243,7 +243,7 @@ void Ekf::fuseDrag()
|
||||
// apply covariance correction via P_new = (I -K*H)*P
|
||||
// first calculate expression for KHP
|
||||
// then calculate P - KHP
|
||||
matrix::SquareMatrix<float, _k_num_states> KHP {};
|
||||
matrix::SquareMatrix<float, _k_num_states> KHP;
|
||||
float KH[9];
|
||||
|
||||
for (unsigned row = 0; row < _k_num_states; row++) {
|
||||
|
||||
Reference in New Issue
Block a user