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

#include <map_server_node.h>

Public Member Functions

void init ()
 
void loop ()
 
 MapServer (ros::NodeHandle &n)
 
 ~MapServer ()
 

Private Member Functions

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

Private Attributes

bool debug_ {true}
 
double frequency_ {0}
 
unsigned long loop_count_ {0}
 
boost::shared_ptr< CMultiMetricMap > metric_map_
 
ros::NodeHandle n_
 
ros::NodeHandle n_param_ {"~"}
 
ros::Publisher pub_map_ros_
 
ros::Publisher pub_metadata_
 
nav_msgs::GetMap::Response resp_ros_
 
ros::ServiceServer service_map_
 

Detailed Description

Definition at line 54 of file map_server_node.h.

Constructor & Destructor Documentation

MapServer::MapServer ( ros::NodeHandle n)

Definition at line 52 of file map_server_node.cpp.

MapServer::~MapServer ( )

Definition at line 54 of file map_server_node.cpp.

Member Function Documentation

void MapServer::init ( )

Definition at line 55 of file map_server_node.cpp.

void MapServer::loop ( )

Definition at line 140 of file map_server_node.cpp.

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

Definition at line 118 of file map_server_node.cpp.

void MapServer::publishMap ( )
private

Definition at line 126 of file map_server_node.cpp.

Member Data Documentation

bool MapServer::debug_ {true}
private

Definition at line 67 of file map_server_node.h.

double MapServer::frequency_ {0}
private

Definition at line 65 of file map_server_node.h.

unsigned long MapServer::loop_count_ {0}
private

Definition at line 66 of file map_server_node.h.

boost::shared_ptr<CMultiMetricMap> MapServer::metric_map_
private

Definition at line 72 of file map_server_node.h.

ros::NodeHandle MapServer::n_
private

Definition at line 63 of file map_server_node.h.

ros::NodeHandle MapServer::n_param_ {"~"}
private

Definition at line 64 of file map_server_node.h.

ros::Publisher MapServer::pub_map_ros_
private

Definition at line 68 of file map_server_node.h.

ros::Publisher MapServer::pub_metadata_
private

Definition at line 69 of file map_server_node.h.

nav_msgs::GetMap::Response MapServer::resp_ros_
private

Definition at line 71 of file map_server_node.h.

ros::ServiceServer MapServer::service_map_
private

Definition at line 70 of file map_server_node.h.


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


mrpt_map
Author(s):
autogenerated on Thu Jun 6 2019 19:44:51