Bayes Filters Library
LinearMeasurementModel.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2019 Istituto Italiano di Tecnologia (IIT)
3  *
4  * This software may be modified and distributed under the terms of the
5  * BSD 3-Clause license. See the accompanying LICENSE file for details.
6  */
7 
8 #ifndef LINEARMEMEASUREMENTMODEL_H
9 #define LINEARMEMEASUREMENTMODEL_H
10 
12 
13 namespace bfl {
14  class LinearMeasurementModel;
15 }
16 
17 
22 {
23 public:
24  virtual ~LinearMeasurementModel() noexcept = default;
25 
26  virtual Eigen::MatrixXd getMeasurementMatrix() const = 0;
27 
28  virtual std::pair<bool, bfl::Data> predictedMeasure(const Eigen::Ref<const Eigen::MatrixXd>& cur_states) const override;
29 
30  virtual std::pair<bool, bfl::Data> innovation(const bfl::Data& predicted_measurements, const bfl::Data& measurements) const override;
31 };
32 
33 #endif /* LINEARMEMEASUREMENTMODEL_H */
bfl
Port of boost::any for C++11 compilers.
Definition: AdditiveMeasurementModel.h:13
bfl::AdditiveMeasurementModel
This class represent an additive measurement model f(x) + w, where x is a state vector and w is rando...
Definition: AdditiveMeasurementModel.h:21
bfl::LinearMeasurementModel::getMeasurementMatrix
virtual Eigen::MatrixXd getMeasurementMatrix() const =0
bfl::LinearMeasurementModel::~LinearMeasurementModel
virtual ~LinearMeasurementModel() noexcept=default
AdditiveMeasurementModel.h
bfl::any::any
The class any describes a type-safe container for single values of any type.
Definition: any.h:77
bfl::LinearMeasurementModel::predictedMeasure
virtual std::pair< bool, bfl::Data > predictedMeasure(const Eigen::Ref< const Eigen::MatrixXd > &cur_states) const override
Definition: LinearMeasurementModel.cpp:16
bfl::LinearMeasurementModel::innovation
virtual std::pair< bool, bfl::Data > innovation(const bfl::Data &predicted_measurements, const bfl::Data &measurements) const override
Definition: LinearMeasurementModel.cpp:24
bfl::LinearMeasurementModel
This class represent an linear measurement model Hx + w, where H is a time-variant measurement matrix...
Definition: LinearMeasurementModel.h:21