12 #include <grid_map_msgs/GridMap.h> 50 void callback(
const grid_map_msgs::GridMap& message);
std::vector< std::shared_ptr< VisualizationBase > > visualizations_
List of visualizations.
ros::Timer activityCheckTimer_
Timer to check the activity of the visualizations.
bool isSubscribed_
If the grid map visualization is subscribed to the grid map.
VisualizationFactory factory_
Visualization factory.
GridMapVisualization(ros::NodeHandle &nodeHandle, const std::string ¶meterName)
virtual ~GridMapVisualization()
ros::Subscriber mapSubscriber_
ROS subscriber to the grid map.
std::string mapTopic_
Topic name of the grid map to be visualized.
void updateSubscriptionCallback(const ros::TimerEvent &timerEvent)
ros::Duration activityCheckDuration_
Duration of checking the activity of the visualizations.
void callback(const grid_map_msgs::GridMap &message)
ros::NodeHandle & nodeHandle_
ROS nodehandle.
std::string visualizationsParameter_
Parameter name of the visualizer configuration list.