Public Member Functions | Private Attributes
grid_map::ThresholdFilter< T > Class Template Reference

#include <ThresholdFilter.hpp>

List of all members.

Public Member Functions

virtual bool configure ()
 ThresholdFilter ()
virtual bool update (const T &mapIn, T &mapOut)
virtual ~ThresholdFilter ()

Private Attributes

std::string layer_
 Layer the threshold should be applied to.
double lowerThreshold_
 Lower Threshold.
double setTo_
 If threshold triggered set to this value.
double upperThreshold_
 Upper Threshold.
bool useLowerThreshold_
 Booleans to decide which threshold should be used.
bool useUpperThreshold_

Detailed Description

template<typename T>
class grid_map::ThresholdFilter< T >

Threshold filter class to set values below/above a threshold to a specified value.

Definition at line 23 of file ThresholdFilter.hpp.


Constructor & Destructor Documentation

template<typename T >
grid_map::ThresholdFilter< T >::ThresholdFilter ( )

Constructor

Definition at line 19 of file ThresholdFilter.cpp.

template<typename T >
grid_map::ThresholdFilter< T >::~ThresholdFilter ( ) [virtual]

Destructor.

Definition at line 29 of file ThresholdFilter.cpp.


Member Function Documentation

template<typename T >
bool grid_map::ThresholdFilter< T >::configure ( ) [virtual]

Configures the filter from parameters on the parameter server.

Definition at line 34 of file ThresholdFilter.cpp.

template<typename T >
bool grid_map::ThresholdFilter< T >::update ( const T &  mapIn,
T &  mapOut 
) [virtual]

Uses either an upper or lower threshold. If the threshold is exceeded the cell value is set to the predefined value setTo_.

Parameters:
mapInGridMap with the different layers to apply a threshold.
mapOutGridMap with the threshold applied to the layers.

Definition at line 75 of file ThresholdFilter.cpp.


Member Data Documentation

template<typename T >
std::string grid_map::ThresholdFilter< T >::layer_ [private]

Layer the threshold should be applied to.

Definition at line 53 of file ThresholdFilter.hpp.

template<typename T >
double grid_map::ThresholdFilter< T >::lowerThreshold_ [private]

Lower Threshold.

Definition at line 56 of file ThresholdFilter.hpp.

template<typename T >
double grid_map::ThresholdFilter< T >::setTo_ [private]

If threshold triggered set to this value.

Definition at line 62 of file ThresholdFilter.hpp.

template<typename T >
double grid_map::ThresholdFilter< T >::upperThreshold_ [private]

Upper Threshold.

Definition at line 59 of file ThresholdFilter.hpp.

template<typename T >
bool grid_map::ThresholdFilter< T >::useLowerThreshold_ [private]

Booleans to decide which threshold should be used.

Definition at line 65 of file ThresholdFilter.hpp.

template<typename T >
bool grid_map::ThresholdFilter< T >::useUpperThreshold_ [private]

Definition at line 65 of file ThresholdFilter.hpp.


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


grid_map_filters
Author(s): Péter Fankhauser , Martin Wermelinger
autogenerated on Mon Oct 9 2017 03:09:30