Public Member Functions | Private Attributes | List of all members
grid_map::SlidingWindowMathExpressionFilter< T > Class Template Reference

#include <SlidingWindowMathExpressionFilter.hpp>

Inheritance diagram for grid_map::SlidingWindowMathExpressionFilter< T >:
Inheritance graph
[legend]

Public Member Functions

virtual bool configure ()
 
 SlidingWindowMathExpressionFilter ()
 
virtual bool update (const T &mapIn, T &mapOut)
 
virtual ~SlidingWindowMathExpressionFilter ()
 
- Public Member Functions inherited from filters::FilterBase< T >
bool configure (const std::string &param_name, ros::NodeHandle node_handle=ros::NodeHandle())
 
bool configure (XmlRpc::XmlRpcValue &config)
 
 FilterBase ()
 
const std::string & getName ()
 
std::string getType ()
 
virtual ~FilterBase ()
 

Private Attributes

SlidingWindowIterator::EdgeHandling edgeHandling_
 Edge handling method. More...
 
std::string expression_
 Expression to parse. More...
 
std::string inputLayer_
 Input layer name. More...
 
bool isComputeEmptyCells_
 If empty cells should be computed as well. More...
 
std::string outputLayer_
 Output layer name. More...
 
EigenLab::Parser< Eigen::MatrixXf > parser_
 EigenLab parser. More...
 
bool useWindowLength_
 If window length (instead of window size) should be used. More...
 
double windowLength_
 Window length. More...
 
int windowSize_
 Window size. 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_
 

Detailed Description

template<typename T>
class grid_map::SlidingWindowMathExpressionFilter< T >

Parse and evaluate a mathematical matrix expression within a sliding window on a layer of a grid map.

Definition at line 26 of file SlidingWindowMathExpressionFilter.hpp.

Constructor & Destructor Documentation

Constructor

Definition at line 18 of file SlidingWindowMathExpressionFilter.cpp.

Destructor.

Definition at line 28 of file SlidingWindowMathExpressionFilter.cpp.

Member Function Documentation

template<typename T >
bool grid_map::SlidingWindowMathExpressionFilter< T >::configure ( )
virtual

Configures the filter from parameters on the parameter server.

Implements filters::FilterBase< T >.

Definition at line 33 of file SlidingWindowMathExpressionFilter.cpp.

template<typename T >
bool grid_map::SlidingWindowMathExpressionFilter< T >::update ( const T &  mapIn,
T &  mapOut 
)
virtual

Takes the minimum out of different layers of a grid map.

Parameters
mapIngridMap with the different layers to take the min.
mapOutgridMap with an additional layer containing the sum.

Implements filters::FilterBase< T >.

Definition at line 81 of file SlidingWindowMathExpressionFilter.cpp.

Member Data Documentation

template<typename T >
SlidingWindowIterator::EdgeHandling grid_map::SlidingWindowMathExpressionFilter< T >::edgeHandling_
private

Edge handling method.

Definition at line 78 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
std::string grid_map::SlidingWindowMathExpressionFilter< T >::expression_
private

Expression to parse.

Definition at line 63 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
std::string grid_map::SlidingWindowMathExpressionFilter< T >::inputLayer_
private

Input layer name.

Definition at line 54 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
bool grid_map::SlidingWindowMathExpressionFilter< T >::isComputeEmptyCells_
private

If empty cells should be computed as well.

Definition at line 75 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
std::string grid_map::SlidingWindowMathExpressionFilter< T >::outputLayer_
private

Output layer name.

Definition at line 57 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
EigenLab::Parser<Eigen::MatrixXf> grid_map::SlidingWindowMathExpressionFilter< T >::parser_
private

EigenLab parser.

Definition at line 60 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
bool grid_map::SlidingWindowMathExpressionFilter< T >::useWindowLength_
private

If window length (instead of window size) should be used.

Definition at line 69 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
double grid_map::SlidingWindowMathExpressionFilter< T >::windowLength_
private

Window length.

Definition at line 72 of file SlidingWindowMathExpressionFilter.hpp.

template<typename T >
int grid_map::SlidingWindowMathExpressionFilter< T >::windowSize_
private

Window size.

Definition at line 66 of file SlidingWindowMathExpressionFilter.hpp.


The documentation for this class was generated from the following files:


grid_map_filters
Author(s): P├ęter Fankhauser , Martin Wermelinger
autogenerated on Fri Feb 19 2021 03:15:19