#include <GaussianNoiseModel.hh>
Public Member Functions | |
ImageGaussianNoiseModel () | |
Constructor. More... | |
virtual | ~ImageGaussianNoiseModel () |
Destructor. More... | |
virtual void | Fini () |
Finalize the noise model. More... | |
virtual void | Load (sdf::ElementPtr _sdf) |
Load noise parameters from sdf. More... | |
virtual void | SetCamera (rendering::CameraPtr _camera) |
Set camera needed to create image noise. More... | |
Public Member Functions inherited from gazebo::sensors::GaussianNoiseModel | |
GaussianNoiseModel () | |
Constructor. More... | |
virtual | ~GaussianNoiseModel () |
Destructor. More... | |
double | ApplyImpl (double _in) |
Apply noise to input data value. More... | |
double | GetBias () const |
Accessor for bias. More... | |
double | GetMean () const |
Accessor for mean. More... | |
double | GetStdDev () const |
Accessor for stddev. More... | |
Public Member Functions inherited from gazebo::sensors::Noise | |
Noise (NoiseType _type) | |
Constructor. More... | |
virtual | ~Noise () |
Destructor. More... | |
double | Apply (double _in) |
Apply noise to input data value. More... | |
NoiseType | GetNoiseType () const |
Accessor for NoiseType. More... | |
virtual void | SetCustomNoiseCallback (boost::function< double(double)> _cb) |
Register a custom noise callback. More... | |
Public Attributes | |
boost::shared_ptr < GaussianNoiseCompositorListener > | gaussianNoiseCompositorListener |
Gaussian noise compositor listener. More... | |
Ogre::CompositorInstance * | gaussianNoiseInstance |
Gaussian noise compositor. More... | |
Additional Inherited Members | |
Public Types inherited from gazebo::sensors::Noise | |
enum | NoiseType { NONE, CUSTOM, GAUSSIAN } |
Which noise types we support. More... | |
Protected Attributes inherited from gazebo::sensors::GaussianNoiseModel | |
double | bias |
If type starts with GAUSSIAN, the bias we'll add. More... | |
double | mean |
If type starts with GAUSSIAN, the mean of the distribution from which we sample when adding noise. More... | |
double | precision |
If type==GAUSSIAN_QUANTIZED, the precision to which the output signal is rounded. More... | |
bool | quantized |
True if the type is GAUSSIAN_QUANTIZED. More... | |
double | stdDev |
If type starts with GAUSSIAN, the standard deviation of the distribution from which we sample when adding noise. More... | |
gazebo::sensors::ImageGaussianNoiseModel::ImageGaussianNoiseModel | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Finalize the noise model.
Reimplemented from gazebo::sensors::GaussianNoiseModel.
|
virtual |
Load noise parameters from sdf.
[in] | _sdf | SDF parameters. |
[in] | _sensor | Type of sensor. |
Reimplemented from gazebo::sensors::GaussianNoiseModel.
|
virtual |
Set camera needed to create image noise.
This is only needed for image sensors, i.e. camera/multicamera/depth sensors, which use shaders for more efficient noise generation.
[in] | _camera | Camera associated to an image sensor |
Reimplemented from gazebo::sensors::Noise.
boost::shared_ptr<GaussianNoiseCompositorListener> gazebo::sensors::ImageGaussianNoiseModel::gaussianNoiseCompositorListener |
Gaussian noise compositor listener.
Ogre::CompositorInstance* gazebo::sensors::ImageGaussianNoiseModel::gaussianNoiseInstance |
Gaussian noise compositor.