11 using namespace Eigen;
15 state_model_(std::move(state_model))
21 state_model_(std::move(prediction.state_model_))
27 if (
this == &prediction)
32 state_model_ = std::move(prediction.state_model_);
46 if (getStateModel().is_skipping())
48 pred_state = prev_state;
55 getStateModel().propagate(prev_state.
mean(), pred_state.
mean());
59 MatrixXd F = state_model_->getStateTransitionMatrix();
61 for (
size_t i=0; i < prev_state.
components; i++)
62 pred_state.
covariance(i).noalias() = F * prev_state.
covariance(i) * F.transpose() + state_model_->getNoiseCovarianceMatrix();