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_ |
Map generation node.
Definition at line 46 of file save_maps.cpp.
MapGeneratorNode::MapGeneratorNode | ( | const std::string & | mapname | ) | [inline, explicit] |
Definition at line 55 of file save_maps.cpp.
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.
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.