#include <MathExpressionFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
MathExpressionFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~MathExpressionFilter () |
Public Member Functions inherited from filters::FilterBase< T > | |
bool | configure (const std::string ¶m_name, ros::NodeHandle node_handle=ros::NodeHandle()) |
bool | configure (XmlRpc::XmlRpcValue &config) |
FilterBase () | |
const std::string & | getName () |
std::string | getType () |
virtual | ~FilterBase () |
Private Attributes | |
std::string | expression_ |
Expression to parse. More... | |
std::string | outputLayer_ |
Output layer name. More... | |
EigenLab::Parser< Eigen::MatrixXf > | parser_ |
EigenLab parser. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from filters::FilterBase< T > | |
bool | getParam (const std::string &name, std::string &value) |
bool | getParam (const std::string &name, XmlRpc::XmlRpcValue &value) |
bool | getParam (const std::string &name, double &value) |
bool | getParam (const std::string &name, std::vector< double > &value) |
bool | getParam (const std::string &name, unsigned int &value) |
bool | getParam (const std::string &name, int &value) |
bool | getParam (const std::string &name, std::vector< std::string > &value) |
bool | getParam (const std::string &name, bool &value) |
bool | loadConfiguration (XmlRpc::XmlRpcValue &config) |
Protected Attributes inherited from filters::FilterBase< T > | |
bool | configured_ |
std::string | filter_name_ |
std::string | filter_type_ |
string_map_t | params_ |
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.
|
virtual |
Destructor.
Definition at line 24 of file MathExpressionFilter.cpp.
|
virtual |
Configures the filter from parameters on the parameter server.
Implements filters::FilterBase< T >.
Definition at line 29 of file MathExpressionFilter.cpp.
|
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.
|
private |
Expression to parse.
Definition at line 54 of file MathExpressionFilter.hpp.
|
private |
Output layer name.
Definition at line 57 of file MathExpressionFilter.hpp.
|
private |
EigenLab parser.
Definition at line 51 of file MathExpressionFilter.hpp.