Class OccupancyGridVisualization

Inheritance Relationships

Base Type

Class Documentation

class OccupancyGridVisualization : public grid_map_visualization::VisualizationBase

Public Functions

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

Constructor.

Parameters:

name – the name of the visualization.

virtual ~OccupancyGridVisualization()

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.