Noise models for sensor output signals.
More...
#include <Noise.hh>
Noise models for sensor output signals.
Which noise types we support.
Enumerator |
---|
NONE |
|
CUSTOM |
|
GAUSSIAN |
|
gazebo::sensors::Noise::Noise |
( |
NoiseType |
_type | ) |
|
|
explicit |
virtual gazebo::sensors::Noise::~Noise |
( |
| ) |
|
|
virtual |
double gazebo::sensors::Noise::Apply |
( |
double |
_in | ) |
|
Apply noise to input data value.
- Parameters
-
- Returns
- Data with noise applied.
virtual double gazebo::sensors::Noise::ApplyImpl |
( |
double |
_in | ) |
|
|
virtual |
Apply noise to input data value.
This gets overriden by derived classes, and called by Apply.
- Parameters
-
- Returns
- Data with noise applied.
Reimplemented in gazebo::sensors::GaussianNoiseModel.
virtual void gazebo::sensors::Noise::Fini |
( |
| ) |
|
|
virtual |
NoiseType gazebo::sensors::Noise::GetNoiseType |
( |
| ) |
const |
Accessor for NoiseType.
- Returns
- Type of noise currently in use.
virtual void gazebo::sensors::Noise::Load |
( |
sdf::ElementPtr |
_sdf | ) |
|
|
virtual |
virtual void gazebo::sensors::Noise::Print |
( |
std::ostream & |
_out | ) |
const |
|
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] | _camera | Camera associated to an image sensor |
Reimplemented in gazebo::sensors::ImageGaussianNoiseModel.
virtual void gazebo::sensors::Noise::SetCustomNoiseCallback |
( |
boost::function< double(double)> |
_cb | ) |
|
|
virtual |
Register a custom noise callback.
- Parameters
-
[in] | _cb | Callback function for applying a custom noise model. This is useful if users want to use their own noise model from a sensor plugin. |
The documentation for this class was generated from the following file: