Improve on flash memory usage

This commit is contained in:
kamilritz
2019-12-09 08:49:33 +01:00
committed by Paul Riseborough
parent 459b76f9fd
commit 92ba618f57
13 changed files with 75 additions and 68 deletions
+1 -1
View File
@@ -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++) {