state-observation 1.7.0
General implementation of observers.
Loading...
Searching...
No Matches
gaussian-white-noise.hpp
Go to the documentation of this file.
1
10
11#ifndef SENSORSIMULATIONGAUSSIANWHITENOISEHPP
12#define SENSORSIMULATIONGAUSSIANWHITENOISEHPP
13
14#include <state-observation/api.h>
16
17namespace stateObservation
18{
19
28
29class STATE_OBSERVATION_DLLAPI GaussianWhiteNoise : public NoiseBase
30{
31public:
34
36 GaussianWhiteNoise(Index dimension);
37
40
43 virtual Vector getNoisy(const Vector &);
44
47 virtual void setStandardDeviation(const Matrix & std);
48
52 virtual void setCovarianceMatrix(const Matrix & cov);
53
55 virtual void setBias(const Vector & bias);
56
58 virtual void setDimension(Index dim_);
59
61 virtual Index getDimension() const;
62
65 void setSumFunction(void (*sum)(const Vector & stateVector, const Vector & tangentVector, Vector & result));
66
67protected:
68 virtual void checkMatrix_(const Matrix & m) const;
69
70 virtual void checkVector_(const Vector & v) const;
71
72 Index dim_;
73
74 Matrix std_;
75
76 Vector bias_;
77
78 Vector noisy_;
79
80 void (*sum_)(const Vector & stateVector, const Vector & tangentVector, Vector & result);
81};
82
83} // namespace stateObservation
84
85#endif // SENSORSIMULATIONGAUSSIANWHITENOISEHPP
virtual Vector getNoisy(const Vector &)
virtual void setStandardDeviation(const Matrix &std)
void setSumFunction(void(*sum)(const Vector &stateVector, const Vector &tangentVector, Vector &result))
virtual void setBias(const Vector &bias)
sets the bias of the white noise
virtual ~GaussianWhiteNoise()
Virtual destructor.
virtual void setDimension(Index dim_)
sets the dimension of the noise vector
virtual void setCovarianceMatrix(const Matrix &cov)
GaussianWhiteNoise()
The default constructor.
virtual Index getDimension() const
Gets the dimension of the noise vector.
GaussianWhiteNoise(Index dimension)
The constructor that provides the dimension of the noise vector.
Filtering of divergent component of motion (DCM) and estimation of a bias betweeen the DCM and the co...
Eigen::MatrixXd Matrix
Dynamic sized Matrix.
Eigen::VectorXd Vector
Dynamic sized scalar vector.