18 #ifndef _GAZEBO_NOISE_HH_
19 #define _GAZEBO_NOISE_HH_
48 public:
static NoisePtr NewNoiseModel(sdf::ElementPtr _sdf,
49 const std::string &_sensorType =
"");
69 public:
explicit Noise(NoiseType _type);
72 public:
virtual ~
Noise();
77 public:
virtual void Load(sdf::ElementPtr _sdf);
82 public:
double Apply(
double _in);
88 public:
virtual double ApplyImpl(
double _in);
91 public:
virtual void Fini();
95 public: NoiseType GetNoiseType()
const;
101 public:
virtual void SetCustomNoiseCallback(
102 boost::function<
double (
double)> _cb);
111 private: NoiseType type;
114 private: sdf::ElementPtr sdf;
117 private: boost::function<double (double)> customNoiseCallback;
boost::shared_ptr< Noise > NoisePtr
Definition: SensorTypes.hh:107
Use this noise manager for creating and loading noise models.
Definition: Noise.hh:39
boost::shared_ptr< Camera > CameraPtr
Definition: RenderTypes.hh:82
NoiseType
Which noise types we support.
Definition: Noise.hh:57
Forward declarations and typedefs for sensors.
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
Noise models for sensor output signals.
Definition: Noise.hh:54