16 #ifndef ROTORS_GAZEBO_PLUGINS_DEPTH_NOISE_MODEL_H 17 #define ROTORS_GAZEBO_PLUGINS_DEPTH_NOISE_MODEL_H 19 #include <Eigen/Eigen> 27 virtual void ApplyNoise(uint32_t width, uint32_t height,
float *
data) = 0;
34 bool InRange(
float depth)
const;
36 const float bad_point = std::numeric_limits<float>::quiet_NaN();
37 std::normal_distribution<float>
dist;
76 #endif // ROTORS_GAZEBO_PLUGINS_DEPTH_NOISE_MODEL_H
bool InRange(float depth) const
std::normal_distribution< float > dist
virtual void ApplyNoise(uint32_t width, uint32_t height, float *data)=0