18 #ifndef _GAZEBO_GAUSSIAN_NOISE_MODEL_HH_ 19 #define _GAZEBO_GAUSSIAN_NOISE_MODEL_HH_ 32 class CompositorInstance;
37 class GaussianNoiseCompositorListener;
52 public:
virtual void Load(sdf::ElementPtr _sdf);
55 public:
virtual void Fini();
58 public:
double ApplyImpl(
double _in,
double _dt);
62 public:
double GetMean()
const;
66 public:
double GetStdDev()
const;
70 public:
double GetBias()
const;
74 public:
double GetDynamicBiasStdDev()
const;
78 public:
double GetDynamicBiasCorrelationTime()
const;
82 public:
void SetMean(
const double _mean);
86 public:
void SetStdDev(
const double _stddev);
90 public:
void SetDynamicBiasStdDev(
const double _stddev);
94 public:
void SetDynamicBiasCorrelationTime(
const double _stddev);
97 public:
virtual void Print(std::ostream &_out)
const;
100 private:
void SampleBias();
122 private:
double biasMean;
126 private:
double biasStdDev;
130 private:
double dynamicBiasStdDev;
134 private:
double dynamicBiasCorrTime;
148 public:
virtual void Load(sdf::ElementPtr _sdf);
151 public:
virtual void Fini();
157 public:
virtual void Print(std::ostream &_out)
const;
163 public: boost::shared_ptr<GaussianNoiseCompositorListener>
Forward declarations for the common classes.
Definition: Animation.hh:26
Definition: GaussianNoiseModel.hh:139
boost::shared_ptr< GaussianNoiseCompositorListener > gaussianNoiseCompositorListener
Gaussian noise compositor listener.
Definition: GaussianNoiseModel.hh:164
sensors
Definition: SensorManager.hh:36
bool quantized
True if the type is GAUSSIAN_QUANTIZED.
Definition: GaussianNoiseModel.hh:118
Definition: JointMaker.hh:39
double bias
If type starts with GAUSSIAN, the bias we'll add.
Definition: GaussianNoiseModel.hh:111
double precision
If type==GAUSSIAN_QUANTIZED, the precision to which the output signal is rounded. ...
Definition: GaussianNoiseModel.hh:115
Gaussian noise class.
Definition: GaussianNoiseModel.hh:43
double mean
If type starts with GAUSSIAN, the mean of the distribution from which we sample when adding noise...
Definition: GaussianNoiseModel.hh:104
double stdDev
If type starts with GAUSSIAN, the standard deviation of the distribution from which we sample when ad...
Definition: GaussianNoiseModel.hh:108
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:90
Ogre::CompositorInstance * gaussianNoiseInstance
Gaussian noise compositor.
Definition: GaussianNoiseModel.hh:160
Noise models for sensor output signals.
Definition: Noise.hh:55