enable Wshadow

This commit is contained in:
Daniel Agar
2016-05-04 19:45:40 -04:00
parent c6775b5bf2
commit 22d18d638c
4 changed files with 8 additions and 13 deletions
-2
View File
@@ -246,8 +246,6 @@ void Ekf::fuseVelPosHeight()
_state.quat_nominal.normalize();
// update covarinace matrix via Pnew = (I - KH)P
float KHP[_k_num_states][_k_num_states] = {};
for (unsigned row = 0; row < _k_num_states; row++) {
for (unsigned column = 0; column < _k_num_states; column++) {
KHP[row][column] = Kfusion[row] * P[state_index][column];