25 #ifndef INCLUDED_ConstantProcess_h_GUID_1F5DA279_772D_42B2_9D5A_FC7890DD4C16
26 #define INCLUDED_ConstantProcess_h_GUID_1F5DA279_772D_42B2_9D5A_FC7890DD4C16
47 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
52 void predictState(State &state,
double dt) {
62 StateSquareMatrix Pminus =
63 state.errorCovariance() + dt * m_constantNoise;
64 state.setErrorCovariance(Pminus);
66 void setNoiseAutocorrelation(
double noise) {
67 m_constantNoise = StateVector::Constant(noise).asDiagonal();
70 void setNoiseAutocorrelation(StateVector
const &noise) {
71 m_constantNoise = noise.asDiagonal;
75 StateSquareMatrix m_constantNoise;
80 #endif // INCLUDED_ConstantProcess_h_GUID_1F5DA279_772D_42B2_9D5A_FC7890DD4C16
typename FilterType::State StateType
Given a filter type, get the state type.
The main namespace for all C++ elements of the framework, internal and external.
Vector< Dimension< T >::value > DimVector
A vector of length = dimension of T.
SquareMatrix< Dimension< T >::value > DimSquareMatrix
A square matrix, n x n, where n is the dimension of T.