#include <CommonDataSubscriber.h>
Public Member Functions | |
CommonDataSubscriber (bool gui) | |
int | getQueueSize () const |
bool | isApproxSync () const |
bool | isDataSubscribed () const |
bool | isSubscribedToDepth () const |
bool | isSubscribedToOdom () const |
bool | isSubscribedToOdomInfo () const |
bool | isSubscribedToRGB () const |
bool | isSubscribedToRGBD () const |
bool | isSubscribedToScan2d () const |
bool | isSubscribedToScan3d () const |
bool | isSubscribedToStereo () const |
const std::string & | name () const |
int | rgbdCameras () const |
virtual | ~CommonDataSubscriber () |
Protected Member Functions | |
virtual void | commonLaserScanCallback (const nav_msgs::OdometryConstPtr &odomMsg, const rtabmap_ros::UserDataConstPtr &userDataMsg, const sensor_msgs::LaserScan &scanMsg, const sensor_msgs::PointCloud2 &scan3dMsg, const rtabmap_ros::OdomInfoConstPtr &odomInfoMsg, const rtabmap_ros::GlobalDescriptor &globalDescriptor=rtabmap_ros::GlobalDescriptor())=0 |
virtual void | commonMultiCameraCallback (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 std::vector< sensor_msgs::CameraInfo > &depthCameraInfoMsgs, const sensor_msgs::LaserScan &scanMsg, const sensor_msgs::PointCloud2 &scan3dMsg, const rtabmap_ros::OdomInfoConstPtr &odomInfoMsg, const std::vector< rtabmap_ros::GlobalDescriptor > &globalDescriptorMsgs=std::vector< rtabmap_ros::GlobalDescriptor >(), const std::vector< std::vector< rtabmap_ros::KeyPoint > > &localKeyPoints=std::vector< std::vector< rtabmap_ros::KeyPoint > >(), const std::vector< std::vector< rtabmap_ros::Point3f > > &localPoints3d=std::vector< std::vector< rtabmap_ros::Point3f > >(), const std::vector< cv::Mat > &localDescriptors=std::vector< cv::Mat >())=0 |
virtual void | commonOdomCallback (const nav_msgs::OdometryConstPtr &odomMsg, const rtabmap_ros::UserDataConstPtr &userDataMsg, const rtabmap_ros::OdomInfoConstPtr &odomInfoMsg)=0 |
void | commonSingleCameraCallback (const nav_msgs::OdometryConstPtr &odomMsg, const rtabmap_ros::UserDataConstPtr &userDataMsg, const cv_bridge::CvImageConstPtr &imageMsg, const cv_bridge::CvImageConstPtr &depthMsg, const sensor_msgs::CameraInfo &rgbCameraInfoMsg, const sensor_msgs::CameraInfo &depthCameraInfoMsg, const sensor_msgs::LaserScan &scanMsg, const sensor_msgs::PointCloud2 &scan3dMsg, const rtabmap_ros::OdomInfoConstPtr &odomInfoMsg, const std::vector< rtabmap_ros::GlobalDescriptor > &globalDescriptorMsgs=std::vector< rtabmap_ros::GlobalDescriptor >(), const std::vector< rtabmap_ros::KeyPoint > &localKeyPoints=std::vector< rtabmap_ros::KeyPoint >(), const std::vector< rtabmap_ros::Point3f > &localPoints3d=std::vector< rtabmap_ros::Point3f >(), const cv::Mat &localDescriptors=cv::Mat()) |
void | setupCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, const std::string &name) |
Protected Attributes | |
int | queueSize_ |
std::string | subscribedTopicsMsg_ |
Private Member Functions | |
void | callbackCalled () |
DATA_SYNCS2 (rgb, sensor_msgs::Image, sensor_msgs::CameraInfo) | |
DATA_SYNCS2 (rgbdScan2d, rtabmap_ros::RGBDImage, sensor_msgs::LaserScan) | |
DATA_SYNCS2 (rgbdScanDesc, rtabmap_ros::RGBDImage, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS2 (rgbdInfo, rtabmap_ros::RGBDImage, rtabmap_ros::OdomInfo) | |
DATA_SYNCS2 (rgbdOdom, nav_msgs::Odometry, rtabmap_ros::RGBDImage) | |
DATA_SYNCS2 (rgbdXScan2d, rtabmap_ros::RGBDImages, sensor_msgs::LaserScan) | |
DATA_SYNCS2 (rgbdXScanDesc, rtabmap_ros::RGBDImages, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS2 (rgbdXInfo, rtabmap_ros::RGBDImages, rtabmap_ros::OdomInfo) | |
DATA_SYNCS2 (rgbdXOdom, nav_msgs::Odometry, rtabmap_ros::RGBDImages) | |
DATA_SYNCS2 (scan2dInfo, sensor_msgs::LaserScan, rtabmap_ros::OdomInfo) | |
DATA_SYNCS2 (scan3dInfo, sensor_msgs::PointCloud2, rtabmap_ros::OdomInfo) | |
DATA_SYNCS2 (scanDescInfo, rtabmap_ros::ScanDescriptor, rtabmap_ros::OdomInfo) | |
DATA_SYNCS2 (odomScan2d, nav_msgs::Odometry, sensor_msgs::LaserScan) | |
DATA_SYNCS2 (odomScan3d, nav_msgs::Odometry, sensor_msgs::PointCloud2) | |
DATA_SYNCS2 (odomScanDesc, nav_msgs::Odometry, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS2 (odomInfo, nav_msgs::Odometry, rtabmap_ros::OdomInfo) | |
DATA_SYNCS3 (depth, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo) | |
DATA_SYNCS3 (rgbScan2d, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan) | |
DATA_SYNCS3 (rgbScan3d, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2) | |
DATA_SYNCS3 (rgbScanDesc, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS3 (rgbInfo, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::OdomInfo) | |
DATA_SYNCS3 (rgbOdom, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo) | |
DATA_SYNCS3 (rgbdOdomScan2d, nav_msgs::Odometry, rtabmap_ros::RGBDImage, sensor_msgs::LaserScan) | |
DATA_SYNCS3 (rgbdOdomScan3d, nav_msgs::Odometry, rtabmap_ros::RGBDImage, sensor_msgs::PointCloud2) | |
DATA_SYNCS3 (rgbdOdomScanDesc, nav_msgs::Odometry, rtabmap_ros::RGBDImage, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS3 (rgbdOdomInfo, nav_msgs::Odometry, rtabmap_ros::RGBDImage, rtabmap_ros::OdomInfo) | |
DATA_SYNCS3 (rgbdXOdomScan2d, nav_msgs::Odometry, rtabmap_ros::RGBDImages, sensor_msgs::LaserScan) | |
DATA_SYNCS3 (rgbdXOdomScan3d, nav_msgs::Odometry, rtabmap_ros::RGBDImages, sensor_msgs::PointCloud2) | |
DATA_SYNCS3 (rgbdXOdomScanDesc, nav_msgs::Odometry, rtabmap_ros::RGBDImages, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS3 (rgbdXOdomInfo, nav_msgs::Odometry, rtabmap_ros::RGBDImages, rtabmap_ros::OdomInfo) | |
DATA_SYNCS3 (odomScan2dInfo, nav_msgs::Odometry, sensor_msgs::LaserScan, rtabmap_ros::OdomInfo) | |
DATA_SYNCS3 (odomScan3dInfo, nav_msgs::Odometry, sensor_msgs::PointCloud2, rtabmap_ros::OdomInfo) | |
DATA_SYNCS3 (odomScanDescInfo, nav_msgs::Odometry, rtabmap_ros::ScanDescriptor, rtabmap_ros::OdomInfo) | |
DATA_SYNCS4 (depthScan2d, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan) | |
DATA_SYNCS4 (depthScan3d, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2) | |
DATA_SYNCS4 (depthScanDesc, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS4 (depthInfo, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::OdomInfo) | |
DATA_SYNCS4 (depthOdom, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo) | |
DATA_SYNCS4 (stereo, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::CameraInfo) | |
DATA_SYNCS4 (rgbScan2dInfo, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan, rtabmap_ros::OdomInfo) | |
DATA_SYNCS4 (rgbScan3dInfo, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2, rtabmap_ros::OdomInfo) | |
DATA_SYNCS4 (rgbScanDescInfo, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor, rtabmap_ros::OdomInfo) | |
DATA_SYNCS4 (rgbOdomScan2d, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan) | |
DATA_SYNCS4 (rgbOdomScan3d, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2) | |
DATA_SYNCS4 (rgbOdomScanDesc, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS4 (rgbOdomInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (depthScan2dInfo, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (depthScan3dInfo, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (depthScanDescInfo, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (depthOdomScan2d, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan) | |
DATA_SYNCS5 (depthOdomScan3d, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2) | |
DATA_SYNCS5 (depthOdomScanDesc, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor) | |
DATA_SYNCS5 (depthOdomInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (stereoInfo, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::CameraInfo, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (stereoOdom, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::CameraInfo) | |
DATA_SYNCS5 (rgbOdomScan2dInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (rgbOdomScan3dInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2, rtabmap_ros::OdomInfo) | |
DATA_SYNCS5 (rgbOdomScanDescInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor, rtabmap_ros::OdomInfo) | |
DATA_SYNCS6 (depthOdomScan2dInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::LaserScan, rtabmap_ros::OdomInfo) | |
DATA_SYNCS6 (depthOdomScan3dInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::PointCloud2, rtabmap_ros::OdomInfo) | |
DATA_SYNCS6 (depthOdomScanDescInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, rtabmap_ros::ScanDescriptor, rtabmap_ros::OdomInfo) | |
DATA_SYNCS6 (stereoOdomInfo, nav_msgs::Odometry, sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::CameraInfo, rtabmap_ros::OdomInfo) | |
void | odomCallback (const nav_msgs::OdometryConstPtr &) |
void | rgbdCallback (const rtabmap_ros::RGBDImageConstPtr &) |
void | rgbdXCallback (const rtabmap_ros::RGBDImagesConstPtr &) |
void | scan2dCallback (const sensor_msgs::LaserScanConstPtr &) |
void | scan3dCallback (const sensor_msgs::PointCloud2ConstPtr &) |
void | scanDescCallback (const rtabmap_ros::ScanDescriptorConstPtr &) |
void | setupDepthCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeOdom, bool subscribeUserData, bool subscribeScan2d, bool subscribeScan3d, bool subscribeScanDesc, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | setupOdomCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeUserData, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | setupRGBCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeOdom, bool subscribeUserData, bool subscribeScan2d, bool subscribeScan3d, bool subscribeScanDesc, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | setupRGBDCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeOdom, bool subscribeUserData, bool subscribeScan2d, bool subscribeScan3d, bool subscribeScanDesc, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | setupRGBDXCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeOdom, bool subscribeUserData, bool subscribeScan2d, bool subscribeScan3d, bool subscribeScanDesc, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | setupScanCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeScan2d, bool subscribeScanDesc, bool subscribeOdom, bool subscribeUserData, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | setupStereoCallbacks (ros::NodeHandle &nh, ros::NodeHandle &pnh, bool subscribeOdom, bool subscribeOdomInfo, int queueSize, bool approxSync) |
void | warningLoop () |
Definition at line 59 of file CommonDataSubscriber.h.
rtabmap_ros::CommonDataSubscriber::CommonDataSubscriber | ( | bool | gui | ) |
Definition at line 32 of file CommonDataSubscriber.cpp.
|
virtual |
Definition at line 669 of file CommonDataSubscriber.cpp.
|
inlineprivate |
Definition at line 126 of file CommonDataSubscriber.h.
|
protectedpure virtual |
Implemented in rtabmap_ros::CoreWrapper, and rtabmap_ros::GuiWrapper.
|
protectedpure virtual |
Implemented in rtabmap_ros::CoreWrapper, and rtabmap_ros::GuiWrapper.
|
protectedpure virtual |
Implemented in rtabmap_ros::CoreWrapper, and rtabmap_ros::GuiWrapper.
|
protected |
Definition at line 1014 of file CommonDataSubscriber.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 74 of file CommonDataSubscriber.h.
|
inline |
Definition at line 75 of file CommonDataSubscriber.h.
|
inline |
Definition at line 72 of file CommonDataSubscriber.h.
|
inline |
Definition at line 64 of file CommonDataSubscriber.h.
|
inline |
Definition at line 67 of file CommonDataSubscriber.h.
|
inline |
Definition at line 71 of file CommonDataSubscriber.h.
|
inline |
Definition at line 66 of file CommonDataSubscriber.h.
|
inline |
Definition at line 68 of file CommonDataSubscriber.h.
|
inline |
Definition at line 69 of file CommonDataSubscriber.h.
|
inline |
Definition at line 70 of file CommonDataSubscriber.h.
|
inline |
Definition at line 65 of file CommonDataSubscriber.h.
|
inline |
Definition at line 76 of file CommonDataSubscriber.h.
|
private |
Definition at line 32 of file CommonDataSubscriberOdom.cpp.
|
private |
Definition at line 37 of file CommonDataSubscriberRGBD.cpp.
|
inline |
Definition at line 73 of file CommonDataSubscriber.h.
|
private |
Definition at line 62 of file CommonDataSubscriberRGBDX.cpp.
|
private |
Definition at line 32 of file CommonDataSubscriberScan.cpp.
|
private |
Definition at line 42 of file CommonDataSubscriberScan.cpp.
|
private |
Definition at line 52 of file CommonDataSubscriberScan.cpp.
|
protected |
Definition at line 357 of file CommonDataSubscriber.cpp.
|
private |
Definition at line 458 of file CommonDataSubscriberDepth.cpp.
|
private |
Definition at line 70 of file CommonDataSubscriberOdom.cpp.
|
private |
Definition at line 458 of file CommonDataSubscriberRGB.cpp.
|
private |
Definition at line 534 of file CommonDataSubscriberRGBD.cpp.
|
private |
Definition at line 322 of file CommonDataSubscriberRGBDX.cpp.
|
private |
Definition at line 270 of file CommonDataSubscriberScan.cpp.
|
private |
Definition at line 92 of file CommonDataSubscriberStereo.cpp.
|
private |
Definition at line 993 of file CommonDataSubscriber.cpp.
|
private |
Definition at line 258 of file CommonDataSubscriber.h.
|
private |
Definition at line 260 of file CommonDataSubscriber.h.
|
private |
Definition at line 286 of file CommonDataSubscriber.h.
|
private |
Definition at line 287 of file CommonDataSubscriber.h.
|
private |
Definition at line 275 of file CommonDataSubscriber.h.
|
private |
Definition at line 274 of file CommonDataSubscriber.h.
|
private |
Definition at line 284 of file CommonDataSubscriber.h.
|
private |
Definition at line 285 of file CommonDataSubscriber.h.
|
private |
Definition at line 273 of file CommonDataSubscriber.h.
|
private |
Definition at line 270 of file CommonDataSubscriber.h.
|
private |
Definition at line 294 of file CommonDataSubscriber.h.
|
private |
Definition at line 289 of file CommonDataSubscriber.h.
|
private |
Definition at line 299 of file CommonDataSubscriber.h.
|
protected |
Definition at line 255 of file CommonDataSubscriber.h.
|
private |
Definition at line 278 of file CommonDataSubscriber.h.
|
private |
Definition at line 279 of file CommonDataSubscriber.h.
|
private |
Definition at line 281 of file CommonDataSubscriber.h.
|
private |
Definition at line 280 of file CommonDataSubscriber.h.
|
private |
Definition at line 296 of file CommonDataSubscriber.h.
|
private |
Definition at line 292 of file CommonDataSubscriber.h.
|
private |
Definition at line 297 of file CommonDataSubscriber.h.
|
private |
Definition at line 293 of file CommonDataSubscriber.h.
|
private |
Definition at line 298 of file CommonDataSubscriber.h.
|
private |
Definition at line 291 of file CommonDataSubscriber.h.
|
private |
Definition at line 261 of file CommonDataSubscriber.h.
|
private |
Definition at line 264 of file CommonDataSubscriber.h.
|
private |
Definition at line 269 of file CommonDataSubscriber.h.
|
protected |
Definition at line 254 of file CommonDataSubscriber.h.
|
private |
Definition at line 263 of file CommonDataSubscriber.h.
|
private |
Definition at line 265 of file CommonDataSubscriber.h.
|
private |
Definition at line 266 of file CommonDataSubscriber.h.
|
private |
Definition at line 267 of file CommonDataSubscriber.h.
|
private |
Definition at line 268 of file CommonDataSubscriber.h.
|
private |
Definition at line 262 of file CommonDataSubscriber.h.
|
private |
Definition at line 290 of file CommonDataSubscriber.h.
|
private |
Definition at line 259 of file CommonDataSubscriber.h.