Public Member Functions | Private Attributes
grid_map_loader::GridMapLoader Class Reference

#include <GridMapLoader.hpp>

List of all members.

Public Member Functions

 GridMapLoader (ros::NodeHandle nodeHandle)
bool load ()
void publish ()
bool readParameters ()
virtual ~GridMapLoader ()

Private Attributes

std::string bagTopic_
 Topic name of the grid map in the ROS bag.
ros::Duration duration_
 Duration to publish the grid map.
std::string filePath_
 Path the ROS bag to be published.
grid_map::GridMap map_
 Grid map data.
ros::NodeHandle nodeHandle_
 ROS nodehandle.
ros::Publisher publisher_
 Grid map publisher.
std::string publishTopic_
 Topic name of the grid map to be loaded.

Detailed Description

Loads and publishes a grid map from a bag file.

Definition at line 26 of file GridMapLoader.hpp.


Constructor & Destructor Documentation

Constructor.

Parameters:
nodeHandlethe ROS node handle.

Definition at line 17 of file GridMapLoader.cpp.

Destructor.

Definition at line 27 of file GridMapLoader.cpp.


Member Function Documentation

Loads the grid map from the bag file.

Returns:
true if successful, false otherwise.

Definition at line 42 of file GridMapLoader.cpp.

Publishes the grid map.

Definition at line 48 of file GridMapLoader.cpp.

Reads and verifies the ROS parameters.

Returns:
true if successful.

Definition at line 31 of file GridMapLoader.cpp.


Member Data Documentation

Topic name of the grid map in the ROS bag.

Definition at line 73 of file GridMapLoader.hpp.

Duration to publish the grid map.

Definition at line 79 of file GridMapLoader.hpp.

Path the ROS bag to be published.

Definition at line 70 of file GridMapLoader.hpp.

Grid map data.

Definition at line 67 of file GridMapLoader.hpp.

ROS nodehandle.

Definition at line 61 of file GridMapLoader.hpp.

Grid map publisher.

Definition at line 64 of file GridMapLoader.hpp.

Topic name of the grid map to be loaded.

Definition at line 76 of file GridMapLoader.hpp.


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


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