#include <MathExpressionFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
MathExpressionFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~MathExpressionFilter () |
Private Attributes | |
std::string | expression_ |
Expression to parse. | |
std::string | outputLayer_ |
Output layer name. | |
EigenLab::Parser< Eigen::MatrixXf > | parser_ |
EigenLab parser. |
Parses and evaluates a mathematical matrix expression with layers of a grid map.
Definition at line 23 of file MathExpressionFilter.hpp.
grid_map::MathExpressionFilter< T >::MathExpressionFilter | ( | ) |
Constructor
Definition at line 19 of file MathExpressionFilter.cpp.
grid_map::MathExpressionFilter< T >::~MathExpressionFilter | ( | ) | [virtual] |
Destructor.
Definition at line 24 of file MathExpressionFilter.cpp.
bool grid_map::MathExpressionFilter< T >::configure | ( | ) | [virtual] |
Configures the filter from parameters on the parameter server.
Implements filters::FilterBase< T >.
Definition at line 29 of file MathExpressionFilter.cpp.
bool grid_map::MathExpressionFilter< T >::update | ( | const T & | mapIn, |
T & | mapOut | ||
) | [virtual] |
Takes the minimum out of different layers of a grid map.
mapIn | gridMap with the different layers to take the min. |
mapOut | gridMap with an additional layer containing the sum. |
Implements filters::FilterBase< T >.
Definition at line 47 of file MathExpressionFilter.cpp.
std::string grid_map::MathExpressionFilter< T >::expression_ [private] |
Expression to parse.
Definition at line 54 of file MathExpressionFilter.hpp.
std::string grid_map::MathExpressionFilter< T >::outputLayer_ [private] |
Output layer name.
Definition at line 57 of file MathExpressionFilter.hpp.
EigenLab::Parser<Eigen::MatrixXf> grid_map::MathExpressionFilter< T >::parser_ [private] |
EigenLab parser.
Definition at line 51 of file MathExpressionFilter.hpp.