LazyNodelet for features/*

This commit is contained in:
Kentaro Wada
2017-08-22 17:40:39 +00:00
committed by Paul Bovbel
parent c4c7f30977
commit 9ac65d9d20
14 changed files with 90 additions and 29 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}
+1 -1
View File
@@ -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);
}