diff --git a/src/iri_point_cloud_hole_detection_alg_node.cpp b/src/iri_point_cloud_hole_detection_alg_node.cpp index 9e069067c10b0ac47adbbf08c64650be58a47d20..05f78983de69a5e64e42bd27b0c23b2aa4034af1 100644 --- a/src/iri_point_cloud_hole_detection_alg_node.cpp +++ b/src/iri_point_cloud_hole_detection_alg_node.cpp @@ -134,11 +134,11 @@ void *PointCloudHoleDetectionAlgNodelet::spin_thread(void *param) { PointCloudHoleDetectionAlgNodelet *nodelet=(PointCloudHoleDetectionAlgNodelet *)param; - nodelet->node->spin(); + nodelet->node->nodelet_spin(); pthread_exit(NULL); } // parameters are: package, class name, class type, base class type -PLUGINLIB_DECLARE_CLASS(iri_point_cloud_hole_detection, PointCloudHoleDetectionAlgNodelet, PointCloudHoleDetectionAlgNodelet, nodelet::Nodelet); +PLUGINLIB_EXPORT_CLASS(PointCloudHoleDetectionAlgNodelet, nodelet::Nodelet);