Public Member Functions | Private Attributes | List of all members
SaveObjectsExample Class Reference

Public Member Functions

void mapDataCallback (const rtabmap_ros::MapDataConstPtr &msg)
 
void objectsDetectedCallback (const find_object_2d::ObjectsStampedConstPtr &msg)
 
 SaveObjectsExample ()
 

Private Attributes

std::string frameId_
 
std::map< double, int > nodeStamps_
 
std::map< int, cv::Mat > nodeToObjects_
 
std::string objFramePrefix_
 
ros::Publisher pub_
 
ros::Publisher pubMarkers_
 
ros::Subscriber subObjects_
 
ros::Subscriber subsMapData_
 
tf::TransformListener tfListener_
 

Detailed Description

Definition at line 38 of file SaveObjectsExample.cpp.

Constructor & Destructor Documentation

◆ SaveObjectsExample()

SaveObjectsExample::SaveObjectsExample ( )
inline

Definition at line 41 of file SaveObjectsExample.cpp.

Member Function Documentation

◆ mapDataCallback()

void SaveObjectsExample::mapDataCallback ( const rtabmap_ros::MapDataConstPtr &  msg)
inline

Definition at line 100 of file SaveObjectsExample.cpp.

◆ objectsDetectedCallback()

void SaveObjectsExample::objectsDetectedCallback ( const find_object_2d::ObjectsStampedConstPtr &  msg)
inline

Definition at line 57 of file SaveObjectsExample.cpp.

Member Data Documentation

◆ frameId_

std::string SaveObjectsExample::frameId_
private

Definition at line 262 of file SaveObjectsExample.cpp.

◆ nodeStamps_

std::map<double, int> SaveObjectsExample::nodeStamps_
private

Definition at line 261 of file SaveObjectsExample.cpp.

◆ nodeToObjects_

std::map<int, cv::Mat> SaveObjectsExample::nodeToObjects_
private

Definition at line 260 of file SaveObjectsExample.cpp.

◆ objFramePrefix_

std::string SaveObjectsExample::objFramePrefix_
private

Definition at line 254 of file SaveObjectsExample.cpp.

◆ pub_

ros::Publisher SaveObjectsExample::pub_
private

Definition at line 258 of file SaveObjectsExample.cpp.

◆ pubMarkers_

ros::Publisher SaveObjectsExample::pubMarkers_
private

Definition at line 259 of file SaveObjectsExample.cpp.

◆ subObjects_

ros::Subscriber SaveObjectsExample::subObjects_
private

Definition at line 255 of file SaveObjectsExample.cpp.

◆ subsMapData_

ros::Subscriber SaveObjectsExample::subsMapData_
private

Definition at line 256 of file SaveObjectsExample.cpp.

◆ tfListener_

tf::TransformListener SaveObjectsExample::tfListener_
private

Definition at line 257 of file SaveObjectsExample.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