diff --git a/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp b/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp index cbea368..2959703 100644 --- a/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp +++ b/src/perception/velodyne_cloud_separator/src/velodyne_cloud_separator.cpp @@ -208,7 +208,7 @@ void VelodyneCloudSeparator::update() bool VelodyneCloudSeparator::try_subscribe_pc() { - auto pc_msg = pc_sub_->getData(); + auto pc_msg = pc_sub_->get_data(); if (!pc_msg) return false; try { pc_ = pcl::PointCloud::Ptr(new pcl::PointCloud);