LazyNodelet for features/*
This commit is contained in:
committed by
Paul Bovbel
parent
c4c7f30977
commit
9ac65d9d20
@@ -65,7 +65,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -165,6 +165,10 @@ namespace pcl_ros
|
||||
/** \brief Nodelet initialization routine. */
|
||||
virtual void onInit ();
|
||||
|
||||
/** \brief NodeletLazy connection routine. */
|
||||
virtual void subscribe ();
|
||||
virtual void unsubscribe ();
|
||||
|
||||
/** \brief Input point cloud callback. Used when \a use_indices and \a use_surface are set.
|
||||
* \param cloud the pointer to the input point cloud
|
||||
* \param cloud_surface the pointer to the surface point cloud
|
||||
@@ -224,6 +228,10 @@ namespace pcl_ros
|
||||
/** \brief Nodelet initialization routine. */
|
||||
virtual void onInit ();
|
||||
|
||||
/** \brief NodeletLazy connection routine. */
|
||||
virtual void subscribe ();
|
||||
virtual void unsubscribe ();
|
||||
|
||||
/** \brief Input point cloud callback. Used when \a use_indices and \a use_surface are set.
|
||||
* \param cloud the pointer to the input point cloud
|
||||
* \param cloud_normals the pointer to the input point cloud normals
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloud> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloud> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ namespace pcl_ros
|
||||
childInit (ros::NodeHandle &nh)
|
||||
{
|
||||
// Create the output publisher
|
||||
pub_output_ = nh.advertise<PointCloudOut> ("output", max_queue_size_);
|
||||
pub_output_ = advertise<PointCloudOut> (nh, "output", max_queue_size_);
|
||||
return (true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user