Bayes Filters Library
MeasurementModel.cpp
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 
9 
10 #include <iostream>
11 
12 using namespace bfl;
13 using namespace Eigen;
14 
15 
16 std::pair<bool, MatrixXd> MeasurementModel::getNoiseCovarianceMatrix() const
17 {
18  throw std::runtime_error("ERROR::MEASUREMENTMODEL::GETNOISECOVARIANCEMATRIX\nERROR:\n\tMethod not implemented.");
19 }
20 
21 
22 bool MeasurementModel::setProperty(const std::string& property)
23 {
24  static_cast<void>(property);
25  return false;
26 }
27 
28 
29 
31 {
32  /* Not all measurement model have a vector-valued input. */
33  throw std::runtime_error("ERROR::MEASUREMENTMODEL::GETSTATEDESCRIPTION\nERROR:\n\tMethod not implemented.");
34 }
35 
36 
38 {
39  /* Not all measurement model have a vector-valued output. */
40  throw std::runtime_error("ERROR::MEASUREMENTMODEL::GETMEASUREMENTDESCRIPTION\nERROR:\n\tMethod not implemented.");
41 }
bfl::MeasurementModel::getNoiseCovarianceMatrix
virtual std::pair< bool, Eigen::MatrixXd > getNoiseCovarianceMatrix() const
Definition: MeasurementModel.cpp:16
MeasurementModel.h
bfl
Port of boost::any for C++11 compilers.
Definition: AdditiveMeasurementModel.h:13
bfl::MeasurementModel::getMeasurementDescription
virtual VectorDescription getMeasurementDescription() const
Definition: MeasurementModel.cpp:37
bfl::MeasurementModel::setProperty
virtual bool setProperty(const std::string &property)
Definition: MeasurementModel.cpp:22
bfl::MeasurementModel::getInputDescription
virtual VectorDescription getInputDescription() const
Definition: MeasurementModel.cpp:30
bfl::VectorDescription
Definition: VectorDescription.h:18