MathExpressionFilter.hpp
Go to the documentation of this file.
1 /*
2  * MathExpressionFilter.hpp
3  *
4  * Created on: Aug 16, 2017
5  * Author: Peter Fankhauser
6  * Institute: ETH Zurich, ANYbotics
7  */
8 
9 #pragma once
10 
11 #include "EigenLab/EigenLab.h"
12 
13 #include <filters/filter_base.h>
14 
15 #include <string>
16 
17 namespace grid_map {
18 
22 template<typename T>
24 {
25 
26  public:
31 
35  virtual ~MathExpressionFilter();
36 
40  virtual bool configure();
41 
47  virtual bool update(const T& mapIn, T& mapOut);
48 
49  private:
52 
54  std::string expression_;
55 
57  std::string outputLayer_;
58 };
59 
60 } /* namespace */
virtual bool update(const T &mapIn, T &mapOut)
std::string expression_
Expression to parse.
EigenLab::Parser< Eigen::MatrixXf > parser_
EigenLab parser.
std::string outputLayer_
Output layer name.


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