Public Member Functions | Private Attributes
grid_map_visualization::MapRegionVisualization Class Reference

#include <MapRegionVisualization.hpp>

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

List of all members.

Public Member Functions

bool initialize ()
 MapRegionVisualization (ros::NodeHandle &nodeHandle, const std::string &name)
bool readParameters (XmlRpc::XmlRpcValue &config)
bool visualize (const grid_map::GridMap &map)
virtual ~MapRegionVisualization ()

Private Attributes

std_msgs::ColorRGBA color_
 Color of the map region visualization.
double lineWidth_
 Line width of the map region marker [m].
visualization_msgs::Marker marker_
 Marker to be published.
const unsigned int nVertices_
 Number of vertices of the map region visualization.

Detailed Description

Visualization of the region of the grid map as border line.

Definition at line 24 of file MapRegionVisualization.hpp.


Constructor & Destructor Documentation

Constructor.

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

Definition at line 17 of file MapRegionVisualization.cpp.

Destructor.

Definition at line 24 of file MapRegionVisualization.cpp.


Member Function Documentation

Initialization.

Implements grid_map_visualization::VisualizationBase.

Definition at line 46 of file MapRegionVisualization.cpp.

Read parameters from ROS.

Parameters:
configthe parameters as XML.
Returns:
true if successful.

Reimplemented from grid_map_visualization::VisualizationBase.

Definition at line 28 of file MapRegionVisualization.cpp.

Generates the visualization.

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

Implements grid_map_visualization::VisualizationBase.

Definition at line 59 of file MapRegionVisualization.cpp.


Member Data Documentation

Color of the map region visualization.

Definition at line 68 of file MapRegionVisualization.hpp.

Line width of the map region marker [m].

Definition at line 71 of file MapRegionVisualization.hpp.

visualization_msgs::Marker grid_map_visualization::MapRegionVisualization::marker_ [private]

Marker to be published.

Definition at line 62 of file MapRegionVisualization.hpp.

Number of vertices of the map region visualization.

Definition at line 65 of file MapRegionVisualization.hpp.


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


grid_map_visualization
Author(s): Péter Fankhauser
autogenerated on Tue Jul 9 2019 05:06:51