#include <FiltersDemo.hpp>
Public Member Functions | |
void | callback (const grid_map_msgs::GridMap &message) |
FiltersDemo (ros::NodeHandle &nodeHandle, bool &success) | |
bool | readParameters () |
virtual | ~FiltersDemo () |
Private Attributes | |
filters::FilterChain< grid_map::GridMap > | filterChain_ |
Filter chain. More... | |
std::string | filterChainParametersName_ |
Filter chain parameters name. More... | |
std::string | inputTopic_ |
Name of the input grid map topic. More... | |
ros::NodeHandle & | nodeHandle_ |
ROS nodehandle. More... | |
std::string | outputTopic_ |
Name of the output grid map topic. More... | |
ros::Publisher | publisher_ |
Grid map publisher. More... | |
ros::Subscriber | subscriber_ |
Grid map subscriber. More... | |
Applies a chain of grid map filters to a topic and republishes the resulting grid map.
Definition at line 24 of file FiltersDemo.hpp.
grid_map_demos::FiltersDemo::FiltersDemo | ( | ros::NodeHandle & | nodeHandle, |
bool & | success | ||
) |
Constructor.
nodeHandle | the ROS node handle. |
success | signalizes if filter is configured ok or not. |
Definition at line 16 of file FiltersDemo.cpp.
|
virtual |
Destructor.
Definition at line 38 of file FiltersDemo.cpp.
void grid_map_demos::FiltersDemo::callback | ( | const grid_map_msgs::GridMap & | message | ) |
Callback method for the incoming grid map message.
message | the incoming message. |
Definition at line 53 of file FiltersDemo.cpp.
bool grid_map_demos::FiltersDemo::readParameters | ( | ) |
Reads and verifies the ROS parameters.
Definition at line 42 of file FiltersDemo.cpp.
|
private |
Filter chain.
Definition at line 70 of file FiltersDemo.hpp.
|
private |
Filter chain parameters name.
Definition at line 73 of file FiltersDemo.hpp.
|
private |
Name of the input grid map topic.
Definition at line 58 of file FiltersDemo.hpp.
|
private |
ROS nodehandle.
Definition at line 55 of file FiltersDemo.hpp.
|
private |
Name of the output grid map topic.
Definition at line 61 of file FiltersDemo.hpp.
|
private |
Grid map publisher.
Definition at line 67 of file FiltersDemo.hpp.
|
private |
Grid map subscriber.
Definition at line 64 of file FiltersDemo.hpp.