Go to the documentation of this file.
8 #ifndef MEASUREMENTMODEL_H
9 #define MEASUREMENTMODEL_H
19 #include <Eigen/Dense>
22 class MeasurementModel;
36 virtual std::pair<bool, Data>
measure(
const Data& data =
Data())
const = 0;
38 virtual std::pair<bool, Data>
predictedMeasure(
const Eigen::Ref<const Eigen::MatrixXd>& cur_states)
const = 0;
40 virtual std::pair<bool, Data>
innovation(
const Data& predicted_measurements,
const Data& measurements)
const = 0;
44 virtual bool setProperty(
const std::string& property);
virtual std::pair< bool, Eigen::MatrixXd > getNoiseCovarianceMatrix() const
virtual std::pair< bool, Data > predictedMeasure(const Eigen::Ref< const Eigen::MatrixXd > &cur_states) const =0
virtual bool freeze(const Data &data=Data())=0
Port of boost::any for C++11 compilers.
virtual std::pair< bool, Data > innovation(const Data &predicted_measurements, const Data &measurements) const =0
virtual VectorDescription getMeasurementDescription() const
virtual bool setProperty(const std::string &property)
virtual VectorDescription getInputDescription() const
This class represent a generic measurement model f(x, w), where x is a state vector and w is random n...
virtual ~MeasurementModel() noexcept=default
The class any describes a type-safe container for single values of any type.
virtual std::pair< bool, Data > measure(const Data &data=Data()) const =0