Public Member Functions | Private Member Functions | Private Attributes | List of all members
MapServer Class Reference

Public Member Functions

 MapServer (const std::string &fname, double res)
 

Private Member Functions

bool mapCallback (nav_msgs::GetMap::Request &req, nav_msgs::GetMap::Response &res)
 

Private Attributes

bool deprecated
 
ros::Publisher map_pub
 
nav_msgs::GetMap::Response map_resp_
 
nav_msgs::MapMetaData meta_data_message_
 
ros::Publisher metadata_pub
 
ros::NodeHandle n
 
ros::ServiceServer service
 

Detailed Description

Definition at line 59 of file main.cpp.

Constructor & Destructor Documentation

MapServer::MapServer ( const std::string &  fname,
double  res 
)
inline

Trivial constructor

Definition at line 63 of file main.cpp.

Member Function Documentation

bool MapServer::mapCallback ( nav_msgs::GetMap::Request &  req,
nav_msgs::GetMap::Response &  res 
)
inlineprivate

Callback invoked when someone requests our service

Definition at line 208 of file main.cpp.

Member Data Documentation

bool MapServer::deprecated
private

Definition at line 205 of file main.cpp.

ros::Publisher MapServer::map_pub
private

Definition at line 202 of file main.cpp.

nav_msgs::GetMap::Response MapServer::map_resp_
private

Definition at line 223 of file main.cpp.

nav_msgs::MapMetaData MapServer::meta_data_message_
private

The map data is cached here, to be sent out to service callers

Definition at line 222 of file main.cpp.

ros::Publisher MapServer::metadata_pub
private

Definition at line 203 of file main.cpp.

ros::NodeHandle MapServer::n
private

Definition at line 201 of file main.cpp.

ros::ServiceServer MapServer::service
private

Definition at line 204 of file main.cpp.


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


map_server
Author(s): Brian Gerkey, Tony Pratkanis, contradict@gmail.com
autogenerated on Sun Mar 3 2019 03:44:06