#include <MeanInRadiusFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
MeanInRadiusFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~MeanInRadiusFilter () |
Private Attributes | |
std::string | inputLayer_ |
Input layer name. | |
std::string | outputLayer_ |
Output layer name. | |
double | radius_ |
Radius to take the mean from. |
Filter class to find the mean of the values inside a radius.
Definition at line 22 of file MeanInRadiusFilter.hpp.
grid_map::MeanInRadiusFilter< T >::MeanInRadiusFilter | ( | ) |
Constructor
Definition at line 19 of file MeanInRadiusFilter.cpp.
grid_map::MeanInRadiusFilter< T >::~MeanInRadiusFilter | ( | ) | [virtual] |
Destructor.
Definition at line 25 of file MeanInRadiusFilter.cpp.
bool grid_map::MeanInRadiusFilter< T >::configure | ( | ) | [virtual] |
Configures the filter from parameters on the Parameter Server
Definition at line 30 of file MeanInRadiusFilter.cpp.
bool grid_map::MeanInRadiusFilter< T >::update | ( | const T & | mapIn, |
T & | mapOut | ||
) | [virtual] |
Computes for each value in the input layer the mean of all values in a radius around it Saves this mean in an additional output layer.
mapIn | grid map containing the input layer. |
mapOut | grid map containing the layers of the input map and the new layer. |
Definition at line 61 of file MeanInRadiusFilter.cpp.
std::string grid_map::MeanInRadiusFilter< T >::inputLayer_ [private] |
Input layer name.
Definition at line 53 of file MeanInRadiusFilter.hpp.
std::string grid_map::MeanInRadiusFilter< T >::outputLayer_ [private] |
Output layer name.
Definition at line 56 of file MeanInRadiusFilter.hpp.
double grid_map::MeanInRadiusFilter< T >::radius_ [private] |
Radius to take the mean from.
Definition at line 50 of file MeanInRadiusFilter.hpp.