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.h>
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 layer_;
54 
57 
60 
62  double setTo_;
63 
66 };
67 
68 } /* namespace */
virtual bool update(const T &mapIn, T &mapOut)
std::string layer_
Layer the threshold should be applied to.
double setTo_
If threshold triggered set to this value.
double upperThreshold_
Upper Threshold.
double lowerThreshold_
Lower Threshold.
bool useLowerThreshold_
Booleans to decide which threshold should be used.


grid_map_filters
Author(s): Péter Fankhauser , Martin Wermelinger
autogenerated on Tue Jun 25 2019 20:02:22