47 srv_ = boost::make_shared <dynamic_reconfigure::Server<pcl_ros::RadiusOutlierRemovalConfig> > (nh);
49 srv_->setCallback (
f);
58 boost::mutex::scoped_lock lock (mutex_);
60 if (impl_.getMinNeighborsInRadius () != config.min_neighbors)
62 impl_.setMinNeighborsInRadius (config.min_neighbors);
63 NODELET_DEBUG (
"[%s::config_callback] Setting the number of neighbors in radius: %d.",
getName ().c_str (), config.min_neighbors);
66 if (impl_.getRadiusSearch () != config.radius_search)
68 impl_.setRadiusSearch (config.radius_search);
69 NODELET_DEBUG (
"[%s::config_callback] Setting the radius to search neighbors: %f.",
getName ().c_str (), config.radius_search);