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;