Template Class ThresholdFilter

Inheritance Relationships

Base Type

  • public filters::FilterBase< T >

Class Documentation

template<typename T>
class ThresholdFilter : public filters::FilterBase<T>

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

Public Functions

ThresholdFilter()

Constructor

virtual ~ThresholdFilter()

Destructor.

bool configure() override

Configures the filter from parameters on the parameter server.

bool update(const T &mapIn, T &mapOut) override

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

Parameters:
  • mapIn – GridMap with the different layers to apply a threshold.

  • mapOut – GridMap with the threshold applied to the layers.