Public Member Functions | Private Attributes
grid_map_demos::FiltersDemo Class Reference

#include <FiltersDemo.hpp>

List of all members.

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.
std::string filterChainParametersName_
 Filter chain parameters name.
std::string inputTopic_
 Name of the input grid map topic.
ros::NodeHandlenodeHandle_
 ROS nodehandle.
std::string outputTopic_
 Name of the output grid map topic.
ros::Publisher publisher_
 Grid map publisher.
ros::Subscriber subscriber_
 Grid map subscriber.

Detailed Description

Applies a chain of grid map filters to a topic and republishes the resulting grid map.

Definition at line 24 of file FiltersDemo.hpp.


Constructor & Destructor Documentation

grid_map_demos::FiltersDemo::FiltersDemo ( ros::NodeHandle nodeHandle,
bool &  success 
)

Constructor.

Parameters:
nodeHandlethe ROS node handle.
successsignalizes if filter is configured ok or not.

Definition at line 16 of file FiltersDemo.cpp.

Destructor.

Definition at line 38 of file FiltersDemo.cpp.


Member Function Documentation

void grid_map_demos::FiltersDemo::callback ( const grid_map_msgs::GridMap &  message)

Callback method for the incoming grid map message.

Parameters:
messagethe incoming message.

Definition at line 53 of file FiltersDemo.cpp.

Reads and verifies the ROS parameters.

Returns:
true if successful.

Definition at line 42 of file FiltersDemo.cpp.


Member Data Documentation

Filter chain.

Definition at line 70 of file FiltersDemo.hpp.

Filter chain parameters name.

Definition at line 73 of file FiltersDemo.hpp.

Name of the input grid map topic.

Definition at line 58 of file FiltersDemo.hpp.

ROS nodehandle.

Definition at line 55 of file FiltersDemo.hpp.

Name of the output grid map topic.

Definition at line 61 of file FiltersDemo.hpp.

Grid map publisher.

Definition at line 67 of file FiltersDemo.hpp.

Grid map subscriber.

Definition at line 64 of file FiltersDemo.hpp.


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


grid_map_demos
Author(s): P├ęter Fankhauser
autogenerated on Tue Jul 9 2019 05:06:58