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

#include <FlatPointCloudVisualization.hpp>

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

Public Member Functions

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

Private Attributes

double height_
 Height of the z-coordinate at which the flat point cloud is visualized. More...
 
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 flat point cloud.

Definition at line 22 of file FlatPointCloudVisualization.hpp.

Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 16 of file FlatPointCloudVisualization.cpp.

grid_map_visualization::FlatPointCloudVisualization::~FlatPointCloudVisualization ( )
virtual

Destructor.

Definition at line 22 of file FlatPointCloudVisualization.cpp.

Member Function Documentation

bool grid_map_visualization::FlatPointCloudVisualization::initialize ( )
virtual

Initialization.

Implements grid_map_visualization::VisualizationBase.

Definition at line 38 of file FlatPointCloudVisualization.cpp.

bool grid_map_visualization::FlatPointCloudVisualization::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 26 of file FlatPointCloudVisualization.cpp.

bool grid_map_visualization::FlatPointCloudVisualization::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 44 of file FlatPointCloudVisualization.cpp.

Member Data Documentation

double grid_map_visualization::FlatPointCloudVisualization::height_
private

Height of the z-coordinate at which the flat point cloud is visualized.

Definition at line 62 of file FlatPointCloudVisualization.hpp.

std::string grid_map_visualization::FlatPointCloudVisualization::layer_
private

Type that is transformed to points.

Definition at line 59 of file FlatPointCloudVisualization.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