#include <CurvatureFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
CurvatureFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~CurvatureFilter () |
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 | inputLayer_ |
Input layer name. More... | |
std::string | outputLayer_ |
Output layer name. 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_ |
Compute the curvature (second derivative) of a layer in the map.
Definition at line 22 of file CurvatureFilter.hpp.
grid_map::CurvatureFilter< T >::CurvatureFilter | ( | ) |
Constructor
Definition at line 21 of file CurvatureFilter.cpp.
|
virtual |
Destructor.
Definition at line 26 of file CurvatureFilter.cpp.
|
virtual |
Configures the filter from parameters on the Parameter Server
Implements filters::FilterBase< T >.
Definition at line 31 of file CurvatureFilter.cpp.
|
virtual |
Compute the curvature of a layer in a map and saves it as additional grid map layer.
mapIn | grid map containing the layer for which the curvature is computed for. |
mapOut | grid map containing mapIn and the new layer for the curvature. |
Implements filters::FilterBase< T >.
Definition at line 49 of file CurvatureFilter.cpp.
|
private |
Input layer name.
Definition at line 51 of file CurvatureFilter.hpp.
|
private |
Output layer name.
Definition at line 54 of file CurvatureFilter.hpp.