Public Member Functions | Protected Attributes | List of all members
MapGeneratorNode Class Reference

Map generation node. More...

Public Member Functions

bool done () const
 
void mapCallback (const nav_msgs::OccupancyGrid *map, const int floor)
 
 MapGeneratorNode (const std::string &mapname)
 
void mapsCallback (const map_organizer_msgs::OccupancyGridArrayConstPtr &maps)
 

Protected Attributes

ros::Subscriber map_sub_
 
std::string mapname_
 
ros::NodeHandle nh_
 
bool saved_map_
 

Detailed Description

Map generation node.

Definition at line 46 of file save_maps.cpp.

Constructor & Destructor Documentation

MapGeneratorNode::MapGeneratorNode ( const std::string &  mapname)
inlineexplicit

Definition at line 55 of file save_maps.cpp.

Member Function Documentation

bool MapGeneratorNode::done ( ) const
inline

Definition at line 64 of file save_maps.cpp.

void MapGeneratorNode::mapCallback ( const nav_msgs::OccupancyGrid *  map,
const int  floor 
)
inline

Definition at line 78 of file save_maps.cpp.

void MapGeneratorNode::mapsCallback ( const map_organizer_msgs::OccupancyGridArrayConstPtr &  maps)
inline

Definition at line 68 of file save_maps.cpp.

Member Data Documentation

ros::Subscriber MapGeneratorNode::map_sub_
protected

Definition at line 51 of file save_maps.cpp.

std::string MapGeneratorNode::mapname_
protected

Definition at line 50 of file save_maps.cpp.

ros::NodeHandle MapGeneratorNode::nh_
protected

Definition at line 49 of file save_maps.cpp.

bool MapGeneratorNode::saved_map_
protected

Definition at line 52 of file save_maps.cpp.


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


map_organizer
Author(s): Atsushi Watanabe
autogenerated on Tue Jul 9 2019 04:59:56