Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
rtabmap_ros::RGBDOdometry Class Reference
Inheritance diagram for rtabmap_ros::RGBDOdometry:
Inheritance graph
[legend]

Public Member Functions

 RGBDOdometry ()
 
virtual ~RGBDOdometry ()
 
- Public Member Functions inherited from rtabmap_ros::OdometryROS
const std::stringframeId () const
 
const std::stringguessFrameId () const
 
bool isPaused () const
 
 OdometryROS (bool stereoParams, bool visParams, bool icpParams)
 
const std::stringodomFrameId () const
 
const rtabmap::ParametersMapparameters () const
 
bool pause (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
void processData (rtabmap::SensorData &data, const std_msgs::Header &header)
 
bool reset (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
bool resetToPose (rtabmap_ros::ResetPose::Request &, rtabmap_ros::ResetPose::Response &)
 
bool resume (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
bool setLogDebug (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
bool setLogError (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
bool setLogInfo (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
bool setLogWarn (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
virtual ~OdometryROS ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Protected Member Functions

virtual void flushCallbacks ()
 
- Protected Member Functions inherited from rtabmap_ros::OdometryROS
void callbackCalled ()
 
virtual void postProcessData (const rtabmap::SensorData &data, const std_msgs::Header &header) const
 
double previousStamp () const
 
void startWarningThread (const std::string &subscribedTopicsMsg, bool approxSync)
 
tf::TransformListenertfListener ()
 
rtabmap::Transform velocityGuess () const
 
double waitForTransformDuration () const
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Private Types

typedef message_filters::sync_policies::ApproximateTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyApproxSync2Policy
 
typedef message_filters::sync_policies::ApproximateTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyApproxSync3Policy
 
typedef message_filters::sync_policies::ApproximateTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyApproxSync4Policy
 
typedef message_filters::sync_policies::ApproximateTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyApproxSync5Policy
 
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo > MyApproxSyncPolicy
 
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyExactSync2Policy
 
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyExactSync3Policy
 
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyExactSync4Policy
 
typedef message_filters::sync_policies::ExactTime< rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage > MyExactSync5Policy
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo > MyExactSyncPolicy
 

Private Member Functions

void callback (const sensor_msgs::ImageConstPtr &image, const sensor_msgs::ImageConstPtr &depth, const sensor_msgs::CameraInfoConstPtr &cameraInfo)
 
void callbackRGBD (const rtabmap_ros::RGBDImageConstPtr &image)
 
void callbackRGBD2 (const rtabmap_ros::RGBDImageConstPtr &image, const rtabmap_ros::RGBDImageConstPtr &image2)
 
void callbackRGBD3 (const rtabmap_ros::RGBDImageConstPtr &image, const rtabmap_ros::RGBDImageConstPtr &image2, const rtabmap_ros::RGBDImageConstPtr &image3)
 
void callbackRGBD4 (const rtabmap_ros::RGBDImageConstPtr &image, const rtabmap_ros::RGBDImageConstPtr &image2, const rtabmap_ros::RGBDImageConstPtr &image3, const rtabmap_ros::RGBDImageConstPtr &image4)
 
void callbackRGBD5 (const rtabmap_ros::RGBDImageConstPtr &image, const rtabmap_ros::RGBDImageConstPtr &image2, const rtabmap_ros::RGBDImageConstPtr &image3, const rtabmap_ros::RGBDImageConstPtr &image4, const rtabmap_ros::RGBDImageConstPtr &image5)
 
void callbackRGBDX (const rtabmap_ros::RGBDImagesConstPtr &images)
 
void commonCallback (const std::vector< cv_bridge::CvImageConstPtr > &rgbImages, const std::vector< cv_bridge::CvImageConstPtr > &depthImages, const std::vector< sensor_msgs::CameraInfo > &cameraInfos)
 
virtual void onOdomInit ()
 
virtual void updateParameters (ParametersMap &parameters)
 

Private Attributes

message_filters::Synchronizer< MyApproxSync2Policy > * approxSync2_
 
message_filters::Synchronizer< MyApproxSync3Policy > * approxSync3_
 
message_filters::Synchronizer< MyApproxSync4Policy > * approxSync4_
 
message_filters::Synchronizer< MyApproxSync5Policy > * approxSync5_
 
message_filters::Synchronizer< MyApproxSyncPolicy > * approxSync_
 
message_filters::Synchronizer< MyExactSync2Policy > * exactSync2_
 
message_filters::Synchronizer< MyExactSync3Policy > * exactSync3_
 
message_filters::Synchronizer< MyExactSync4Policy > * exactSync4_
 
message_filters::Synchronizer< MyExactSync5Policy > * exactSync5_
 
message_filters::Synchronizer< MyExactSyncPolicy > * exactSync_
 
image_transport::SubscriberFilter image_depth_sub_
 
image_transport::SubscriberFilter image_mono_sub_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > info_sub_
 
bool keepColor_
 
int queueSize_
 
message_filters::Subscriber< rtabmap_ros::RGBDImage > rgbd_image1_sub_
 
message_filters::Subscriber< rtabmap_ros::RGBDImage > rgbd_image2_sub_
 
message_filters::Subscriber< rtabmap_ros::RGBDImage > rgbd_image3_sub_
 
message_filters::Subscriber< rtabmap_ros::RGBDImage > rgbd_image4_sub_
 
message_filters::Subscriber< rtabmap_ros::RGBDImage > rgbd_image5_sub_
 
ros::Subscriber rgbdSub_
 
ros::Subscriber rgbdxSub_
 

Detailed Description

Definition at line 60 of file rgbd_odometry.cpp.

Member Typedef Documentation

◆ MyApproxSync2Policy

typedef message_filters::sync_policies::ApproximateTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyApproxSync2Policy
private

Definition at line 828 of file rgbd_odometry.cpp.

◆ MyApproxSync3Policy

typedef message_filters::sync_policies::ApproximateTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyApproxSync3Policy
private

Definition at line 832 of file rgbd_odometry.cpp.

◆ MyApproxSync4Policy

typedef message_filters::sync_policies::ApproximateTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyApproxSync4Policy
private

Definition at line 836 of file rgbd_odometry.cpp.

◆ MyApproxSync5Policy

typedef message_filters::sync_policies::ApproximateTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyApproxSync5Policy
private

Definition at line 840 of file rgbd_odometry.cpp.

◆ MyApproxSyncPolicy

typedef message_filters::sync_policies::ApproximateTime<sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo> rtabmap_ros::RGBDOdometry::MyApproxSyncPolicy
private

Definition at line 824 of file rgbd_odometry.cpp.

◆ MyExactSync2Policy

typedef message_filters::sync_policies::ExactTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyExactSync2Policy
private

Definition at line 830 of file rgbd_odometry.cpp.

◆ MyExactSync3Policy

typedef message_filters::sync_policies::ExactTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyExactSync3Policy
private

Definition at line 834 of file rgbd_odometry.cpp.

◆ MyExactSync4Policy

typedef message_filters::sync_policies::ExactTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyExactSync4Policy
private

Definition at line 838 of file rgbd_odometry.cpp.

◆ MyExactSync5Policy

typedef message_filters::sync_policies::ExactTime<rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage, rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::MyExactSync5Policy
private

Definition at line 842 of file rgbd_odometry.cpp.

◆ MyExactSyncPolicy

typedef message_filters::sync_policies::ExactTime<sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo> rtabmap_ros::RGBDOdometry::MyExactSyncPolicy
private

Definition at line 826 of file rgbd_odometry.cpp.

Constructor & Destructor Documentation

◆ RGBDOdometry()

rtabmap_ros::RGBDOdometry::RGBDOdometry ( )
inline

Definition at line 63 of file rgbd_odometry.cpp.

◆ ~RGBDOdometry()

virtual rtabmap_ros::RGBDOdometry::~RGBDOdometry ( )
inlinevirtual

Definition at line 80 of file rgbd_odometry.cpp.

Member Function Documentation

◆ callback()

void rtabmap_ros::RGBDOdometry::callback ( const sensor_msgs::ImageConstPtr &  image,
const sensor_msgs::ImageConstPtr &  depth,
const sensor_msgs::CameraInfoConstPtr &  cameraInfo 
)
inlineprivate

Definition at line 544 of file rgbd_odometry.cpp.

◆ callbackRGBD()

void rtabmap_ros::RGBDOdometry::callbackRGBD ( const rtabmap_ros::RGBDImageConstPtr &  image)
inlineprivate

Definition at line 575 of file rgbd_odometry.cpp.

◆ callbackRGBD2()

void rtabmap_ros::RGBDOdometry::callbackRGBD2 ( const rtabmap_ros::RGBDImageConstPtr &  image,
const rtabmap_ros::RGBDImageConstPtr &  image2 
)
inlineprivate

Definition at line 615 of file rgbd_odometry.cpp.

◆ callbackRGBD3()

void rtabmap_ros::RGBDOdometry::callbackRGBD3 ( const rtabmap_ros::RGBDImageConstPtr &  image,
const rtabmap_ros::RGBDImageConstPtr &  image2,
const rtabmap_ros::RGBDImageConstPtr &  image3 
)
inlineprivate

Definition at line 634 of file rgbd_odometry.cpp.

◆ callbackRGBD4()

void rtabmap_ros::RGBDOdometry::callbackRGBD4 ( const rtabmap_ros::RGBDImageConstPtr &  image,
const rtabmap_ros::RGBDImageConstPtr &  image2,
const rtabmap_ros::RGBDImageConstPtr &  image3,
const rtabmap_ros::RGBDImageConstPtr &  image4 
)
inlineprivate

Definition at line 656 of file rgbd_odometry.cpp.

◆ callbackRGBD5()

void rtabmap_ros::RGBDOdometry::callbackRGBD5 ( const rtabmap_ros::RGBDImageConstPtr &  image,
const rtabmap_ros::RGBDImageConstPtr &  image2,
const rtabmap_ros::RGBDImageConstPtr &  image3,
const rtabmap_ros::RGBDImageConstPtr &  image4,
const rtabmap_ros::RGBDImageConstPtr &  image5 
)
inlineprivate

Definition at line 681 of file rgbd_odometry.cpp.

◆ callbackRGBDX()

void rtabmap_ros::RGBDOdometry::callbackRGBDX ( const rtabmap_ros::RGBDImagesConstPtr &  images)
inlineprivate

Definition at line 591 of file rgbd_odometry.cpp.

◆ commonCallback()

void rtabmap_ros::RGBDOdometry::commonCallback ( const std::vector< cv_bridge::CvImageConstPtr > &  rgbImages,
const std::vector< cv_bridge::CvImageConstPtr > &  depthImages,
const std::vector< sensor_msgs::CameraInfo > &  cameraInfos 
)
inlineprivate

Definition at line 389 of file rgbd_odometry.cpp.

◆ flushCallbacks()

virtual void rtabmap_ros::RGBDOdometry::flushCallbacks ( )
inlineprotectedvirtual

Implements rtabmap_ros::OdometryROS.

Definition at line 710 of file rgbd_odometry.cpp.

◆ onOdomInit()

virtual void rtabmap_ros::RGBDOdometry::onOdomInit ( )
inlineprivatevirtual

Implements rtabmap_ros::OdometryROS.

Definition at line 128 of file rgbd_odometry.cpp.

◆ updateParameters()

virtual void rtabmap_ros::RGBDOdometry::updateParameters ( ParametersMap parameters)
inlineprivatevirtual

Definition at line 370 of file rgbd_odometry.cpp.

Member Data Documentation

◆ approxSync2_

message_filters::Synchronizer<MyApproxSync2Policy>* rtabmap_ros::RGBDOdometry::approxSync2_
private

Definition at line 829 of file rgbd_odometry.cpp.

◆ approxSync3_

message_filters::Synchronizer<MyApproxSync3Policy>* rtabmap_ros::RGBDOdometry::approxSync3_
private

Definition at line 833 of file rgbd_odometry.cpp.

◆ approxSync4_

message_filters::Synchronizer<MyApproxSync4Policy>* rtabmap_ros::RGBDOdometry::approxSync4_
private

Definition at line 837 of file rgbd_odometry.cpp.

◆ approxSync5_

message_filters::Synchronizer<MyApproxSync5Policy>* rtabmap_ros::RGBDOdometry::approxSync5_
private

Definition at line 841 of file rgbd_odometry.cpp.

◆ approxSync_

message_filters::Synchronizer<MyApproxSyncPolicy>* rtabmap_ros::RGBDOdometry::approxSync_
private

Definition at line 825 of file rgbd_odometry.cpp.

◆ exactSync2_

message_filters::Synchronizer<MyExactSync2Policy>* rtabmap_ros::RGBDOdometry::exactSync2_
private

Definition at line 831 of file rgbd_odometry.cpp.

◆ exactSync3_

message_filters::Synchronizer<MyExactSync3Policy>* rtabmap_ros::RGBDOdometry::exactSync3_
private

Definition at line 835 of file rgbd_odometry.cpp.

◆ exactSync4_

message_filters::Synchronizer<MyExactSync4Policy>* rtabmap_ros::RGBDOdometry::exactSync4_
private

Definition at line 839 of file rgbd_odometry.cpp.

◆ exactSync5_

message_filters::Synchronizer<MyExactSync5Policy>* rtabmap_ros::RGBDOdometry::exactSync5_
private

Definition at line 843 of file rgbd_odometry.cpp.

◆ exactSync_

message_filters::Synchronizer<MyExactSyncPolicy>* rtabmap_ros::RGBDOdometry::exactSync_
private

Definition at line 827 of file rgbd_odometry.cpp.

◆ image_depth_sub_

image_transport::SubscriberFilter rtabmap_ros::RGBDOdometry::image_depth_sub_
private

Definition at line 813 of file rgbd_odometry.cpp.

◆ image_mono_sub_

image_transport::SubscriberFilter rtabmap_ros::RGBDOdometry::image_mono_sub_
private

Definition at line 812 of file rgbd_odometry.cpp.

◆ info_sub_

message_filters::Subscriber<sensor_msgs::CameraInfo> rtabmap_ros::RGBDOdometry::info_sub_
private

Definition at line 814 of file rgbd_odometry.cpp.

◆ keepColor_

bool rtabmap_ros::RGBDOdometry::keepColor_
private

Definition at line 845 of file rgbd_odometry.cpp.

◆ queueSize_

int rtabmap_ros::RGBDOdometry::queueSize_
private

Definition at line 844 of file rgbd_odometry.cpp.

◆ rgbd_image1_sub_

message_filters::Subscriber<rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::rgbd_image1_sub_
private

Definition at line 818 of file rgbd_odometry.cpp.

◆ rgbd_image2_sub_

message_filters::Subscriber<rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::rgbd_image2_sub_
private

Definition at line 819 of file rgbd_odometry.cpp.

◆ rgbd_image3_sub_

message_filters::Subscriber<rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::rgbd_image3_sub_
private

Definition at line 820 of file rgbd_odometry.cpp.

◆ rgbd_image4_sub_

message_filters::Subscriber<rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::rgbd_image4_sub_
private

Definition at line 821 of file rgbd_odometry.cpp.

◆ rgbd_image5_sub_

message_filters::Subscriber<rtabmap_ros::RGBDImage> rtabmap_ros::RGBDOdometry::rgbd_image5_sub_
private

Definition at line 822 of file rgbd_odometry.cpp.

◆ rgbdSub_

ros::Subscriber rtabmap_ros::RGBDOdometry::rgbdSub_
private

Definition at line 816 of file rgbd_odometry.cpp.

◆ rgbdxSub_

ros::Subscriber rtabmap_ros::RGBDOdometry::rgbdxSub_
private

Definition at line 817 of file rgbd_odometry.cpp.


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


rtabmap_ros
Author(s): Mathieu Labbe
autogenerated on Tue Jan 24 2023 04:04:40