Go to the documentation of this file.
18 #ifndef GZ_SENSORS_GAUSSIANNOISEMODEL_HH_
19 #define GZ_SENSORS_GAUSSIANNOISEMODEL_HH_
23 #include "gz/sensors/config.hh"
24 #include "gz/sensors/Export.hh"
32 inline namespace IGNITION_SENSORS_VERSION_NAMESPACE {
35 class GaussianNoiseModelPrivate;
40 class IGNITION_SENSORS_VISIBLE GaussianNoiseModel :
public Noise
44 public: GaussianNoiseModel();
47 public:
virtual ~GaussianNoiseModel();
50 public:
virtual void Load(
const sdf::Noise &_sdf)
override;
53 public:
double ApplyImpl(
double _in,
double _dt)
override;
57 public:
double Mean()
const;
61 public:
double StdDev()
const;
65 public:
double Bias()
const;
68 public:
virtual void Print(
std::ostream &_out)
const override;
71 private: GaussianNoiseModelPrivate *dataPtr =
nullptr;
virtual void Print(std::ostream &_out) const override
Documentation inherited.
double ApplyImpl(double _in, double _dt) override
Apply noise to input data value. This gets overriden by derived classes, and called by Apply.
Definition: gz/sensors/AirPressureSensor.hh:31
virtual void Load(const sdf::Noise &_sdf) override
Load noise parameters from sdf.
double Mean() const
Accessor for mean.
virtual ~GaussianNoiseModel()
Destructor.
double Bias() const
Accessor for bias.
double StdDev() const
Accessor for stddev.
GaussianNoiseModel()
Constructor.