Loading [MathJax]/extensions/tex2jax.js
Bayes Filters Library
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
d
e
f
l
m
q
r
s
t
u
Functions
Typedefs
Classes
Class List
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Related Functions
Files
File List
File Members
All
Functions
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Pages
src
BayesFilters
src
AdditiveStateModel.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
8
#include <
BayesFilters/AdditiveStateModel.h
>
9
10
using namespace
bfl
;
11
using namespace
Eigen;
12
13
14
void
AdditiveStateModel::motion
(
const
Ref<const MatrixXd>& cur_states, Ref<MatrixXd> mot_states)
15
{
16
propagate(cur_states, mot_states);
17
18
mot_states += getNoiseSample(mot_states.cols());
19
}
20
21
22
VectorDescription
AdditiveStateModel::getInputDescription
()
23
{
24
VectorDescription
input_description = getStateDescription();
25
input_description.
add_noise_components
(getNoiseCovarianceMatrix().rows());
26
27
return
input_description;
28
}
bfl
Port of boost::any for C++11 compilers.
Definition:
AdditiveMeasurementModel.h:13
AdditiveStateModel.h
bfl::AdditiveStateModel::motion
virtual void motion(const Eigen::Ref< const Eigen::MatrixXd > &cur_states, Eigen::Ref< Eigen::MatrixXd > mot_states) override
Definition:
AdditiveStateModel.cpp:14
bfl::AdditiveStateModel::getInputDescription
virtual VectorDescription getInputDescription()
Returns the vector description of the input to the state equation.
Definition:
AdditiveStateModel.cpp:22
bfl::VectorDescription::add_noise_components
void add_noise_components(const std::size_t &components)
Definition:
VectorDescription.cpp:85
bfl::VectorDescription
Definition:
VectorDescription.h:18
Generated by
1.8.17