Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
DepthNoiseModel Class Referenceabstract

#include <depth_noise_model.hpp>

Inheritance diagram for DepthNoiseModel:
Inheritance graph
[legend]

Public Member Functions

virtual void ApplyNoise (uint32_t width, uint32_t height, float *data)=0
 
 DepthNoiseModel ()
 

Public Attributes

float max_depth
 
float min_depth
 

Protected Member Functions

bool InRange (float depth) const
 

Protected Attributes

const float bad_point = std::numeric_limits<float>::quiet_NaN()
 
std::normal_distribution< floatdist
 
std::mt19937 gen
 

Detailed Description

Definition at line 22 of file depth_noise_model.hpp.

Constructor & Destructor Documentation

◆ DepthNoiseModel()

DepthNoiseModel::DepthNoiseModel ( )
inline

Definition at line 24 of file depth_noise_model.hpp.

Member Function Documentation

◆ ApplyNoise()

virtual void DepthNoiseModel::ApplyNoise ( uint32_t  width,
uint32_t  height,
float data 
)
pure virtual

◆ InRange()

bool DepthNoiseModel::InRange ( float  depth) const
inlineprotected

Definition at line 21 of file depth_noise_model.cpp.

Member Data Documentation

◆ bad_point

const float DepthNoiseModel::bad_point = std::numeric_limits<float>::quiet_NaN()
protected

Definition at line 36 of file depth_noise_model.hpp.

◆ dist

std::normal_distribution<float> DepthNoiseModel::dist
protected

Definition at line 37 of file depth_noise_model.hpp.

◆ gen

std::mt19937 DepthNoiseModel::gen
protected

Definition at line 38 of file depth_noise_model.hpp.

◆ max_depth

float DepthNoiseModel::max_depth

Definition at line 29 of file depth_noise_model.hpp.

◆ min_depth

float DepthNoiseModel::min_depth

Definition at line 30 of file depth_noise_model.hpp.


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


rotors_gazebo_plugins
Author(s): Fadri Furrer, Michael Burri, Mina Kamel, Janosch Nikolic, Markus Achtelik
autogenerated on Mon Feb 28 2022 23:39:04