Class MapRegionVisualization

Inheritance Relationships

Base Type

Class Documentation

class MapRegionVisualization : public grid_map_visualization::VisualizationBase

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

Public Functions

explicit MapRegionVisualization(const std::string &name, rclcpp::Node::SharedPtr nodePtr)

Constructor.

Parameters:

name – the name of the visualization.

virtual ~MapRegionVisualization()

Destructor.

virtual bool readParameters() override

Read parameters from ROS.

Parameters:

config – the parameters as XML.

Returns:

true if successful.

virtual bool initialize() override

Initialization.

virtual bool visualize(const grid_map::GridMap &map) override

Generates the visualization.

Parameters:

map – the grid map to visualize.

Returns:

true if successful.