ThresholdFilter.hpp
Go to the documentation of this file.
1 /*
2  * ThresholdFilter.hpp
3  *
4  * Created on: Mar 16, 2015
5  * Author: Martin Wermelinger, Peter Fankhauser
6  * Institute: ETH Zurich, ANYbotics
7  */
8 
9 #pragma once
10 
11 #include <filters/filter_base.hpp>
12 
13 #include <string>
14 #include <vector>
15 
16 namespace grid_map {
17 
22 template<typename T>
24 {
25 
26  public:
31 
35  virtual ~ThresholdFilter();
36 
40  virtual bool configure();
41 
48  virtual bool update(const T& mapIn, T& mapOut);
49 
50  private:
51 
53  std::string conditionLayer_;
54 
56  std::string outputLayer_;
57 
60 
63 
66 
68  double setTo_;
69 };
70 
71 } /* namespace */
virtual bool update(const T &mapIn, T &mapOut)
double setTo_
If threshold triggered set to this value.
double upperThreshold_
Upper Threshold.
std::string conditionLayer_
Layer the threshold will be evaluated.
double lowerThreshold_
Lower Threshold.
bool useLowerThreshold_
Booleans to decide which threshold should be used.
std::string outputLayer_
Layer the threshold should be applied to.


grid_map_filters
Author(s): Péter Fankhauser , Martin Wermelinger
autogenerated on Tue Jun 1 2021 02:13:38