#include <MinInRadiusFilter.hpp>
Public Member Functions | |
virtual bool | configure () |
MinInRadiusFilter () | |
virtual bool | update (const T &mapIn, T &mapOut) |
virtual | ~MinInRadiusFilter () |
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... | |
double | radius_ |
Radius to take the minimum in. 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_ |
Filter class to compute the minimal value inside a radius.
Definition at line 21 of file MinInRadiusFilter.hpp.
grid_map::MinInRadiusFilter< T >::MinInRadiusFilter | ( | ) |
Constructor.
Definition at line 19 of file MinInRadiusFilter.cpp.
|
virtual |
Destructor.
Definition at line 25 of file MinInRadiusFilter.cpp.
|
virtual |
Configures the filter from parameters on the Parameter Server
Implements filters::FilterBase< T >.
Definition at line 30 of file MinInRadiusFilter.cpp.
|
virtual |
Computes for each value in the input layer the minimum of all values in a radius around it. Saves this minimal value in an additional output layer.
mapIn | grid map containing the input layer. |
mapOut | grid map containing the original layers and the new layer with the minimal values. |
Implements filters::FilterBase< T >.
Definition at line 60 of file MinInRadiusFilter.cpp.
|
private |
Input layer name.
Definition at line 52 of file MinInRadiusFilter.hpp.
|
private |
Output layer name.
Definition at line 55 of file MinInRadiusFilter.hpp.
|
private |
Radius to take the minimum in.
Definition at line 49 of file MinInRadiusFilter.hpp.