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

Public Member Functions

 RgbSync ()
 
virtual ~RgbSync ()
 
- 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::CameraInfo > MyApproxSyncPolicy
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::CameraInfo > MyExactSyncPolicy
 

Private Member Functions

void callback (const sensor_msgs::ImageConstPtr &image, const sensor_msgs::CameraInfoConstPtr &cameraInfo)
 
virtual void onInit ()
 
void warningLoop (const std::string &subscribedTopicsMsg, bool approxSync)
 

Private Attributes

message_filters::Synchronizer< MyApproxSyncPolicy > * approxSync_
 
bool callbackCalled_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > cameraInfoSub_
 
double compressedRate_
 
message_filters::Synchronizer< MyExactSyncPolicy > * exactSync_
 
image_transport::SubscriberFilter imageSub_
 
ros::Time lastCompressedPublished_
 
ros::Publisher rgbdImageCompressedPub_
 
ros::Publisher rgbdImagePub_
 
boost::thread * warningThread_
 

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 57 of file rgb_sync.cpp.

Member Typedef Documentation

◆ MyApproxSyncPolicy

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

Definition at line 225 of file rgb_sync.cpp.

◆ MyExactSyncPolicy

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

Definition at line 228 of file rgb_sync.cpp.

Constructor & Destructor Documentation

◆ RgbSync()

rtabmap_ros::RgbSync::RgbSync ( )
inline

Definition at line 60 of file rgb_sync.cpp.

◆ ~RgbSync()

virtual rtabmap_ros::RgbSync::~RgbSync ( )
inlinevirtual

Definition at line 68 of file rgb_sync.cpp.

Member Function Documentation

◆ callback()

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

Definition at line 157 of file rgb_sync.cpp.

◆ onInit()

virtual void rtabmap_ros::RgbSync::onInit ( )
inlineprivatevirtual

Implements nodelet::Nodelet.

Definition at line 84 of file rgb_sync.cpp.

◆ warningLoop()

void rtabmap_ros::RgbSync::warningLoop ( const std::string subscribedTopicsMsg,
bool  approxSync 
)
inlineprivate

Definition at line 138 of file rgb_sync.cpp.

Member Data Documentation

◆ approxSync_

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

Definition at line 226 of file rgb_sync.cpp.

◆ callbackCalled_

bool rtabmap_ros::RgbSync::callbackCalled_
private

Definition at line 216 of file rgb_sync.cpp.

◆ cameraInfoSub_

message_filters::Subscriber<sensor_msgs::CameraInfo> rtabmap_ros::RgbSync::cameraInfoSub_
private

Definition at line 223 of file rgb_sync.cpp.

◆ compressedRate_

double rtabmap_ros::RgbSync::compressedRate_
private

Definition at line 214 of file rgb_sync.cpp.

◆ exactSync_

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

Definition at line 229 of file rgb_sync.cpp.

◆ imageSub_

image_transport::SubscriberFilter rtabmap_ros::RgbSync::imageSub_
private

Definition at line 222 of file rgb_sync.cpp.

◆ lastCompressedPublished_

ros::Time rtabmap_ros::RgbSync::lastCompressedPublished_
private

Definition at line 217 of file rgb_sync.cpp.

◆ rgbdImageCompressedPub_

ros::Publisher rtabmap_ros::RgbSync::rgbdImageCompressedPub_
private

Definition at line 220 of file rgb_sync.cpp.

◆ rgbdImagePub_

ros::Publisher rtabmap_ros::RgbSync::rgbdImagePub_
private

Definition at line 219 of file rgb_sync.cpp.

◆ warningThread_

boost::thread* rtabmap_ros::RgbSync::warningThread_
private

Definition at line 215 of file rgb_sync.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