Public Member Functions | Private Attributes | List of all members
grid_map_visualization::GridCellsVisualization Class Reference

#include <GridCellsVisualization.hpp>

Inheritance diagram for grid_map_visualization::GridCellsVisualization:
Inheritance graph
[legend]

Public Member Functions

 GridCellsVisualization (ros::NodeHandle &nodeHandle, const std::string &name)
 
bool initialize ()
 
bool readParameters (XmlRpc::XmlRpcValue &config)
 
bool visualize (const grid_map::GridMap &map)
 
virtual ~GridCellsVisualization ()
 
- Public Member Functions inherited from grid_map_visualization::VisualizationBase
bool isActive () const
 
 VisualizationBase (ros::NodeHandle &nodeHandle, const std::string &name)
 
virtual ~VisualizationBase ()
 

Private Attributes

std::string layer_
 Type that is transformed to the occupancy grid. More...
 
float lowerThreshold_
 Values that are between lower and upper threshold are shown. More...
 
float upperThreshold_
 

Additional Inherited Members

- Protected Member Functions inherited from grid_map_visualization::VisualizationBase
bool getParam (const std::string &name, std::string &value)
 
bool getParam (const std::string &name, double &value)
 
bool getParam (const std::string &name, float &value)
 
bool getParam (const std::string &name, int &value)
 
bool getParam (const std::string &name, bool &value)
 
- Protected Attributes inherited from grid_map_visualization::VisualizationBase
std::string name_
 Name of the visualization. More...
 
ros::NodeHandlenodeHandle_
 ROS nodehandle. More...
 
StringMap parameters_
 Storage of the parsed XML parameters. More...
 
ros::Publisher publisher_
 ROS publisher of the occupancy grid. More...
 

Detailed Description

Definition at line 19 of file GridCellsVisualization.hpp.

Constructor & Destructor Documentation

grid_map_visualization::GridCellsVisualization::GridCellsVisualization ( ros::NodeHandle nodeHandle,
const std::string &  name 
)

Constructor.

Parameters
nodeHandlethe ROS node handle.
namethe name of the visualization.

Definition at line 18 of file GridCellsVisualization.cpp.

grid_map_visualization::GridCellsVisualization::~GridCellsVisualization ( )
virtual

Destructor.

Definition at line 25 of file GridCellsVisualization.cpp.

Member Function Documentation

bool grid_map_visualization::GridCellsVisualization::initialize ( )
virtual

Initialization.

Implements grid_map_visualization::VisualizationBase.

Definition at line 49 of file GridCellsVisualization.cpp.

bool grid_map_visualization::GridCellsVisualization::readParameters ( XmlRpc::XmlRpcValue config)
virtual

Read parameters from ROS.

Parameters
configthe parameters as XML.
Returns
true if successful.

Reimplemented from grid_map_visualization::VisualizationBase.

Definition at line 29 of file GridCellsVisualization.cpp.

bool grid_map_visualization::GridCellsVisualization::visualize ( const grid_map::GridMap map)
virtual

Generates the visualization.

Parameters
mapthe grid map to visualize.
Returns
true if successful.

Implements grid_map_visualization::VisualizationBase.

Definition at line 55 of file GridCellsVisualization.cpp.

Member Data Documentation

std::string grid_map_visualization::GridCellsVisualization::layer_
private

Type that is transformed to the occupancy grid.

Definition at line 57 of file GridCellsVisualization.hpp.

float grid_map_visualization::GridCellsVisualization::lowerThreshold_
private

Values that are between lower and upper threshold are shown.

Definition at line 60 of file GridCellsVisualization.hpp.

float grid_map_visualization::GridCellsVisualization::upperThreshold_
private

Definition at line 60 of file GridCellsVisualization.hpp.


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


grid_map_visualization
Author(s): Péter Fankhauser
autogenerated on Tue Jun 1 2021 02:13:51