Public Member Functions | Public Attributes | List of all members
gazebo::sensors::ImageGaussianNoiseModel Class Reference

#include <GaussianNoiseModel.hh>

Inheritance diagram for gazebo::sensors::ImageGaussianNoiseModel:
Inheritance graph
[legend]

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 Print (std::ostream &_out) const
 Documentation inherited. 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...
 

Constructor & Destructor Documentation

gazebo::sensors::ImageGaussianNoiseModel::ImageGaussianNoiseModel ( )

Constructor.

virtual gazebo::sensors::ImageGaussianNoiseModel::~ImageGaussianNoiseModel ( )
virtual

Destructor.

Member Function Documentation

virtual void gazebo::sensors::ImageGaussianNoiseModel::Fini ( )
virtual

Finalize the noise model.

Reimplemented from gazebo::sensors::GaussianNoiseModel.

virtual void gazebo::sensors::ImageGaussianNoiseModel::Load ( sdf::ElementPtr  _sdf)
virtual

Load noise parameters from sdf.

Parameters
[in]_sdfSDF parameters.
[in]_sensorType of sensor.

Reimplemented from gazebo::sensors::GaussianNoiseModel.

virtual void gazebo::sensors::ImageGaussianNoiseModel::Print ( std::ostream &  _out) const
virtual

Documentation inherited.

Reimplemented from gazebo::sensors::GaussianNoiseModel.

virtual void gazebo::sensors::ImageGaussianNoiseModel::SetCamera ( rendering::CameraPtr  _camera)
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.

Parameters
[in]_cameraCamera associated to an image sensor

Reimplemented from gazebo::sensors::Noise.

Member Data Documentation

boost::shared_ptr<GaussianNoiseCompositorListener> gazebo::sensors::ImageGaussianNoiseModel::gaussianNoiseCompositorListener

Gaussian noise compositor listener.

Ogre::CompositorInstance* gazebo::sensors::ImageGaussianNoiseModel::gaussianNoiseInstance

Gaussian noise compositor.


The documentation for this class was generated from the following file: