Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
rqt_map_merger::MapMerger Class Reference

#include <map_merger.h>

Inheritance diagram for rqt_map_merger::MapMerger:
Inheritance graph
[legend]

List of all members.

Public Slots

void onGetTransform ()
void onMergePressed ()
void onSaveGeotiffPressed ()
void onSlider1Moved (int idx)
void onSlider2Moved (int idx)
void onStateUseTransformChanged (int checked)

Public Member Functions

nav_msgs::OccupancyGrid cvMatToOccupancyGrid (const cv::Mat *im)
bool eventFilter (QObject *watched, QEvent *event)
virtual void initPlugin (qt_gui_cpp::PluginContext &context)
 MapMerger ()
cv::Mat occupancyGridToCvMat (const nav_msgs::OccupancyGrid *map)
void redraw_Label_1 ()
void redraw_Label_2 ()
void redraw_Label_merged ()
virtual void shutdownPlugin ()
void timerCallback (const ros::TimerEvent &e)

Protected Member Functions

void map1Callback (nav_msgs::OccupancyGridConstPtr const &map)
void map2Callback (nav_msgs::OccupancyGridConstPtr const &map)

Protected Attributes

cv::Mat conversion_mat_
int current_idx_1_
int current_idx_2_
cv::Mat current_transform
cv::Mat cv_map_1_
cv::Mat cv_map_2_
std::vector< cv::Mat > cv_maps_1_
std::vector< cv::Mat > cv_maps_2_
int first_map_1_received
int first_map_2_received
ros::Publisher hector_command_pub_
ros::Subscriber map_1_sub_
ros::Publisher map_1_to_use_pub_
ros::Subscriber map_2_sub_
ros::Publisher map_2_to_use_pub_
ros::Timer map_save_timer_
ros::NodeHandle my_nh_
nav_msgs::OccupancyGrid og_map_1_
nav_msgs::OccupancyGrid og_map_2_
std::vector
< nav_msgs::OccupancyGrid > 
og_maps_1_
std::vector
< nav_msgs::OccupancyGrid > 
og_maps_2_
QImage qimage_1_
QImage qimage_2_
QImage qimage_merged_
QMutex qimage_mutex_
std::vector< QImage > qimages_1_
std::vector< QImage > qimages_2_
int stored_idx_1_
int stored_idx_2_
cv::Mat stored_transform
image_transport::Subscriber subscriber_
Ui::MapMergerWidget ui_
bool use_stored_transform_
QWidget * widget_

Detailed Description

Definition at line 59 of file map_merger.h.


Constructor & Destructor Documentation

Definition at line 54 of file map_merger.cpp.


Member Function Documentation

nav_msgs::OccupancyGrid rqt_map_merger::MapMerger::cvMatToOccupancyGrid ( const cv::Mat *  im)

Definition at line 324 of file map_merger.cpp.

bool rqt_map_merger::MapMerger::eventFilter ( QObject *  watched,
QEvent *  event 
)

Definition at line 247 of file map_merger.cpp.

Reimplemented from qt_gui_cpp::Plugin.

Definition at line 61 of file map_merger.cpp.

void rqt_map_merger::MapMerger::map1Callback ( nav_msgs::OccupancyGridConstPtr const &  map) [protected]

Definition at line 276 of file map_merger.cpp.

void rqt_map_merger::MapMerger::map2Callback ( nav_msgs::OccupancyGridConstPtr const &  map) [protected]

Definition at line 300 of file map_merger.cpp.

cv::Mat rqt_map_merger::MapMerger::occupancyGridToCvMat ( const nav_msgs::OccupancyGrid *  map)

Definition at line 345 of file map_merger.cpp.

Definition at line 156 of file map_merger.cpp.

Definition at line 146 of file map_merger.cpp.

Definition at line 167 of file map_merger.cpp.

Definition at line 126 of file map_merger.cpp.

Definition at line 136 of file map_merger.cpp.

Definition at line 150 of file map_merger.cpp.

Definition at line 173 of file map_merger.cpp.

Definition at line 192 of file map_merger.cpp.

Definition at line 212 of file map_merger.cpp.

Reimplemented from rqt_gui_cpp::Plugin.

Definition at line 271 of file map_merger.cpp.

Definition at line 113 of file map_merger.cpp.


Member Data Documentation

Definition at line 128 of file map_merger.h.

Definition at line 134 of file map_merger.h.

Definition at line 135 of file map_merger.h.

Definition at line 130 of file map_merger.h.

Definition at line 116 of file map_merger.h.

Definition at line 122 of file map_merger.h.

std::vector<cv::Mat> rqt_map_merger::MapMerger::cv_maps_1_ [protected]

Definition at line 113 of file map_merger.h.

std::vector<cv::Mat> rqt_map_merger::MapMerger::cv_maps_2_ [protected]

Definition at line 119 of file map_merger.h.

Definition at line 141 of file map_merger.h.

Definition at line 142 of file map_merger.h.

Definition at line 148 of file map_merger.h.

Definition at line 109 of file map_merger.h.

Definition at line 146 of file map_merger.h.

Definition at line 110 of file map_merger.h.

Definition at line 147 of file map_merger.h.

Definition at line 144 of file map_merger.h.

Definition at line 132 of file map_merger.h.

nav_msgs::OccupancyGrid rqt_map_merger::MapMerger::og_map_1_ [protected]

Definition at line 117 of file map_merger.h.

nav_msgs::OccupancyGrid rqt_map_merger::MapMerger::og_map_2_ [protected]

Definition at line 123 of file map_merger.h.

std::vector<nav_msgs::OccupancyGrid> rqt_map_merger::MapMerger::og_maps_1_ [protected]

Definition at line 114 of file map_merger.h.

std::vector<nav_msgs::OccupancyGrid> rqt_map_merger::MapMerger::og_maps_2_ [protected]

Definition at line 120 of file map_merger.h.

Definition at line 115 of file map_merger.h.

Definition at line 121 of file map_merger.h.

Definition at line 125 of file map_merger.h.

Definition at line 126 of file map_merger.h.

std::vector<QImage> rqt_map_merger::MapMerger::qimages_1_ [protected]

Definition at line 112 of file map_merger.h.

std::vector<QImage> rqt_map_merger::MapMerger::qimages_2_ [protected]

Definition at line 118 of file map_merger.h.

Definition at line 137 of file map_merger.h.

Definition at line 138 of file map_merger.h.

Definition at line 129 of file map_merger.h.

Definition at line 107 of file map_merger.h.

Ui::MapMergerWidget rqt_map_merger::MapMerger::ui_ [protected]

Definition at line 103 of file map_merger.h.

Definition at line 140 of file map_merger.h.

QWidget* rqt_map_merger::MapMerger::widget_ [protected]

Definition at line 105 of file map_merger.h.


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


hector_rqt_plugins
Author(s): Dirk Thomas, Thorsten Graber, Gregor Gebhardt
autogenerated on Thu Aug 27 2015 13:22:18