Browse Source

Replace float with Type in kalman.

master
James Goppert 9 years ago
parent
commit
cbb7e06a1f
  1. 2
      matrix/filter.hpp

2
matrix/filter.hpp

@ -12,7 +12,7 @@ int kalman_correct( @@ -12,7 +12,7 @@ int kalman_correct(
const Matrix<Type, N, 1> &r,
Matrix<Type, M, 1> & dx,
Matrix<Type, M, M> & dP,
float & beta
Type & beta
)
{
SquareMatrix<Type, N> S_I = SquareMatrix<Type, N>(C*P*C.T() + R).I();

Loading…
Cancel
Save