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

Public Member Functions

 MergeClouds (void)
 
 ~MergeClouds (void)
 

Private Member Functions

void onTimer (const ros::TimerEvent &e)
 
void processCloud (const sensor_msgs::PointCloudConstPtr &cloud, sensor_msgs::PointCloud &cloudOut)
 
void publishClouds (void)
 
void receiveCloud1 (const sensor_msgs::PointCloudConstPtr &cloud)
 
void receiveCloud2 (const sensor_msgs::PointCloudConstPtr &cloud)
 

Private Attributes

sensor_msgs::PointCloud cloud1_
 
sensor_msgs::PointCloud cloud2_
 
ros::Publisher cloudOut_
 
bool haveTimer_
 
boost::mutex lock1_
 
boost::mutex lock2_
 
double max_freq_
 
bool newCloud1_
 
bool newCloud2_
 
ros::NodeHandle nh_
 
std::string output_frame_
 
message_filters::Subscriber< sensor_msgs::PointCloud > sub1_
 
message_filters::Subscriber< sensor_msgs::PointCloud > sub2_
 
tf::TransformListener tf_
 
boost::shared_ptr< tf::MessageFilter< sensor_msgs::PointCloud > > tf_filter1_
 
boost::shared_ptr< tf::MessageFilter< sensor_msgs::PointCloud > > tf_filter2_
 
ros::Timer timer_
 

Detailed Description

Author
Ioan Sucan

MergeClouds is a node capable of combining point clouds, potentially from different sensors

Definition at line 55 of file merge_clouds.cpp.

Constructor & Destructor Documentation

MergeClouds::MergeClouds ( void  )
inline

Definition at line 59 of file merge_clouds.cpp.

MergeClouds::~MergeClouds ( void  )
inline

Definition at line 90 of file merge_clouds.cpp.

Member Function Documentation

void MergeClouds::onTimer ( const ros::TimerEvent e)
inlineprivate

Definition at line 97 of file merge_clouds.cpp.

void MergeClouds::processCloud ( const sensor_msgs::PointCloudConstPtr &  cloud,
sensor_msgs::PointCloud &  cloudOut 
)
inlineprivate

Definition at line 165 of file merge_clouds.cpp.

void MergeClouds::publishClouds ( void  )
inlineprivate

Definition at line 103 of file merge_clouds.cpp.

void MergeClouds::receiveCloud1 ( const sensor_msgs::PointCloudConstPtr &  cloud)
inlineprivate

Definition at line 145 of file merge_clouds.cpp.

void MergeClouds::receiveCloud2 ( const sensor_msgs::PointCloudConstPtr &  cloud)
inlineprivate

Definition at line 155 of file merge_clouds.cpp.

Member Data Documentation

sensor_msgs::PointCloud MergeClouds::cloud1_
private

Definition at line 190 of file merge_clouds.cpp.

sensor_msgs::PointCloud MergeClouds::cloud2_
private

Definition at line 191 of file merge_clouds.cpp.

ros::Publisher MergeClouds::cloudOut_
private

Definition at line 179 of file merge_clouds.cpp.

bool MergeClouds::haveTimer_
private

Definition at line 177 of file merge_clouds.cpp.

boost::mutex MergeClouds::lock1_
private

Definition at line 192 of file merge_clouds.cpp.

boost::mutex MergeClouds::lock2_
private

Definition at line 193 of file merge_clouds.cpp.

double MergeClouds::max_freq_
private

Definition at line 180 of file merge_clouds.cpp.

bool MergeClouds::newCloud1_
private

Definition at line 188 of file merge_clouds.cpp.

bool MergeClouds::newCloud2_
private

Definition at line 189 of file merge_clouds.cpp.

ros::NodeHandle MergeClouds::nh_
private

Definition at line 173 of file merge_clouds.cpp.

std::string MergeClouds::output_frame_
private

Definition at line 181 of file merge_clouds.cpp.

message_filters::Subscriber<sensor_msgs::PointCloud> MergeClouds::sub1_
private

Definition at line 183 of file merge_clouds.cpp.

message_filters::Subscriber<sensor_msgs::PointCloud> MergeClouds::sub2_
private

Definition at line 184 of file merge_clouds.cpp.

tf::TransformListener MergeClouds::tf_
private

Definition at line 174 of file merge_clouds.cpp.

boost::shared_ptr<tf::MessageFilter<sensor_msgs::PointCloud> > MergeClouds::tf_filter1_
private

Definition at line 185 of file merge_clouds.cpp.

boost::shared_ptr<tf::MessageFilter<sensor_msgs::PointCloud> > MergeClouds::tf_filter2_
private

Definition at line 186 of file merge_clouds.cpp.

ros::Timer MergeClouds::timer_
private

Definition at line 176 of file merge_clouds.cpp.


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


laser_assembler
Author(s): Vijay Pradeep
autogenerated on Thu Jun 27 2019 19:56:21