#include <NoiseModel.hpp>
Public Member Functions | |
const vector & | calculateV () |
const vector & | calculateW () |
NoiseModel () | |
void | setNoiseParams (const vector &pn, const vector &mn) |
Private Types | |
typedef boost::shared_ptr < noise_generator > | ng_ptr |
typedef boost::variate_generator < boost::random_device &, boost::normal_distribution<> > | noise_generator |
Private Attributes | |
boost::array< ng_ptr, 6 > | ngV |
boost::array< ng_ptr, 6 > | ngW |
boost::random_device | rd |
vector | v |
vector | w |
The class incorporates the process and measurement noise used for the UUV simulation.
Definition at line 55 of file NoiseModel.hpp.
typedef boost::shared_ptr<noise_generator> labust::simulation::NoiseModel::ng_ptr [private] |
Definition at line 58 of file NoiseModel.hpp.
typedef boost::variate_generator<boost::random_device&, boost::normal_distribution<> > labust::simulation::NoiseModel::noise_generator [private] |
Definition at line 57 of file NoiseModel.hpp.
labust::simulation::NoiseModel::NoiseModel | ( | ) | [inline] |
Generic constructor initializes noise deviance to zero.
Definition at line 63 of file NoiseModel.hpp.
const vector& labust::simulation::NoiseModel::calculateV | ( | ) | [inline] |
The method returns the measurement noise vector.
Definition at line 100 of file NoiseModel.hpp.
const vector& labust::simulation::NoiseModel::calculateW | ( | ) | [inline] |
The method returns the process noise vector.
Definition at line 90 of file NoiseModel.hpp.
void labust::simulation::NoiseModel::setNoiseParams | ( | const vector & | pn, |
const vector & | mn | ||
) | [inline] |
Set the process and measurements noise parameters.
pn | Standard deviance of the process noise. |
mn | Standard deviance of the measurement noise. |
Definition at line 76 of file NoiseModel.hpp.
boost::array<ng_ptr,6> labust::simulation::NoiseModel::ngV [private] |
Definition at line 118 of file NoiseModel.hpp.
boost::array<ng_ptr,6> labust::simulation::NoiseModel::ngW [private] |
Gaussian distributions for noise.
Definition at line 118 of file NoiseModel.hpp.
boost::random_device labust::simulation::NoiseModel::rd [private] |
Stochastic noise generator.
Definition at line 114 of file NoiseModel.hpp.
vector labust::simulation::NoiseModel::v [private] |
Definition at line 110 of file NoiseModel.hpp.
vector labust::simulation::NoiseModel::w [private] |
The process and measurement noise vectors.
Definition at line 110 of file NoiseModel.hpp.