36 #ifndef INCLUDE_NRT_PROBABILISTIC_BAYESFILTERS_UKF_H
37 #define INCLUDE_NRT_PROBABILISTIC_BAYESFILTERS_UKF_H
43 #include <Eigen/Cholesky>
124 template <
class StateDefinitionType,
class ObservationDefinitionType,
class FilterModel>
128 const static size_t itsNS = StateDefinitionType::num_fields;
129 const static size_t itsNO = ObservationDefinitionType::num_fields;
134 Eigen::Matrix<double, itsNS, itsNS>
const & predictionCovariance,
135 double alpha = 1e-3,
double k = 0,
double beta = 2.0);
150 void predict(
typename FilterModel::ControlType
const & control =
typename FilterModel::ControlType());
164 typedef typename FilterModel::ControlType ControlType;
166 std::vector<Eigen::Matrix<double, itsNS, 1>> generateSigmaPoints();
170 std::vector<double> itsWm;
171 std::vector<double> itsWc;
172 Eigen::Matrix<double, itsNS, itsNS> itsR;
178 #endif // INCLUDE_NRT_PROBABILISTIC_BAYESFILTERS_UKF_H