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

#include <PointCloudVisualization.hpp>

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

Public Member Functions

bool initialize ()
 
 PointCloudVisualization (ros::NodeHandle &nodeHandle, const std::string &name)
 
bool readParameters (XmlRpc::XmlRpcValue &config)
 
bool visualize (const grid_map::GridMap &map)
 
virtual ~PointCloudVisualization ()
 
- 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 points. More...
 

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

Visualization of the grid map as a point cloud.

Definition at line 22 of file PointCloudVisualization.hpp.

Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 16 of file PointCloudVisualization.cpp.

grid_map_visualization::PointCloudVisualization::~PointCloudVisualization ( )
virtual

Destructor.

Definition at line 21 of file PointCloudVisualization.cpp.

Member Function Documentation

bool grid_map_visualization::PointCloudVisualization::initialize ( )
virtual

Initialization.

Implements grid_map_visualization::VisualizationBase.

Definition at line 35 of file PointCloudVisualization.cpp.

bool grid_map_visualization::PointCloudVisualization::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 25 of file PointCloudVisualization.cpp.

bool grid_map_visualization::PointCloudVisualization::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 41 of file PointCloudVisualization.cpp.

Member Data Documentation

std::string grid_map_visualization::PointCloudVisualization::layer_
private

Type that is transformed to points.

Definition at line 59 of file PointCloudVisualization.hpp.


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


grid_map_visualization
Author(s): Péter Fankhauser
autogenerated on Tue Jun 25 2019 20:02:32