#include <FlatPointCloudVisualization.hpp>
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::NodeHandle & | nodeHandle_ |
ROS nodehandle. More... | |
StringMap | parameters_ |
Storage of the parsed XML parameters. More... | |
ros::Publisher | publisher_ |
ROS publisher of the occupancy grid. More... | |
Visualization of the grid map as a flat point cloud.
Definition at line 22 of file FlatPointCloudVisualization.hpp.
grid_map_visualization::FlatPointCloudVisualization::FlatPointCloudVisualization | ( | ros::NodeHandle & | nodeHandle, |
const std::string & | name | ||
) |
Constructor.
nodeHandle | the ROS node handle. |
name | the name of the visualization. |
Definition at line 16 of file FlatPointCloudVisualization.cpp.
|
virtual |
Destructor.
Definition at line 22 of file FlatPointCloudVisualization.cpp.
|
virtual |
Initialization.
Implements grid_map_visualization::VisualizationBase.
Definition at line 38 of file FlatPointCloudVisualization.cpp.
|
virtual |
Read parameters from ROS.
config | the parameters as XML. |
Reimplemented from grid_map_visualization::VisualizationBase.
Definition at line 26 of file FlatPointCloudVisualization.cpp.
|
virtual |
Generates the visualization.
map | the grid map to visualize. |
Implements grid_map_visualization::VisualizationBase.
Definition at line 44 of file FlatPointCloudVisualization.cpp.
|
private |
Height of the z-coordinate at which the flat point cloud is visualized.
Definition at line 62 of file FlatPointCloudVisualization.hpp.
|
private |
Type that is transformed to points.
Definition at line 59 of file FlatPointCloudVisualization.hpp.