35 #define BOOST_PARAMETER_MAX_ARITY 7
45 DiagnosticNodelet::onInit();
46 pub_ = advertise<PCLIndicesMsg>(*pnh_,
"output", 1);
62 vital_checker_->poke();
63 pcl::PointCloud<pcl::PointXYZ>::Ptr pc(
new pcl::PointCloud<pcl::PointXYZ>);
66 for (
size_t i = 0;
i < pc->points.size();
i++)
68 if (!isnan(pc->points[
i].x) && !isnan(pc->points[
i].y) && !isnan(pc->points[
i].z))
70 indices_msg.indices.push_back(
i);
73 indices_msg.header = cloud_msg->header;