#include <GuiWrapper.h>
Public Member Functions | |
GuiWrapper (int &argc, char **argv) | |
virtual | ~GuiWrapper () |
Protected Member Functions | |
virtual bool | handleEvent (UEvent *anEvent) |
Private Types | |
typedef message_filters::sync_policies::ExactTime < rtabmap_ros::Goal, nav_msgs::Path > | MyGoalPathSyncPolicy |
typedef message_filters::sync_policies::ExactTime < rtabmap_ros::Info, rtabmap_ros::MapData > | MyInfoMapSyncPolicy |
Private Member Functions | |
virtual void | commonDepthCallback (const nav_msgs::OdometryConstPtr &odomMsg, const rtabmap_ros::UserDataConstPtr &userDataMsg, const std::vector< cv_bridge::CvImageConstPtr > &imageMsgs, const std::vector< cv_bridge::CvImageConstPtr > &depthMsgs, const std::vector< sensor_msgs::CameraInfo > &cameraInfoMsgs, const sensor_msgs::LaserScanConstPtr &scan2dMsg, const sensor_msgs::PointCloud2ConstPtr &scan3dMsg, const rtabmap_ros::OdomInfoConstPtr &odomInfoMsg) |
virtual void | commonStereoCallback (const nav_msgs::OdometryConstPtr &odomMsg, const rtabmap_ros::UserDataConstPtr &userDataMsg, const cv_bridge::CvImageConstPtr &leftImageMsg, const cv_bridge::CvImageConstPtr &rightImageMsg, const sensor_msgs::CameraInfo &leftCamInfoMsg, const sensor_msgs::CameraInfo &rightCamInfoMsg, const sensor_msgs::LaserScanConstPtr &scan2dMsg, const sensor_msgs::PointCloud2ConstPtr &scan3dMsg, const rtabmap_ros::OdomInfoConstPtr &odomInfoMsg) |
void | defaultCallback (const nav_msgs::OdometryConstPtr &odomMsg) |
void | goalPathCallback (const rtabmap_ros::GoalConstPtr &goalMsg, const nav_msgs::PathConstPtr &pathMsg) |
void | goalReachedCallback (const std_msgs::BoolConstPtr &value) |
void | infoMapCallback (const rtabmap_ros::InfoConstPtr &infoMsg, const rtabmap_ros::MapDataConstPtr &mapMsg) |
void | processRequestedMap (const rtabmap_ros::MapData &map) |
Private Attributes | |
std::string | cameraNodeName_ |
ros::Subscriber | defaultSub_ |
std::string | frameId_ |
message_filters::Synchronizer < MyGoalPathSyncPolicy > * | goalPathSync_ |
ros::Subscriber | goalReachedTopic_ |
message_filters::Subscriber < rtabmap_ros::Goal > | goalTopic_ |
message_filters::Synchronizer < MyInfoMapSyncPolicy > * | infoMapSync_ |
message_filters::Subscriber < rtabmap_ros::Info > | infoTopic_ |
double | lastOdomInfoUpdateTime_ |
rtabmap::MainWindow * | mainWindow_ |
message_filters::Subscriber < rtabmap_ros::MapData > | mapDataTopic_ |
std::string | odomFrameId_ |
bool | odomSensorSync_ |
message_filters::Subscriber < nav_msgs::Path > | pathTopic_ |
tf::TransformListener | tfListener_ |
bool | waitForTransform_ |
double | waitForTransformDuration_ |
Definition at line 56 of file GuiWrapper.h.
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::Goal, nav_msgs::Path> rtabmap_ros::GuiWrapper::MyGoalPathSyncPolicy [private] |
Definition at line 123 of file GuiWrapper.h.
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::Info, rtabmap_ros::MapData> rtabmap_ros::GuiWrapper::MyInfoMapSyncPolicy [private] |
Definition at line 118 of file GuiWrapper.h.
rtabmap_ros::GuiWrapper::GuiWrapper | ( | int & | argc, |
char ** | argv | ||
) |
Definition at line 65 of file GuiWrapper.cpp.
rtabmap_ros::GuiWrapper::~GuiWrapper | ( | ) | [virtual] |
Definition at line 185 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::commonDepthCallback | ( | const nav_msgs::OdometryConstPtr & | odomMsg, |
const rtabmap_ros::UserDataConstPtr & | userDataMsg, | ||
const std::vector< cv_bridge::CvImageConstPtr > & | imageMsgs, | ||
const std::vector< cv_bridge::CvImageConstPtr > & | depthMsgs, | ||
const std::vector< sensor_msgs::CameraInfo > & | cameraInfoMsgs, | ||
const sensor_msgs::LaserScanConstPtr & | scan2dMsg, | ||
const sensor_msgs::PointCloud2ConstPtr & | scan3dMsg, | ||
const rtabmap_ros::OdomInfoConstPtr & | odomInfoMsg | ||
) | [private, virtual] |
Implements rtabmap_ros::CommonDataSubscriber.
Definition at line 425 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::commonStereoCallback | ( | const nav_msgs::OdometryConstPtr & | odomMsg, |
const rtabmap_ros::UserDataConstPtr & | userDataMsg, | ||
const cv_bridge::CvImageConstPtr & | leftImageMsg, | ||
const cv_bridge::CvImageConstPtr & | rightImageMsg, | ||
const sensor_msgs::CameraInfo & | leftCamInfoMsg, | ||
const sensor_msgs::CameraInfo & | rightCamInfoMsg, | ||
const sensor_msgs::LaserScanConstPtr & | scan2dMsg, | ||
const sensor_msgs::PointCloud2ConstPtr & | scan3dMsg, | ||
const rtabmap_ros::OdomInfoConstPtr & | odomInfoMsg | ||
) | [private, virtual] |
Implements rtabmap_ros::CommonDataSubscriber.
Definition at line 590 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::defaultCallback | ( | const nav_msgs::OdometryConstPtr & | odomMsg | ) | [private] |
Definition at line 746 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::goalPathCallback | ( | const rtabmap_ros::GoalConstPtr & | goalMsg, |
const nav_msgs::PathConstPtr & | pathMsg | ||
) | [private] |
Definition at line 221 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::goalReachedCallback | ( | const std_msgs::BoolConstPtr & | value | ) | [private] |
Definition at line 235 of file GuiWrapper.cpp.
bool rtabmap_ros::GuiWrapper::handleEvent | ( | UEvent * | anEvent | ) | [protected, virtual] |
Implements UEventsHandler.
Definition at line 256 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::infoMapCallback | ( | const rtabmap_ros::InfoConstPtr & | infoMsg, |
const rtabmap_ros::MapDataConstPtr & | mapMsg | ||
) | [private] |
Definition at line 193 of file GuiWrapper.cpp.
void rtabmap_ros::GuiWrapper::processRequestedMap | ( | const rtabmap_ros::MapData & | map | ) | [private] |
Definition at line 241 of file GuiWrapper.cpp.
std::string rtabmap_ros::GuiWrapper::cameraNodeName_ [private] |
Definition at line 96 of file GuiWrapper.h.
Definition at line 114 of file GuiWrapper.h.
std::string rtabmap_ros::GuiWrapper::frameId_ [private] |
Definition at line 100 of file GuiWrapper.h.
message_filters::Synchronizer<MyGoalPathSyncPolicy>* rtabmap_ros::GuiWrapper::goalPathSync_ [private] |
Definition at line 124 of file GuiWrapper.h.
Definition at line 112 of file GuiWrapper.h.
message_filters::Subscriber<rtabmap_ros::Goal> rtabmap_ros::GuiWrapper::goalTopic_ [private] |
Definition at line 110 of file GuiWrapper.h.
Definition at line 119 of file GuiWrapper.h.
Definition at line 107 of file GuiWrapper.h.
double rtabmap_ros::GuiWrapper::lastOdomInfoUpdateTime_ [private] |
Definition at line 97 of file GuiWrapper.h.
Definition at line 95 of file GuiWrapper.h.
message_filters::Subscriber<rtabmap_ros::MapData> rtabmap_ros::GuiWrapper::mapDataTopic_ [private] |
Definition at line 108 of file GuiWrapper.h.
std::string rtabmap_ros::GuiWrapper::odomFrameId_ [private] |
Definition at line 101 of file GuiWrapper.h.
bool rtabmap_ros::GuiWrapper::odomSensorSync_ [private] |
Definition at line 104 of file GuiWrapper.h.
message_filters::Subscriber<nav_msgs::Path> rtabmap_ros::GuiWrapper::pathTopic_ [private] |
Definition at line 111 of file GuiWrapper.h.
Definition at line 105 of file GuiWrapper.h.
bool rtabmap_ros::GuiWrapper::waitForTransform_ [private] |
Definition at line 102 of file GuiWrapper.h.
double rtabmap_ros::GuiWrapper::waitForTransformDuration_ [private] |
Definition at line 103 of file GuiWrapper.h.