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

Public Member Functions

 StereoSync ()
 
virtual ~StereoSync ()
 
- 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 ()
 

Private Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::CameraInfoMyApproxSyncPolicy
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo, sensor_msgs::CameraInfoMyExactSyncPolicy
 

Private Member Functions

void callback (const sensor_msgs::ImageConstPtr &imageLeft, const sensor_msgs::ImageConstPtr &imageRight, const sensor_msgs::CameraInfoConstPtr &cameraInfoLeft, const sensor_msgs::CameraInfoConstPtr &cameraInfoRight)
 
virtual void onInit ()
 

Private Attributes

message_filters::Synchronizer< MyApproxSyncPolicy > * approxSync_
 
message_filters::Subscriber< sensor_msgs::CameraInfocameraInfoLeftSub_
 
message_filters::Subscriber< sensor_msgs::CameraInfocameraInfoRightSub_
 
double compressedRate_
 
message_filters::Synchronizer< MyExactSyncPolicy > * exactSync_
 
image_transport::SubscriberFilter imageLeftSub_
 
image_transport::SubscriberFilter imageRightSub_
 
ros::Time lastCompressedPublished_
 
ros::Publisher rgbdImageCompressedPub_
 
ros::Publisher rgbdImagePub_
 
std::unique_ptr< SyncDiagnosticsyncDiagnostic_
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 59 of file stereo_sync.cpp.

Member Typedef Documentation

◆ MyApproxSyncPolicy

Definition at line 253 of file stereo_sync.cpp.

◆ MyExactSyncPolicy

Definition at line 256 of file stereo_sync.cpp.

Constructor & Destructor Documentation

◆ StereoSync()

rtabmap_sync::StereoSync::StereoSync ( )
inline

Definition at line 62 of file stereo_sync.cpp.

◆ ~StereoSync()

virtual rtabmap_sync::StereoSync::~StereoSync ( )
inlinevirtual

Definition at line 68 of file stereo_sync.cpp.

Member Function Documentation

◆ callback()

void rtabmap_sync::StereoSync::callback ( const sensor_msgs::ImageConstPtr &  imageLeft,
const sensor_msgs::ImageConstPtr &  imageRight,
const sensor_msgs::CameraInfoConstPtr &  cameraInfoLeft,
const sensor_msgs::CameraInfoConstPtr &  cameraInfoRight 
)
inlineprivate

Definition at line 160 of file stereo_sync.cpp.

◆ onInit()

virtual void rtabmap_sync::StereoSync::onInit ( )
inlineprivatevirtual

Implements nodelet::Nodelet.

Definition at line 75 of file stereo_sync.cpp.

Member Data Documentation

◆ approxSync_

message_filters::Synchronizer<MyApproxSyncPolicy>* rtabmap_sync::StereoSync::approxSync_
private

Definition at line 254 of file stereo_sync.cpp.

◆ cameraInfoLeftSub_

message_filters::Subscriber<sensor_msgs::CameraInfo> rtabmap_sync::StereoSync::cameraInfoLeftSub_
private

Definition at line 250 of file stereo_sync.cpp.

◆ cameraInfoRightSub_

message_filters::Subscriber<sensor_msgs::CameraInfo> rtabmap_sync::StereoSync::cameraInfoRightSub_
private

Definition at line 251 of file stereo_sync.cpp.

◆ compressedRate_

double rtabmap_sync::StereoSync::compressedRate_
private

Definition at line 242 of file stereo_sync.cpp.

◆ exactSync_

message_filters::Synchronizer<MyExactSyncPolicy>* rtabmap_sync::StereoSync::exactSync_
private

Definition at line 257 of file stereo_sync.cpp.

◆ imageLeftSub_

image_transport::SubscriberFilter rtabmap_sync::StereoSync::imageLeftSub_
private

Definition at line 248 of file stereo_sync.cpp.

◆ imageRightSub_

image_transport::SubscriberFilter rtabmap_sync::StereoSync::imageRightSub_
private

Definition at line 249 of file stereo_sync.cpp.

◆ lastCompressedPublished_

ros::Time rtabmap_sync::StereoSync::lastCompressedPublished_
private

Definition at line 243 of file stereo_sync.cpp.

◆ rgbdImageCompressedPub_

ros::Publisher rtabmap_sync::StereoSync::rgbdImageCompressedPub_
private

Definition at line 246 of file stereo_sync.cpp.

◆ rgbdImagePub_

ros::Publisher rtabmap_sync::StereoSync::rgbdImagePub_
private

Definition at line 245 of file stereo_sync.cpp.

◆ syncDiagnostic_

std::unique_ptr<SyncDiagnostic> rtabmap_sync::StereoSync::syncDiagnostic_
private

Definition at line 259 of file stereo_sync.cpp.


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


rtabmap_sync
Author(s): Mathieu Labbe
autogenerated on Mon Apr 28 2025 02:39:12