Gazebo Sensors

API Reference

6.8.1
ImageNoiseFactory Class Reference

#include <ImageNoise.hh>

Static Public Member Functions

static NoisePtr NewNoiseModel (const sdf::Noise &_sdf, const std::string &_sensorType="")
 Load a noise model based on the input sdf parameters and sensor type. More...
 
static NoisePtr NewNoiseModel (sdf::ElementPtr _sdf, const std::string &_sensorType="")
 Load a noise model based on the input sdf parameters and sensor type. More...
 

Member Function Documentation

◆ NewNoiseModel() [1/2]

static NoisePtr NewNoiseModel ( const sdf::Noise &  _sdf,
const std::string _sensorType = "" 
)
static

Load a noise model based on the input sdf parameters and sensor type.

Parameters
[in]_sdfNoise sdf parameters.
[in]_sensorTypeType of sensor. This is currently used to distinguish between image and non image sensors in order to create the appropriate noise model.
Returns
Pointer to the noise model created.

◆ NewNoiseModel() [2/2]

static NoisePtr NewNoiseModel ( sdf::ElementPtr  _sdf,
const std::string _sensorType = "" 
)
static

Load a noise model based on the input sdf parameters and sensor type.

Parameters
[in]_sdfNoise sdf parameters.
[in]_sensorTypeType of sensor. This is currently used to distinguish between image and non image sensors in order to create the appropriate noise model.
Returns
Pointer to the noise model created.

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