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::string & frameId () const
 
rtabmap::Transform getTransform (const std::string &fromFrameId, const std::string &toFrameId, const ros::Time &stamp) const
 
bool isPaused () const
 
 OdometryROS (bool stereoParams, bool visParams, bool icpParams)
 
const std::string & odomFrameId () const
 
const rtabmap::ParametersMapparameters () const
 
bool pause (std_srvs::Empty::Request &, std_srvs::Empty::Response &)
 
void processData (const rtabmap::SensorData &data, const ros::Time &stamp, const std::string &sensorFrameId)
 
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 ()
 
void startWarningThread (const std::string &subscribedTopicsMsg, bool approxSync)
 
tf::TransformListenertfListener ()
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::string & getName () 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< 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< 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 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< MyApproxSyncPolicy > * approxSync_
 
message_filters::Synchronizer< MyExactSync2Policy > * exactSync2_
 
message_filters::Synchronizer< MyExactSync3Policy > * exactSync3_
 
message_filters::Synchronizer< MyExactSync4Policy > * exactSync4_
 
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_
 
ros::Subscriber rgbdSub_
 

Detailed Description

Definition at line 59 of file rgbd_odometry.cpp.

Member Typedef Documentation

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

Definition at line 647 of file rgbd_odometry.cpp.

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

Definition at line 651 of file rgbd_odometry.cpp.

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 655 of file rgbd_odometry.cpp.

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

Definition at line 643 of file rgbd_odometry.cpp.

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

Definition at line 649 of file rgbd_odometry.cpp.

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

Definition at line 653 of file rgbd_odometry.cpp.

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 657 of file rgbd_odometry.cpp.

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

Definition at line 645 of file rgbd_odometry.cpp.

Constructor & Destructor Documentation

rtabmap_ros::RGBDOdometry::RGBDOdometry ( )
inline

Definition at line 62 of file rgbd_odometry.cpp.

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

Definition at line 77 of file rgbd_odometry.cpp.

Member Function Documentation

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

Definition at line 453 of file rgbd_odometry.cpp.

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

Definition at line 472 of file rgbd_odometry.cpp.

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

Definition at line 488 of file rgbd_odometry.cpp.

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

Definition at line 507 of file rgbd_odometry.cpp.

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 529 of file rgbd_odometry.cpp.

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 321 of file rgbd_odometry.cpp.

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

Implements rtabmap_ros::OdometryROS.

Definition at line 555 of file rgbd_odometry.cpp.

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

Implements rtabmap_ros::OdometryROS.

Definition at line 116 of file rgbd_odometry.cpp.

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

Definition at line 292 of file rgbd_odometry.cpp.

Member Data Documentation

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

Definition at line 648 of file rgbd_odometry.cpp.

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

Definition at line 652 of file rgbd_odometry.cpp.

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

Definition at line 656 of file rgbd_odometry.cpp.

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

Definition at line 644 of file rgbd_odometry.cpp.

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

Definition at line 650 of file rgbd_odometry.cpp.

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

Definition at line 654 of file rgbd_odometry.cpp.

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

Definition at line 658 of file rgbd_odometry.cpp.

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

Definition at line 646 of file rgbd_odometry.cpp.

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

Definition at line 634 of file rgbd_odometry.cpp.

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

Definition at line 633 of file rgbd_odometry.cpp.

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

Definition at line 635 of file rgbd_odometry.cpp.

bool rtabmap_ros::RGBDOdometry::keepColor_
private

Definition at line 660 of file rgbd_odometry.cpp.

int rtabmap_ros::RGBDOdometry::queueSize_
private

Definition at line 659 of file rgbd_odometry.cpp.

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

Definition at line 638 of file rgbd_odometry.cpp.

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

Definition at line 639 of file rgbd_odometry.cpp.

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

Definition at line 640 of file rgbd_odometry.cpp.

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

Definition at line 641 of file rgbd_odometry.cpp.

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

Definition at line 637 of file rgbd_odometry.cpp.


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


rtabmap_ros
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:42:19