ekf2: remove sparse vector optimization

The sparse vector template requires to know which states are non-zero in
the observation jacobian. This complicates the modularity of the code
when the state vector or the derivation is changed.
The computation cost difference is almost negligible for this size.
This commit is contained in:
bresch
2023-10-02 10:12:53 -04:00
committed by Daniel Agar
parent abfd00aeb9
commit 10db6b6eda
4 changed files with 4 additions and 16 deletions
-3
View File
@@ -63,9 +63,6 @@ public:
typedef matrix::Vector<float, State::size> VectorState;
typedef matrix::SquareMatrix<float, State::size> SquareMatrixState;
typedef matrix::SquareMatrix<float, 2> Matrix2f;
template<int ... Idxs>
using SparseVectorState = matrix::SparseVectorf<State::size, Idxs...>;
Ekf()
{